Searched refs:next_slash (Results 1 - 3 of 3) sorted by relevance

/external/chromium/net/tools/dump_cache/
H A Durl_utilities.cc19 size_t next_slash = url.find_first_of('/', b); local
21 if (next_slash != std::string::npos
23 && next_colon < next_slash) {
26 if (next_slash == std::string::npos) {
30 next_slash = url.size();
33 return std::string(url, b, next_slash - b);
/external/chromium/googleurl/src/
H A Durl_parse_file.cc80 int next_slash = FindNextSlash(spec, after_slashes, spec_len); local
81 if (next_slash == spec_len) {
97 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) {
99 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
110 int host_len = next_slash - after_slashes;
112 parsed->host = MakeRange(after_slashes, next_slash);
115 if (next_slash < spec_len) {
116 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
/external/libselinux/src/
H A Dlabel_file.c571 const char *prev_slash, *next_slash; local
580 if ((next_slash = strstr(key, "//"))) {
585 while (next_slash) {
586 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash);
587 sofar += next_slash - prev_slash;
588 prev_slash = next_slash + 1;
589 next_slash = strstr(prev_slash, "//");

Completed in 99 milliseconds