Home
last modified time | relevance | path

Searched refs:scheme_len (Results 1 – 3 of 3) sorted by relevance

/external/chromium/googleurl/src/
Durl_canon_stdurl.cc122 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()
Durl_util.cc374 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()
Durl_canon.h430 GURL_API int DefaultPortForScheme(const char* scheme, int scheme_len);