Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 25 of 102) sorted by relevance

12345

/openbmc/linux/tools/lib/subcmd/
H A Dexec-cmd.c91 const char *slash; in extract_argv0_path() local
95 slash = argv0 + strlen(argv0); in extract_argv0_path()
97 while (argv0 <= slash && !is_dir_sep(*slash)) in extract_argv0_path()
98 slash--; in extract_argv0_path()
100 if (slash >= argv0) { in extract_argv0_path()
101 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
102 return argv0_path ? slash + 1 : NULL; in extract_argv0_path()
/openbmc/linux/arch/um/drivers/
H A Dcow_user.c148 char save_cwd[256], *slash; in absolutize() local
156 slash = strrchr(from, '/'); in absolutize()
157 if (slash != NULL) { in absolutize()
158 *slash = '\0'; in absolutize()
160 *slash = '/'; in absolutize()
165 *slash = '/'; in absolutize()
172 if (strlen(slash) + 1 > remaining) { in absolutize()
177 strcat(to, slash); in absolutize()
/openbmc/linux/block/
H A Dearly-lookup.c51 char *slash; in devt_from_partuuid() local
55 slash = strchr(uuid_str, '/'); in devt_from_partuuid()
57 if (slash) { in devt_from_partuuid()
61 if (sscanf(slash + 1, "PARTNROFF=%d%c", &offset, &c) != 1) in devt_from_partuuid()
63 cmp.len = slash - uuid_str; in devt_from_partuuid()
/openbmc/u-boot/scripts/dtc/
H A Dsrcpos.c39 const char *slash = strrchr(path, '/'); in get_dirname() local
41 if (slash) { in get_dirname()
42 int len = slash - path; in get_dirname()
/openbmc/linux/kernel/trace/
H A Dtrace_eprobe.c131 const char *slash; in eprobe_dyn_event_match() local
165 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
166 if (!slash) in eprobe_dyn_event_match()
167 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
168 if (!slash) in eprobe_dyn_event_match()
171 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
173 if (strcmp(ep->event_name, slash + 1)) in eprobe_dyn_event_match()
H A Dtrace_probe.c244 const char *slash, *event = *pevent; in traceprobe_parse_event_name() local
247 slash = strchr(event, '/'); in traceprobe_parse_event_name()
248 if (!slash) in traceprobe_parse_event_name()
249 slash = strchr(event, '.'); in traceprobe_parse_event_name()
251 if (slash) { in traceprobe_parse_event_name()
252 if (slash == event) { in traceprobe_parse_event_name()
256 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
260 strscpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
266 *pevent = slash + 1; in traceprobe_parse_event_name()
267 offset += slash - event + 1; in traceprobe_parse_event_name()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin/
H A D7a75d76c2d6bfb917f30ced8f5c0a9a4157f7819.patch20 - self.assertMinified('x.replace(/\//, "_")// slash to underscore',
22 + self.assertMinified('x.replace(/\\//, "_")// slash to underscore',
/openbmc/linux/scripts/dtc/
H A Dsrcpos.c28 const char *slash = strrchr(path, '/'); in get_dirname() local
30 if (slash) { in get_dirname()
31 int len = slash - path; in get_dirname()
H A Dlivetree.c596 const char *slash = strchr(label, '/'); in get_node_by_ref() local
599 if (slash) { in get_node_by_ref()
600 buf = xstrndup(label, slash - label); in get_node_by_ref()
602 path = slash + 1; in get_node_by_ref()
/openbmc/qemu/hw/i386/kvm/
H A Dxenstore_impl.c602 char *slash; in xs_node_walk() local
604 slash = strchr(child_name, '/'); in xs_node_walk()
605 if (slash) { in xs_node_walk()
606 *slash = '\0'; in xs_node_walk()
1619 char *slash = strchr(path, '/'); in lookup_node() local
1626 if (slash) { in lookup_node()
1627 *slash = '\0'; in lookup_node()
1634 if (!slash) { in lookup_node()
1638 *slash = '/'; in lookup_node()
1642 return lookup_node(child, slash + 1); in lookup_node()
/openbmc/u-boot/cmd/
H A Dpxe.c743 char *f1, *f2, *f3, *f4, *slash; in label_boot() local
766 slash = "./"; in label_boot()
768 slash = "/"; in label_boot()
770 slash = ""; in label_boot()
772 len = strlen(label->fdtdir) + strlen(slash) + in label_boot()
782 label->fdtdir, slash, f1, f2, f3, f4); in label_boot()
/openbmc/u-boot/scripts/kconfig/
H A Dconfdata.c752 char *slash; in conf_write() local
758 } else if ((slash = strrchr(name, '/'))) { in conf_write()
759 int size = slash - name + 1; in conf_write()
762 if (slash[1]) in conf_write()
763 basename = slash + 1; in conf_write()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/webm/libvpx/
H A Dlibvpx-configure-support-blank-prefix.patch36 + # Strip trailing slash
/openbmc/openbmc/meta-openembedded/meta-networking/
H A DMAINTAINERS19 A trailing slash includes all files and subdirectory files.
/openbmc/openbmc/poky/meta/recipes-multimedia/flac/
H A Dflac_1.4.3.bb41 # there is also one root path without trailing slash
/openbmc/docs/designs/
H A Dbinarystore-via-blobs.md67 A "base id" begins and ends with a forward slash. It is analogous to a Unix
71 A "file id" begins with a forward slash but must not have a slash at the end,
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-0.42-tftpboot.patch54 @@ -30,5 +30,5 @@ rg \\ / # Convert backslashes to slash
/openbmc/linux/tools/perf/util/
H A Dbuild-id.c564 bool slash = is_kallsyms || is_vdso; in build_id_cache__cachedir() local
566 if (!slash) in build_id_cache__cachedir()
569 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
/openbmc/openbmc/poky/documentation/migration-guides/
H A Dmigration-5.0.rst184 See :ref:`virtual-slash <qa-check-virtual-slash>` for details.
/openbmc/openbmc-test-automation/
H A DCONTRIBUTING.md222 "etc.". Separate such values with a slash.
452 dir_path variables to ensure that they contain a trailing slash. If we
455 trailing slash. Therefore, they can safely do this kind of thing:
808 variables to ensure that they contain a trailing slash. If we follow that
810 program, the programmer can count on the value having a trailing slash.
/openbmc/docs/
H A Drest-api.md33 name, with no trailing slash. For example:
67 - When a path has a trailing-slash, the response will list the sub objects of
68 the URL. For example, using the same object path as above, but adding a slash:
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/libtool/
H A D0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch39 # Strip any trailing slash from the destination.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/vboxguestdrivers/
H A Dvboxguestdrivers_7.1.4.bb57 …_DIR must be a kernel build folder and end with /build without a trailing slash, or KERN_VER must …
/openbmc/qemu/pc-bios/keymaps/
H A Dsv202 slash 0x8 shift
/openbmc/qemu/block/
H A Dnvme.c913 const char *slash = strchr(tmp, '/'); in nvme_parse_filename() local
914 if (!slash) { in nvme_parse_filename()
918 device = g_strndup(tmp, slash - tmp); in nvme_parse_filename()
921 namespace = slash + 1; in nvme_parse_filename()

12345