Home
last modified time | relevance | path

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

123456

/external/webkit/Source/WebCore/platform/
DLinkHash.cpp103 size_t slash = firstSlash; in cleanSlashDotDotSlashes() local
105 … size_t previousSlash = slash ? reverseFind(path.data(), path.size(), '/', slash - 1) : notFound; in cleanSlashDotDotSlashes()
108 path[slash] = 0; in cleanSlashDotDotSlashes()
109 path[slash + 1] = 0; in cleanSlashDotDotSlashes()
110 path[slash + 2] = 0; in cleanSlashDotDotSlashes()
112 for (size_t i = previousSlash; i < slash + 3; ++i) in cleanSlashDotDotSlashes()
115 slash += 3; in cleanSlashDotDotSlashes()
116 } while ((slash = findSlashDotDotSlash(path.data(), path.size(), slash)) != notFound); in cleanSlashDotDotSlashes()
126 size_t slash = firstSlash; in mergeDoubleSlashes() local
127 while (slash < refPos) { in mergeDoubleSlashes()
[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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSerializationStressTest5.java156 String slash = System.getProperty("file.separator"); in findThrowableClasses() local
157 String begTarget = slash + "java" + slash; in findThrowableClasses()
164 fileName = fileName.replace(slash.charAt(0), '.'); in findThrowableClasses()
289 String slash = System.getProperty("file.separator"); in findClassFilesFromZip() local
291 if (!javaHome.endsWith(slash)) in findClassFilesFromZip()
292 javaHome += slash; in findClassFilesFromZip()
294 String[] wanted = { "java" + slash + "io", "java" + slash + "lang", in findClassFilesFromZip()
295 "java" + slash + "math", "java" + slash + "net", in findClassFilesFromZip()
296 "java" + slash + "security", "java" + slash + "text", in findClassFilesFromZip()
297 "java" + slash + "util", "java" + slash + "beans", in findClassFilesFromZip()
[all …]
/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/iptables/extensions/
Dlibip6t_icmp6.c119 char *slash; in parse_icmpv6() local
124 slash = strchr(buffer, '/'); in parse_icmpv6()
126 if (slash) in parse_icmpv6()
127 *slash = '\0'; in parse_icmpv6()
133 if (slash) { in parse_icmpv6()
134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
137 slash+1); in parse_icmpv6()
Dlibipt_icmp.c143 char *slash; in parse_icmp() local
148 slash = strchr(buffer, '/'); in parse_icmp()
150 if (slash) in parse_icmp()
151 *slash = '\0'; in parse_icmp()
157 if (slash) { in parse_icmp()
158 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
161 slash+1); in parse_icmp()
/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()
DRequestLine.java147 boolean slash = false; in getVersionMajor()
151 if (slash) { in getVersionMajor()
158 slash = true; in getVersionMajor()
/external/iproute2/tc/
Dtc_util.c172 char * slash = strchr(str, '/'); in get_rate_and_cell() local
174 if (slash) in get_rate_and_cell()
175 *slash = 0; in get_rate_and_cell()
180 if (slash) { in get_rate_and_cell()
184 if (get_integer(&cell, slash+1, 0)) in get_rate_and_cell()
186 *slash = '/'; in get_rate_and_cell()
310 char * slash = strchr(str, '/'); in get_size_and_cell() local
312 if (slash) in get_size_and_cell()
313 *slash = 0; in get_size_and_cell()
318 if (slash) { in get_size_and_cell()
[all …]
Df_fw.c45 char *slash; in fw_parse_opt() local
46 if ((slash = strchr(handle, '/')) != NULL) in fw_parse_opt()
47 *slash = '\0'; in fw_parse_opt()
52 if (slash) { in fw_parse_opt()
53 if (get_u32(&mask, slash+1, 0)) { in fw_parse_opt()
/external/qemu/distrib/sdl-1.2.12/src/main/qtopia/
DSDL_qtopia_main.cc21 int slash = appname.findRev("/"); in cleanupQCop() local
22 if(slash != -1) { appname = appname.mid(slash+1); } in cleanupQCop()
/external/chromium/net/tools/dump_cache/
Durl_to_filename_encoder.h138 const std::string slash("/"); in Encode()
140 ReplaceAll(&filename, backslash, slash); in Encode()
197 const std::string slash("/"); in ConvertToSlashes()
199 ReplaceAll(path, slash, backslash); in ConvertToSlashes()
Durl_to_filename_encoder.cc283 char slash = '\\'; in LegacyEscape() local
285 char slash = '/'; in LegacyEscape()
287 output.append(&slash, 1); in LegacyEscape()
/external/llvm/lib/Support/Windows/
DPath.inc32 // Another invariant is that a path ends with a slash if and only if the path
33 // is a root directory. Any other use of a trailing slash is stripped. Unlike
99 // Look for a UNC path, and if found adjust our notion of the root slash.
113 // Remove trailing slash, unless it's a root slash.
334 // Find the last slash
335 size_t slash = path.rfind('/');
336 if (slash == std::string::npos)
337 slash = 0;
339 slash++;
342 if (dot == std::string::npos || dot < slash)
[all …]
/external/blktrace/btt/
Dtrace.c81 char *slash = strchr(iop->pdu, '/'); in add_trace() local
82 if (slash) in add_trace()
83 *slash = '\0'; in add_trace()
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/
Dset-href-attribute-pathname-expected.txt6 Set pathname that starts with slash
8 Set pathname that does not start with slash and contains '?'
10 Set pathname that starts with double slash and contains '#'
/external/chromium/third_party/libjingle/source/talk/xmpp/
Djid.cc55 size_t slash = jid_string.find('/'); in Jid() local
56 std::string resource_name = (slash == std::string::npos ? STR_EMPTY : in Jid()
57 jid_string.substr(slash + 1)); in Jid()
63 if (at < slash && at != std::string::npos) { in Jid()
72 ( slash == std::string::npos in Jid()
74 : slash - domain_begin); in Jid()
/external/iproute2/lib/
Dutils.c329 char *slash; in get_prefix_1() local
344 slash = strchr(arg, '/'); in get_prefix_1()
345 if (slash) in get_prefix_1()
346 *slash = 0; in get_prefix_1()
361 if (slash) { in get_prefix_1()
362 if (get_netmask(&plen, slash+1, 0) in get_prefix_1()
372 if (slash) in get_prefix_1()
373 *slash = '/'; in get_prefix_1()
/external/llvm/lib/Support/Unix/
DPath.inc368 // Find the last slash
369 std::string::size_type slash = path.rfind('/');
370 if (slash == std::string::npos)
371 slash = 0;
373 slash++;
376 if (dot == std::string::npos || dot < slash)
377 return StringRef(path).substr(slash);
379 return StringRef(path).substr(slash, dot - slash);
384 // Find the last slash
385 std::string::size_type slash = path.rfind('/');
[all …]
/external/iproute2/ip/
Diprule.c281 char *slash; in iprule_modify() local
284 if ((slash = strchr(*argv, '/')) != NULL) in iprule_modify()
285 *slash = '\0'; in iprule_modify()
289 if (slash) { in iprule_modify()
290 if (get_u32(&fwmask, slash+1, 0)) in iprule_modify()
291 invarg("fwmask value is invalid\n", slash+1); in iprule_modify()
/external/bluetooth/glib/tests/
Duri-test.c273 gchar *slash, *p; in run_from_uri_tests() local
276 while ((slash = strchr (p, '/')) != NULL) in run_from_uri_tests()
278 *slash = '\\'; in run_from_uri_tests()
279 p = slash + 1; in run_from_uri_tests()
/external/clang/lib/Lex/
DTokenConcatenation.cpp68 TokenInfo[tok::slash ] |= aci_custom_firstchar; in TokenConcatenation()
81 TokenInfo[tok::slash ] |= aci_avoid_equal; // /= in TokenConcatenation()
213 case tok::slash: //, /*, // in AvoidConcat()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc138 {command, args} slash = '/'; // means divide or end command.
237 [i1]:cs_open slash [i3]:escape [i2]:cs_close
246 [i1]:cs_open slash [i3]:autoescape [i2]:cs_close
255 [i1]:cs_open slash [i3]:with [i2]:cs_close
265 [i1]:cs_open slash [i3]:loop [i2]:cs_close
276 [i1]:cs_open slash [i3]:loop [i2]:cs_close
288 commands [i1]:cs_open slash [i4]:loop [i2]:cs_close
300 [i1]:cs_open slash [i3]:each [i2]:cs_close
310 [i1]:cs_open slash [i3]:alt [i2]:cs_close
319 [i1]:cs_open slash [i3]:def [i2]:cs_close
[all …]

123456