Searched refs:scheme_len (Results 1 – 3 of 3) sorted by relevance
/external/chromium/googleurl/src/ |
D | url_canon_stdurl.cc | 122 int DefaultPortForScheme(const char* scheme, int scheme_len) { in DefaultPortForScheme() argument 124 switch (scheme_len) { in DefaultPortForScheme() 126 if (!strncmp(scheme, "http", scheme_len)) in DefaultPortForScheme() 130 if (!strncmp(scheme, "https", scheme_len)) in DefaultPortForScheme() 134 if (!strncmp(scheme, "ftp", scheme_len)) in DefaultPortForScheme() 136 else if (!strncmp(scheme, "wss", scheme_len)) in DefaultPortForScheme() 140 if (!strncmp(scheme, "gopher", scheme_len)) in DefaultPortForScheme() 144 if (!strncmp(scheme, "ws", scheme_len)) in DefaultPortForScheme()
|
D | url_util.cc | 374 size_t scheme_len = strlen(new_scheme); in AddStandardScheme() local 375 if (scheme_len == 0) in AddStandardScheme() 380 char* dup_scheme = new char[scheme_len + 1]; in AddStandardScheme() 381 memcpy(dup_scheme, new_scheme, scheme_len + 1); in AddStandardScheme()
|
D | url_canon.h | 430 GURL_API int DefaultPortForScheme(const char* scheme, int scheme_len);
|