/third_party/curl/lib/vtls/ |
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() argument 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() [all …]
|
D | hostcheck.h | 31 const char *hostname, size_t hostlen);
|
D | x509asn1.c | 1303 size_t hostlen; in Curl_verifyhost() local 1320 hostlen = strlen(connssl->hostname); in Curl_verifyhost() 1364 connssl->hostname, hostlen); in Curl_verifyhost() 1424 len, connssl->hostname, hostlen)) { in Curl_verifyhost()
|
D | schannel_verify.c | 474 size_t hostlen = strlen(conn_hostname); in Curl_verify_host() local 543 conn_hostname, hostlen)) { in Curl_verify_host()
|
D | openssl.c | 2086 size_t hostlen, in subj_alt_hostcheck() argument 2093 if(Curl_cert_hostcheck(match_pattern, matchlen, hostname, hostlen)) { in subj_alt_hostcheck() 2156 size_t hostlen; in ossl_verifyhost() local 2159 hostlen = strlen(hostname); in ossl_verifyhost() 2229 altlen, hostname, hostlen, dispname)) { in ossl_verifyhost() 2323 peerlen, hostname, hostlen)) { in ossl_verifyhost()
|
/third_party/curl/lib/vauth/ |
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 = hostlen * 2; in Curl_auth_create_ntlm_type3_message() [all …]
|
/third_party/python/Modules/ |
D | getnameinfo.c | 89 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 93 size_t hostlen; 170 if (host == NULL || hostlen == 0) { 176 if (strlen(numaddr) > hostlen) 192 if (strlen(hp->h_name) > hostlen) { 208 if (strlen(numaddr) > hostlen)
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | v3_ncons.c | 760 int hostlen; in nc_uri() local 780 hostlen = IA5_OFFSET_LEN(uri, hostptr); in nc_uri() 782 hostlen = p - hostptr; in nc_uri() 784 if (hostlen == 0) in nc_uri() 789 if (hostlen > base->length) { in nc_uri() 790 p = hostptr + hostlen - base->length; in nc_uri() 797 if ((base->length != (int)hostlen) in nc_uri() 798 || ia5ncasecmp(hostptr, baseptr, hostlen)) in nc_uri() 807 int hostlen, baselen, i; in nc_ip() local 810 hostlen = ip->length; in nc_ip() [all …]
|
/third_party/openssl/crypto/x509/ |
D | v3_ncons.c | 760 int hostlen; in nc_uri() local 780 hostlen = IA5_OFFSET_LEN(uri, hostptr); in nc_uri() 782 hostlen = p - hostptr; in nc_uri() 784 if (hostlen == 0) in nc_uri() 789 if (hostlen > base->length) { in nc_uri() 790 p = hostptr + hostlen - base->length; in nc_uri() 797 if ((base->length != (int)hostlen) in nc_uri() 798 || ia5ncasecmp(hostptr, baseptr, hostlen)) in nc_uri() 807 int hostlen, baselen, i; in nc_ip() local 810 hostlen = ip->length; in nc_ip() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | os_support.c | 142 char *host, int hostlen, in ff_getnameinfo() argument 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()
|
D | network.h | 215 char *host, int hostlen,
|
/third_party/nghttp2/examples/ |
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/ |
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()
|
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()
|
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()
|
/third_party/curl/lib/ |
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() 802 size_t hostlen = strlen(hostname) + 1; /* include null-terminator */ in doh2ai() local 825 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai() 832 memcpy(ai->ai_canonname, hostname, hostlen); in doh2ai()
|
D | hostip.c | 468 size_t hostlen, /* length or zero */ in Curl_cache_addr() argument 492 entry_len = create_hostcache_id(hostname, hostlen, port, in Curl_cache_addr() 520 const size_t hostlen = strlen(name); in get_localhost6() local 524 ca = calloc(sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1, 1); in get_localhost6() 558 const size_t hostlen = strlen(name); in get_localhost() local 571 ca = calloc(sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1, 1); in get_localhost()
|
D | urlapi.c | 1121 size_t hostlen; in parseurl() local 1170 hostlen = strcspn(hostp, "/?#"); in parseurl() 1171 path = &hostp[hostlen]; in parseurl() 1175 if(hostlen) { in parseurl() 1177 result = parse_authority(u, hostp, hostlen, flags, &host, schemelen); in parseurl() 1530 size_t hostlen = strlen(u->host); in curl_url_get() local 1532 if(Curl_dyn_addf(&enc, "%.*s%%25%s]", (int)hostlen - 1, u->host, in curl_url_get()
|
D | hostip.h | 176 const char *hostname, size_t hostlen, int port);
|
/third_party/mesa3d/src/freedreno/decode/ |
D | buffers.h | 33 unsigned hostlen(uint64_t gpuaddr);
|
D | buffers.c | 124 hostlen(uint64_t gpuaddr) in hostlen() function
|
D | script.c | 575 unsigned hostlen(uint64_t gpuaddr); 591 lua_pushnumber(L, hostlen(addr)); in l_bo_size()
|
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/ |
D | util.cc | 733 auto hostlen = strlen(host.data()); in to_numeric_addr() local 739 s.resize(hostlen + servlen + 2 + 1); in to_numeric_addr() 742 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr() 745 s.resize(hostlen + servlen + 1); in to_numeric_addr() 747 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
D | mod.rs | 344 hostlen: ::socklen_t, in getnameinfo()
|