Searched refs:scheme_len (Results 1 – 3 of 3) sorted by relevance
/external/cronet/url/ |
D | url_canon_stdurl.cc | 120 int DefaultPortForScheme(const char* scheme, int scheme_len) { in DefaultPortForScheme() argument 122 switch (scheme_len) { in DefaultPortForScheme() 124 if (!strncmp(scheme, kHttpScheme, scheme_len)) in DefaultPortForScheme() 128 if (!strncmp(scheme, kHttpsScheme, scheme_len)) in DefaultPortForScheme() 132 if (!strncmp(scheme, kFtpScheme, scheme_len)) in DefaultPortForScheme() 134 else if (!strncmp(scheme, kWssScheme, scheme_len)) in DefaultPortForScheme() 138 if (!strncmp(scheme, kWsScheme, scheme_len)) in DefaultPortForScheme()
|
D | url_canon.h | 491 int DefaultPortForScheme(const char* scheme, int scheme_len);
|
/external/libpcap/ |
D | pcap.c | 1725 size_t scheme_len; local 1811 scheme_len = colonp - source; 1812 scheme = malloc(scheme_len + 1); 1818 memcpy(scheme, source, scheme_len); 1819 scheme[scheme_len] = '\0';
|