Home
last modified time | relevance | path

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

1234567891011

/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/toybox/toys/posix/
Decho.c66 int slash = *(c++), n = unescape(slash); in echo_main() local
69 else if (slash=='c') return; in echo_main()
70 else if (slash=='0') { in echo_main()
73 } else if (slash=='x') { in echo_main()
/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.c171 char* slash = strrchr(path, '/'); in main() local
172 if (slash) { in main()
174 replaced = slash[1]; in main()
175 slash[1] = 0; in main()
179 slash[1] = replaced; in main()
180 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/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/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/libusb/libusb/os/
Dlinux_netlink.c201 const char *tmp, *slash; in linux_netlink_parse() local
260 slash = strrchr(tmp, '/'); in linux_netlink_parse()
261 if (!slash) in linux_netlink_parse()
264 *busnum = (uint8_t)(strtoul(slash - 3, NULL, 10) & 0xff); in linux_netlink_parse()
270 *devaddr = (uint8_t)(strtoul(slash + 1, NULL, 10) & 0xff); in linux_netlink_parse()
283 slash = strrchr(tmp, '/'); in linux_netlink_parse()
284 if (slash) in linux_netlink_parse()
285 *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.c122 char *slash, *domain = NULL; in ntlm_wb_init() local
161 slash = strpbrk(username, "\\/"); in ntlm_wb_init()
162 if(slash) { in ntlm_wb_init()
166 slash = domain + (slash - username); in ntlm_wb_init()
167 *slash = '\0'; in ntlm_wb_init()
168 username = username + (slash - domain) + 1; in ntlm_wb_init()
/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()
101 std::string defaultScript = std::string("..") + slash + std::string("spv_to_binary.py"); in offline_get_program_with_il()
102 std::string outputFilename = spvBinariesPath + slash + std::string(prog_name); in offline_get_program_with_il()
/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/webrtc/webrtc/libjingle/xmpp/
Djid.cc32 size_t slash = jid_string.find('/'); in Jid() local
33 resource_name_ = (slash == std::string::npos ? STR_EMPTY : in Jid()
34 jid_string.substr(slash + 1)); in Jid()
39 if (at < slash && at != std::string::npos) { in Jid()
47 size_t domain_length = (slash == std::string::npos) ? in Jid()
48 (jid_string.length() - domain_begin) : (slash - domain_begin); in Jid()
/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, scriptlen); in syslog_get_argv()
/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/python/cpython3/
D.gitignore3 # These contain no slash, or only a trailing slash.
47 # These must contain a non-trailing slash (and may also have a trailing slash.)
/external/golang-protobuf/ptypes/
Dany.go57 slash := strings.LastIndex(any.TypeUrl, "/")
58 if slash < 0 {
61 return any.TypeUrl[slash+1:], nil

1234567891011