Searched refs:next_slash (Results 1 – 3 of 3) sorted by relevance
/external/chromium/googleurl/src/ |
D | url_parse_file.cc | 80 int next_slash = FindNextSlash(spec, after_slashes, spec_len); in DoParseUNC() local 81 if (next_slash == spec_len) { in DoParseUNC() 97 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) { in DoParseUNC() 99 ParsePathInternal(spec, MakeRange(next_slash, spec_len), in DoParseUNC() 110 int host_len = next_slash - after_slashes; in DoParseUNC() 112 parsed->host = MakeRange(after_slashes, next_slash); in DoParseUNC() 115 if (next_slash < spec_len) { in DoParseUNC() 116 ParsePathInternal(spec, MakeRange(next_slash, spec_len), in DoParseUNC()
|
/external/chromium/net/tools/dump_cache/ |
D | url_utilities.cc | 19 size_t next_slash = url.find_first_of('/', b); in GetUrlHost() local 21 if (next_slash != std::string::npos in GetUrlHost() 23 && next_colon < next_slash) { in GetUrlHost() 26 if (next_slash == std::string::npos) { in GetUrlHost() 30 next_slash = url.size(); in GetUrlHost() 33 return std::string(url, b, next_slash - b); in GetUrlHost()
|
/external/libselinux/src/ |
D | label_file.c | 570 const char *prev_slash, *next_slash; in lookup() local 579 if ((next_slash = strstr(key, "//"))) { in lookup() 584 while (next_slash) { in lookup() 585 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup() 586 sofar += next_slash - prev_slash; in lookup() 587 prev_slash = next_slash + 1; in lookup() 588 next_slash = strstr(prev_slash, "//"); in lookup()
|