Home
last modified time | relevance | path

Searched refs:hostlen (Results 1 – 25 of 31) sorted by relevance

12

/third_party/curl/
Dbackport-CVE-2023-28321.patch6 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/
Dgetnameinfo.c89 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/
Dv3_ncons.c760 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/
Dos_support.c142 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()
Dnetwork.h215 char *host, int hostlen,
/third_party/nghttp2/examples/
Dclient.c109 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/
Dtest_new_connection.c135 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()
Dtest_notls.c114 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()
Dtest_request_response.c117 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/
Dbuffers.h33 unsigned hostlen(uint64_t gpuaddr);
Dbuffers.c124 hostlen(uint64_t gpuaddr) in hostlen() function
Dscript.c575 unsigned hostlen(uint64_t gpuaddr);
591 lua_pushnumber(L, hostlen(addr)); in l_bo_size()
Dcffdec.c437 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/
Dutil.cc732 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()
Dshrpx_config.cc118 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/
Dmod.rs344 hostlen: ::socklen_t, in getnameinfo()
/third_party/node/deps/cares/
Dacinclude.m4556 $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/
Dmod.rs664 hostlen: socklen_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/redox/
Dmod.rs995 hostlen: ::socklen_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1810 hostlen: ::socklen_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs1772 hostlen: ::size_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1508 hostlen: ::size_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/haiku/
Dmod.rs1689 hostlen: ::socklen_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs2568 hostlen: ::socklen_t, in getnameinfo()
/third_party/rust/crates/libc/src/unix/nto/
Dmod.rs3062 hostlen: ::socklen_t, in getnameinfo()

12