/third_party/curl/ |
D | backport-CVE-2023-28321.patch | 6 Conflict:The hostmatch function does not have the hostlen and patternlen parameters. 34 +static bool pmatch(const char *hostname, size_t hostlen, 37 + if(hostlen != patternlen) 39 + return strncasecompare(hostname, pattern, hostlen); 69 + size_t hostlen, 81 + DEBUGASSERT(hostlen); 95 + if(hostname[hostlen-1]=='.') 96 + hostlen--; 101 + return pmatch(hostname, hostlen, pattern, patternlen); 121 + return pmatch(hostname, hostlen, pattern, patternlen); [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/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_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()
|
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/ |
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 | 732 auto hostlen = strlen(host.data()); in to_numeric_addr() local 738 s.resize(hostlen + servlen + 2 + 1); in to_numeric_addr() 741 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr() 744 s.resize(hostlen + servlen + 1); in to_numeric_addr() 746 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr()
|
D | shrpx_config.cc | 118 int split_host_port(char *host, size_t hostlen, uint16_t *port_ptr, in split_host_port() argument 127 if (hostlen < len + 1) { in split_host_port()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
D | mod.rs | 344 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/node/deps/cares/ |
D | acinclude.m4 | 556 $gni_arg46 hostlen=0; 559 int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); 713 GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf); 725 rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags);
|
/third_party/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 664 hostlen: socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 995 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
D | mod.rs | 1810 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 1772 hostlen: ::size_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1508 hostlen: ::size_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1689 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 2568 hostlen: ::socklen_t, in getnameinfo()
|
/third_party/rust/crates/libc/src/unix/nto/ |
D | mod.rs | 3062 hostlen: ::socklen_t, in getnameinfo()
|