/third_party/curl/lib/vtls/ |
H A D | hostcheck.c | 49 static bool pmatch(const char *hostname, size_t hostlen, in pmatch() argument 52 if(hostlen != patternlen) in pmatch() 54 return strncasecompare(hostname, pattern, hostlen); in pmatch() 82 size_t hostlen, in hostmatch() 91 DEBUGASSERT(hostlen); in hostmatch() 94 if(hostname[hostlen-1]=='.') in hostmatch() 95 hostlen--; in hostmatch() 100 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch() 111 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch() 113 const char *hostname_label_end = memchr(hostname, '.', hostlen); in hostmatch() 81 hostmatch(const char *hostname, size_t hostlen, const char *pattern, size_t patternlen) hostmatch() argument 127 Curl_cert_hostcheck(const char *match, size_t matchlen, const char *hostname, size_t hostlen) Curl_cert_hostcheck() argument [all...] |
H A D | hostcheck.h | 31 const char *hostname, size_t hostlen);
|
H A D | schannel_verify.c | 474 size_t hostlen = strlen(conn_hostname); in Curl_verify_host() local 543 conn_hostname, hostlen)) { in Curl_verify_host()
|
H A D | openssl.c | 2096 size_t hostlen, in subj_alt_hostcheck() 2103 if(Curl_cert_hostcheck(match_pattern, matchlen, hostname, hostlen)) { in subj_alt_hostcheck() 2148 size_t hostlen; in Curl_ossl_verifyhost() local 2151 hostlen = strlen(peer->hostname); in Curl_ossl_verifyhost() 2216 peer->hostname, hostlen, in Curl_ossl_verifyhost() 2311 peerlen, peer->hostname, hostlen)) { in Curl_ossl_verifyhost() 2092 subj_alt_hostcheck(struct Curl_easy *data, const char *match_pattern, size_t matchlen, const char *hostname, size_t hostlen, const char *dispname) subj_alt_hostcheck() argument
|
/third_party/curl/lib/vauth/ |
H A D | ntlm.c | 364 size_t hostlen = 0; in Curl_auth_create_ntlm_type1_message() local 367 size_t domoff = hostoff + hostlen; /* This is 0: remember that host and in Curl_auth_create_ntlm_type1_message() 403 SHORTPAIR(hostlen), in Curl_auth_create_ntlm_type1_message() 404 SHORTPAIR(hostlen), in Curl_auth_create_ntlm_type1_message() 414 size = 32 + hostlen + domlen; in Curl_auth_create_ntlm_type1_message() 499 size_t hostlen = 0; in Curl_auth_create_ntlm_type3_message() local 524 hostlen = 0; in Curl_auth_create_ntlm_type3_message() 527 hostlen = strlen(host); in Curl_auth_create_ntlm_type3_message() 531 hostlen = sizeof(NTLM_HOSTNAME)-1; in Curl_auth_create_ntlm_type3_message() 598 hostlen in Curl_auth_create_ntlm_type3_message() [all...] |
/third_party/python/Modules/ |
H A D | getnameinfo.c | 92 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() 96 size_t hostlen; 173 if (host == NULL || hostlen == 0) { 179 if (strlen(numaddr) > hostlen) 194 if (strlen(hp->h_name) > hostlen) { 210 if (strlen(numaddr) > hostlen)
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_ncons.c | 760 int hostlen; 780 hostlen = IA5_OFFSET_LEN(uri, hostptr); 782 hostlen = p - hostptr; 784 if (hostlen == 0) 789 if (hostlen > base->length) { 790 p = hostptr + hostlen - base->length; 797 if ((base->length != (int)hostlen) 798 || ia5ncasecmp(hostptr, baseptr, hostlen)) 807 int hostlen, baselen, i; 810 hostlen [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_ncons.c | 760 int hostlen; 780 hostlen = IA5_OFFSET_LEN(uri, hostptr); 782 hostlen = p - hostptr; 784 if (hostlen == 0) 789 if (hostlen > base->length) { 790 p = hostptr + hostlen - base->length; 797 if ((base->length != (int)hostlen) 798 || ia5ncasecmp(hostptr, baseptr, hostlen)) 807 int hostlen, baselen, i; 810 hostlen [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | os_support.c | 142 char *host, int hostlen, in ff_getnameinfo() 152 if (host && hostlen > 0) { in ff_getnameinfo() 160 snprintf(host, hostlen, "%s", ent->h_name); in ff_getnameinfo() 165 snprintf(host, hostlen, "%d.%d.%d.%d", in ff_getnameinfo() 141 ff_getnameinfo(const struct sockaddr *sa, int salen, char *host, int hostlen, char *serv, int servlen, int flags) ff_getnameinfo() argument
|
H A D | network.h | 215 char *host, int hostlen,
|
/third_party/curl/lib/ |
H A D | hostip.c | 475 size_t hostlen, /* length or zero */ in Curl_cache_addr() 491 if(!hostlen) in Curl_cache_addr() 492 hostlen = strlen(hostname); in Curl_cache_addr() 495 dns = calloc(1, sizeof(struct Curl_dns_entry) + hostlen); in Curl_cache_addr() 501 entry_len = create_hostcache_id(hostname, hostlen, port, in Curl_cache_addr() 510 if(hostlen) in Curl_cache_addr() 511 memcpy(dns->hostname, hostname, hostlen); in Curl_cache_addr() 532 const size_t hostlen = strlen(name); in get_localhost6() local 536 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1); in get_localhost6() 570 const size_t hostlen in get_localhost() local 472 Curl_cache_addr(struct Curl_easy *data, struct Curl_addrinfo *addr, const char *hostname, size_t hostlen, int port) Curl_cache_addr() argument [all...] |
H A D | doh.c | 82 const size_t hostlen = strlen(host); in doh_encode() local 109 DEBUGASSERT(hostlen); in doh_encode() 110 expected_len = 12 + 1 + hostlen + 4; in doh_encode() 111 if(host[hostlen-1]!='.') in doh_encode() 804 size_t hostlen = strlen(hostname) + 1; /* include null-terminator */ in doh2ai() local 828 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai() 835 memcpy(ai->ai_canonname, hostname, hostlen); in doh2ai()
|
H A D | urlapi.c | 1144 size_t hostlen; in parseurl() local 1193 hostlen = strcspn(hostp, "/?#"); in parseurl() 1194 path = &hostp[hostlen]; in parseurl() 1198 if(hostlen) { in parseurl() 1200 result = parse_authority(u, hostp, hostlen, flags, &host, schemelen); in parseurl() 1545 size_t hostlen = strlen(u->host); in curl_url_get() local 1547 if(Curl_dyn_addf(&enc, "%.*s%%25%s]", (int)hostlen - 1, u->host, in curl_url_get()
|
H A D | hostip.h | 180 const char *hostname, size_t hostlen, int port);
|
/third_party/nghttp2/examples/ |
H A D | client.c | 109 size_t hostlen; member 517 req->host = strcopy(uri->host, uri->hostlen); in request_init() 638 res->hostlen = 0; in parse_uri() 646 res->hostlen = i - offset; in parse_uri() 658 res->hostlen = i - offset; in parse_uri() 661 if (res->hostlen == 0) { in parse_uri()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_new_connection.c | 135 size_t hostlen; member 634 req->host = strcopy(uri->host, uri->hostlen); in request_init() 744 res->hostlen = 0; in parse_uri() 751 res->hostlen = i-offset; in parse_uri() 763 res->hostlen = i-offset; in parse_uri() 766 if(res->hostlen == 0) { in parse_uri()
|
H A D | test_notls.c | 114 size_t hostlen; member 586 req->host = strcopy(uri->host, uri->hostlen); in request_init() 679 res->hostlen = 0; in parse_uri() 686 res->hostlen = i-offset; in parse_uri() 698 res->hostlen = i-offset; in parse_uri() 701 if(res->hostlen == 0) { in parse_uri()
|
H A D | test_request_response.c | 117 size_t hostlen; member 622 req->host = strcopy(uri->host, uri->hostlen); in request_init() 732 res->hostlen = 0; in parse_uri() 739 res->hostlen = i-offset; in parse_uri() 751 res->hostlen = i-offset; in parse_uri() 754 if(res->hostlen == 0) { in parse_uri()
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | buffers.h | 33 unsigned hostlen(uint64_t gpuaddr);
|
H A D | buffers.c | 124 hostlen(uint64_t gpuaddr) in hostlen() function
|
H A D | script.c | 575 unsigned hostlen(uint64_t gpuaddr); 591 lua_pushnumber(L, hostlen(addr)); in l_bo_size()
|
H A D | cffdec.c | 437 uint32_t sizedwords = hostlen(gpuaddr) / 4; in disasm_gpuaddr() 850 hostlen(gpubaseaddr(gpuaddr))); in dump_register_val() 1405 dump_gpuaddr_size(addr, level - 2, hostlen(addr) / 4, 3); in dump_tex_const() 1414 dump_gpuaddr_size(addr, level - 2, hostlen(addr) / 4, 3); in dump_tex_const() 1549 dump_hex(ptr, hostlen(addrs[i]) / 4, level + 1); in cp_load_state() 1605 dump_gpuaddr_size(addr, level - 2, hostlen(addr) / 4, 3); in cp_load_state()
|
/third_party/nghttp2/src/ |
H A D | util.cc | 774 auto hostlen = strlen(host.data()); in to_numeric_addr() local 780 s.resize(hostlen + servlen + 2 + 1); in to_numeric_addr() 783 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr() 786 s.resize(hostlen + servlen + 1); in to_numeric_addr() 788 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
H A D | mod.rs | 344 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/newlib/ |
H A D | mod.rs | 664 hostlen: socklen_t, in getnameinfo()
|