Home
last modified time | relevance | path

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

12345678910>>...13

/external/openssh/openbsd-compat/
Dfnmatch.c154 const int slash = !!(flags & FNM_PATHNAME); in fnmatch_ch() local
188 if (slash && (**pattern == '/')) in fnmatch_ch()
221 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch()
260 if (!**string || (slash && (**string == '/'))) in fnmatch_ch()
279 (slash && ((**string == '/') || (**pattern == '/')))) in fnmatch_ch()
293 const int slash = !!(flags & FNM_PATHNAME); in fnmatch() local
312 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in fnmatch()
314 if (slash && (*pattern == '/') && (*string == '/')) { in fnmatch()
338 if (slash) { in fnmatch()
355 if (slash && ((*pattern == '/') || in fnmatch()
[all …]
/external/e2fsprogs/util/
Dlibecho.c42 char *slash; in echo_files() local
49 while((slash = strrchr(f, '/')) != NULL) in echo_files()
50 *slash = '\\'; in echo_files()
54 slash = strrchr(filepath, '\\'); in echo_files()
56 if (slash) { in echo_files()
57 slash++; in echo_files()
58 *slash = 0; in echo_files()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java101 int slash = hop.indexOf('/',colon); in HopImpl() local
106 if (slash>0) { in HopImpl()
107 portstr = hop.substring(colon+1,slash); in HopImpl()
108 this.transport = hop.substring(slash+1); in HopImpl()
119 if (slash>0) { in HopImpl()
120 this.host = hop.substring(0,slash); in HopImpl()
121 this.transport = hop.substring(slash+1); in HopImpl()
/external/iproute2/tc/
Df_flower.c88 char addr[ETH_ALEN], *slash; in flower_parse_eth_addr() local
90 slash = strchr(str, '/'); in flower_parse_eth_addr()
91 if (slash) in flower_parse_eth_addr()
92 *slash = '\0'; in flower_parse_eth_addr()
99 if (slash) { in flower_parse_eth_addr()
102 if (!get_unsigned(&bits, slash + 1, 10)) { in flower_parse_eth_addr()
111 ret = ll_addr_a2n(addr, sizeof(addr), slash + 1); in flower_parse_eth_addr()
122 if (slash) in flower_parse_eth_addr()
123 *slash = '/'; in flower_parse_eth_addr()
321 char *slash; in flower_parse_u8() local
[all …]
Df_fw.c51 char *slash; in fw_parse_opt() local
53 if ((slash = strchr(handle, '/')) != NULL) in fw_parse_opt()
54 *slash = '\0'; in fw_parse_opt()
59 if (slash) { in fw_parse_opt()
60 if (get_u32(&mask, slash+1, 0)) { in fw_parse_opt()
/external/google-breakpad/src/processor/
Dpathname_stripper.cc42 string::size_type slash = path.rfind('/'); in File() local
46 if (slash != string::npos && in File()
47 (backslash == string::npos || slash > backslash)) { in File()
48 file_start = slash + 1; in File()
/external/python/cpython3/Mac/Tools/
Dpythonw.c174 char* slash = strrchr(path, '/'); in main() local
175 if (slash) { in main()
177 replaced = slash[1]; in main()
178 slash[1] = 0; in main()
182 slash[1] = replaced; in main()
183 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
/external/fonttools/Tests/feaLib/data/
Dspec5d1.fea5 sub [one one.oldstyle] [slash fraction] [two two.oldstyle] by onehalf;
15 sub one slash two by onehalf;
16 sub one.oldstyle slash two by onehalf;
19 sub one slash two.oldstyle by onehalf;
20 sub one.oldstyle slash two.oldstyle by onehalf;
Dfeature_aalt.fea16 sub one slash four by onequarter;
17 sub one slash two by onehalf;
18 sub three slash four by threequarters;
/external/iproute2/rdma/
Dutils.c55 char *slash; in get_port_from_argv() local
57 slash = strchr(rd_argv(rd), '/'); in get_port_from_argv()
59 return slash ? atoi(slash + 1) : 0; in get_port_from_argv()
254 char *slash; in dev_map_lookup() local
258 slash = strrchr(dev_name, '/'); in dev_map_lookup()
259 if (slash) in dev_map_lookup()
260 *slash = '\0'; in dev_map_lookup()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLanguage.java132 final int slash = languageTag.indexOf('-'); in setLanguageTag() local
133 if (slash>=0) { in setLanguageTag()
134 … this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); in setLanguageTag()
DProtocol.java105 int slash = name_and_version.indexOf('/'); in setProtocol() local
106 if (slash>0) { in setProtocol()
107 this.protocolName = name_and_version.substring(0,slash); in setProtocol()
108 this.protocolVersion = name_and_version.substring( slash+1 ); in setProtocol()
DStatusLine.java172 boolean slash = false; in getVersionMajor()
175 slash = false; in getVersionMajor()
176 if (slash) { in getVersionMajor()
183 slash = true; in getVersionMajor()
/external/iptables/extensions/
Dlibipt_icmp.c119 char *slash; in parse_icmp() local
124 slash = strchr(buffer, '/'); in parse_icmp()
126 if (slash) in parse_icmp()
127 *slash = '\0'; in parse_icmp()
133 if (slash) { in parse_icmp()
134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
137 slash+1); in parse_icmp()
Dlibip6t_icmp6.c99 char *slash; in parse_icmpv6() local
104 slash = strchr(buffer, '/'); in parse_icmpv6()
106 if (slash) in parse_icmpv6()
107 *slash = '\0'; in parse_icmpv6()
113 if (slash) { in parse_icmpv6()
114 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
117 slash+1); in parse_icmpv6()
/external/libusb/libusb/os/
Dlinux_netlink.c192 const char *tmp, *slash; in linux_netlink_parse() local
251 slash = strrchr(tmp, '/'); in linux_netlink_parse()
252 if (!slash) in linux_netlink_parse()
255 *busnum = (uint8_t)(strtoul(slash - 3, NULL, 10) & 0xff); in linux_netlink_parse()
261 *devaddr = (uint8_t)(strtoul(slash + 1, NULL, 10) & 0xff); in linux_netlink_parse()
274 slash = strrchr(tmp, '/'); in linux_netlink_parse()
275 if (slash) in linux_netlink_parse()
276 *sys_name = slash + 1; in linux_netlink_parse()
/external/curl/lib/
Dsmb.c248 char *slash; in smb_connect() local
266 slash = strchr(conn->user, '/'); in smb_connect()
267 if(!slash) in smb_connect()
268 slash = strchr(conn->user, '\\'); in smb_connect()
270 if(slash) { in smb_connect()
271 smbc->user = slash + 1; in smb_connect()
275 smbc->domain[slash - conn->user] = 0; in smb_connect()
963 char *slash; in smb_parse_url_path() local
977 slash = strchr(smbc->share, '/'); in smb_parse_url_path()
978 if(!slash) in smb_parse_url_path()
[all …]
Dcurl_ntlm_wb.c121 char *slash, *domain = NULL; in ntlm_wb_init() local
164 slash = strpbrk(username, "\\/"); in ntlm_wb_init()
165 if(slash) { in ntlm_wb_init()
169 slash = domain + (slash - username); in ntlm_wb_init()
170 *slash = '\0'; in ntlm_wb_init()
171 username = username + (slash - domain) + 1; in ntlm_wb_init()
/external/iproute2/ip/
Diprule.c456 char *slash; in iprule_list_flush_or_save() local
460 slash = strchr(*argv, '/'); in iprule_list_flush_or_save()
461 if (slash != NULL) in iprule_list_flush_or_save()
462 *slash = '\0'; in iprule_list_flush_or_save()
466 if (slash) { in iprule_list_flush_or_save()
467 if (get_u32(&fwmask, slash+1, 0)) in iprule_list_flush_or_save()
469 slash+1); in iprule_list_flush_or_save()
640 char *slash; in iprule_modify() local
645 slash = strchr(*argv, '/'); in iprule_modify()
646 if (slash != NULL) in iprule_modify()
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DPackageRemapper.java62 int slash = s.lastIndexOf('/'); in mapPath() local
64 if (slash < 0) { in mapPath()
68 end = s.substring(slash + 1); in mapPath()
69 s = s.substring(0, slash + 1) + RESOURCE_SUFFIX; in mapPath()
/external/llvm-project/openmp/runtime/src/
Dkmp_debug.cpp46 char const *slash = strrchr(file, '/'); in __kmp_debug_assert() local
47 if (slash != NULL) { in __kmp_debug_assert()
48 file = slash + 1; in __kmp_debug_assert()
/external/OpenCL-CTS/test_conformance/spirv_new/
Dmain.cpp27 const std::string slash = "\\"; variable
29 const std::string slash = "/"; variable
63 std::string full_name_str = spvBinariesPath + slash + file_name + spvExt + gAddrWidth; in readSPIRV()
102 std::string defaultScript = std::string("..") + slash + std::string("spv_to_binary.py"); in offline_get_program_with_il()
103 std::string outputFilename = spvBinariesPath + slash + std::string(prog_name); in offline_get_program_with_il()
/external/python/cpython3/Modules/
Dsyslogmodule.c73 Py_ssize_t slash; in syslog_get_argv() local
98 slash = PyUnicode_FindChar(scriptobj, SEP, 0, scriptlen, -1); in syslog_get_argv()
99 if (slash == -2) in syslog_get_argv()
101 if (slash != -1) { in syslog_get_argv()
102 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
/external/golang-protobuf/ptypes/
Dany.go57 slash := strings.LastIndex(any.TypeUrl, "/")
58 if slash < 0 {
61 return any.TypeUrl[slash+1:], nil
/external/python/cpython3/
D.gitignore3 # These contain no slash, or only a trailing slash.
49 # These must contain a non-trailing slash (and may also have a trailing slash.)

12345678910>>...13