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

/external/chromium_org/url/
H A Durl_canon_stdurl.cc98 int DefaultPortForScheme(const char* scheme, int scheme_len) { argument
100 switch (scheme_len) {
102 if (!strncmp(scheme, kHttpScheme, scheme_len))
106 if (!strncmp(scheme, kHttpsScheme, scheme_len))
110 if (!strncmp(scheme, kFtpScheme, scheme_len))
112 else if (!strncmp(scheme, kWssScheme, scheme_len))
116 if (!strncmp(scheme, kGopherScheme, scheme_len))
120 if (!strncmp(scheme, kWsScheme, scheme_len))
H A Durl_util.cc380 size_t scheme_len = strlen(new_scheme); local
381 if (scheme_len == 0)
386 char* dup_scheme = new char[scheme_len + 1];
388 memcpy(dup_scheme, new_scheme, scheme_len + 1);
H A Durl_canon.h419 URL_EXPORT int DefaultPortForScheme(const char* scheme, int scheme_len);

Completed in 108 milliseconds