Home
last modified time | relevance | path

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

/busybox-1.35.0/libbb/
Dget_last_path_component.c27 char *slash = strrchr(path, '/'); in bb_get_last_path_component_nostrip() local
29 if (!slash || (slash == path && !slash[1])) in bb_get_last_path_component_nostrip()
32 return slash + 1; in bb_get_last_path_component_nostrip()
43 char *slash = last_char_is(path, '/'); in bb_get_last_path_component_strip() local
45 if (slash) in bb_get_last_path_component_strip()
46 while (*slash == '/' && slash != path) in bb_get_last_path_component_strip()
47 *slash-- = '\0'; in bb_get_last_path_component_strip()
/busybox-1.35.0/networking/libiproute/
Dutils.c144 char *slash; in get_prefix_1() local
158 slash = strchr(arg, '/'); in get_prefix_1()
159 if (slash) in get_prefix_1()
160 *slash = '\0'; in get_prefix_1()
164 if (slash) { in get_prefix_1()
169 plen = bb_strtou(slash + 1, NULL, 0); in get_prefix_1()
171 && get_addr_1(&netmask_pfx, slash + 1, family) != 0 in get_prefix_1()
194 if (slash) in get_prefix_1()
195 *slash = '/'; in get_prefix_1()
Diprule.c271 char *slash; in iprule_modify() local
274 slash = strchr(*argv, '/'); in iprule_modify()
275 if (slash) in iprule_modify()
276 *slash = '\0'; in iprule_modify()
279 if (slash) { in iprule_modify()
280 fwmask = get_u32(slash + 1, "fwmask"); in iprule_modify()
/busybox-1.35.0/archival/libarchive/
Ddata_extract_all.c70 char *slash = strrchr(dst_name, '/'); in data_extract_all() local
71 if (slash) { in data_extract_all()
72 *slash = '\0'; in data_extract_all()
74 *slash = '/'; in data_extract_all()
/busybox-1.35.0/procps/
Dsysctl.c59 char *cptr, *last_good, *end, *slash; in sysctl_dots_to_slashes() local
64 slash = strchrnul(name, '/'); in sysctl_dots_to_slashes()
65 if (slash < end in sysctl_dots_to_slashes()
66 && strchrnul(name, '.') < slash in sysctl_dots_to_slashes()
/busybox-1.35.0/editors/
Dpatch_bbox.c156 char *slash = strrchr(new_filename, '/'); in patch_main() local
157 if (slash) { in patch_main()
159 *slash = '\0'; in patch_main()
161 *slash = '/'; in patch_main()
Ddiff.c1046 const char *slash = strrchr(file[!dir], '/'); in diff_main() local
1047 file[dir] = concat_path_file(file[dir], slash ? slash + 1 : file[!dir]); in diff_main()
/busybox-1.35.0/shell/hush_test/hush-test2/
Dstrops1.tests5 # wildcards can match a slash
/busybox-1.35.0/shell/ash_test/ash-vars/
Dvar_bash2.tests14 # empty replacement - 2nd slash can be omitted
/busybox-1.35.0/shell/hush_test/hush-vars/
Dvar_bash2.tests14 # empty replacement - 2nd slash can be omitted
/busybox-1.35.0/scripts/kconfig/
Dconfdata.c351 char *slash; in conf_write() local
357 } else if ((slash = strrchr(name, '/'))) { in conf_write()
358 int size = slash - name + 1; in conf_write()
361 if (slash[1]) in conf_write()
362 basename = slash + 1; in conf_write()
/busybox-1.35.0/networking/udhcp/
Dcommon.c676 char *slash = strchr(val, '/'); in udhcp_str2optset() local
677 if (slash) { in udhcp_str2optset()
678 *slash = '\0'; in udhcp_str2optset()
680 buffer[0] = mask = bb_strtou(slash + 1, NULL, 10); in udhcp_str2optset()
/busybox-1.35.0/util-linux/
Dmdev.c766 char *slash = strrchr(node_name, '/'); in make_device() local
767 if (slash) { in make_device()
768 *slash = '\0'; in make_device()
770 *slash = '/'; in make_device()
/busybox-1.35.0/networking/
Dtftp.c844 const char *slash = strrchr(remote_file, '/'); in tftp_main() local
845 local_file = slash ? slash + 1 : remote_file; in tftp_main()
/busybox-1.35.0/
DMakefile1264 zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@)))
1265 build-dir = $(KBUILD_EXTMOD)$(if $(zap-slash),/$(zap-slash))
/busybox-1.35.0/docs/
Dunicode_UTF-8-test.txt202 representations of the ASCII character slash ("/") should be rejected |
204 a replacement character. If you see a slash below, you do not have a |
Dstyle-guide.txt58 \t * except for the opening '/*' line where the slash
/busybox-1.35.0/examples/var_service/getty_tty1/
Dunicode_cyrillic.keymap87 keycode 53 = slash question slash question Delete …
/busybox-1.35.0/examples/var_service/
DREADME_distro_proposal.txt242 If DIR has no slash and is not "." or "..", it is assumed to be