Home
last modified time | relevance | path

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

12

/external/curl/lib/vauth/
Dntlm.c397 size_t hostlen = 0; in Curl_auth_create_ntlm_type1_message() local
400 size_t domoff = hostoff + hostlen; /* This is 0: remember that host and in Curl_auth_create_ntlm_type1_message()
441 SHORTPAIR(hostlen), in Curl_auth_create_ntlm_type1_message()
442 SHORTPAIR(hostlen), in Curl_auth_create_ntlm_type1_message()
449 size = 32 + hostlen + domlen; in Curl_auth_create_ntlm_type1_message()
539 size_t hostlen = 0; in Curl_auth_create_ntlm_type3_message() local
561 hostlen = 0; in Curl_auth_create_ntlm_type3_message()
564 hostlen = strlen(host); in Curl_auth_create_ntlm_type3_message()
675 hostlen = hostlen * 2; in Curl_auth_create_ntlm_type3_message()
760 SHORTPAIR(hostlen), in Curl_auth_create_ntlm_type3_message()
[all …]
/external/python/cpython3/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)
/external/python/cpython2/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)
/external/libcups/scheduler/
Dnetwork.c92 size_t hostlen; /* Length of hostname */ in cupsdNetIFUpdate() local
174 hostlen = strlen(hostname); in cupsdNetIFUpdate()
175 if ((temp = calloc(1, sizeof(cupsd_netif_t) + hostlen)) == NULL) in cupsdNetIFUpdate()
186 temp->hostlen = hostlen; in cupsdNetIFUpdate()
187 memcpy(temp->hostname, hostname, hostlen + 1); in cupsdNetIFUpdate()
Dnetwork.h22 size_t hostlen; /* Length of hostname */ member
Dcups-lpd.c90 socklen_t hostlen; /* Size of client address */ in main() local
172 hostlen = sizeof(hostaddr); in main()
174 if (getpeername(0, (struct sockaddr *)&hostaddr, &hostlen)) in main()
Dauth.c1540 size_t hostlen; /* Length of hostname */ in cupsdIsAuthorized() local
1622 hostlen = strlen(hostname); in cupsdIsAuthorized()
1624 auth = cupsdCheckAccess(address, hostname, hostlen, best) in cupsdIsAuthorized()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c48 size_t hostlen, char *serv, size_t servlen, int flags) in getnameinfo() argument
65 hostlen) >= hostlen) in getnameinfo()
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
Dport-aix.c420 size_t hostlen, char *serv, size_t servlen, int flags) in sshaix_getnameinfo() argument
431 strlcpy(host, "::", hostlen); in sshaix_getnameinfo()
436 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); in sshaix_getnameinfo()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_ncons.c462 int hostlen; in nc_uri() local
478 hostlen = strlen(hostptr); in nc_uri()
480 hostlen = p - hostptr; in nc_uri()
482 if (hostlen == 0) in nc_uri()
487 if (hostlen > base->length) { in nc_uri()
488 p = hostptr + hostlen - base->length; in nc_uri()
495 if ((base->length != (int)hostlen) in nc_uri()
496 || OPENSSL_strncasecmp(hostptr, baseptr, hostlen)) in nc_uri()
/external/boringssl/src/crypto/x509v3/
Dv3_ncons.c462 int hostlen; in nc_uri() local
478 hostlen = strlen(hostptr); in nc_uri()
480 hostlen = p - hostptr; in nc_uri()
482 if (hostlen == 0) in nc_uri()
487 if (hostlen > base->length) { in nc_uri()
488 p = hostptr + hostlen - base->length; in nc_uri()
495 if ((base->length != (int)hostlen) in nc_uri()
496 || OPENSSL_strncasecmp(hostptr, baseptr, hostlen)) in nc_uri()
/external/curl/lib/
Ddoh.c86 const size_t hostlen = strlen(host); in doh_encode() local
113 DEBUGASSERT(hostlen); in doh_encode()
114 expected_len = 12 + 1 + hostlen + 4; in doh_encode()
115 if(host[hostlen-1]!='.') in doh_encode()
811 size_t hostlen = strlen(hostname) + 1; /* include zero terminator */ in doh2ai() local
834 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai()
841 memcpy(ai->ai_canonname, hostname, hostlen); in doh2ai()
Durlapi.c1135 size_t hostlen = strlen(u->host); in curl_url_get() local
1136 size_t alen = hostlen + 3 + strlen(u->zoneid) + 1; in curl_url_get()
1140 memcpy(allochost, u->host, hostlen - 1); in curl_url_get()
1141 msnprintf(&allochost[hostlen - 1], alen - hostlen + 1, in curl_url_get()
Dhostip.h142 char *host, GETNAMEINFO_TYPE_ARG46 hostlen,
/external/mesa3d/src/freedreno/decode/
Dbuffers.h33 unsigned hostlen(uint64_t gpuaddr);
Dbuffers.c100 hostlen(uint64_t gpuaddr) in hostlen() function
Dscript.c550 unsigned hostlen(uint64_t gpuaddr);
564 lua_pushnumber(L, hostlen(addr)); in l_bo_size()
Dcffdec.c425 uint32_t sizedwords = hostlen(gpuaddr) / 4; in disasm_gpuaddr()
842 hostlen(gpubaseaddr(gpuaddr))); in dump_register_val()
1392 dump_gpuaddr_size(addr, level-2, hostlen(addr) / 4, 3); in dump_tex_const()
1400 dump_gpuaddr_size(addr, level-2, hostlen(addr) / 4, 3); in dump_tex_const()
1533 dump_hex(ptr, hostlen(addrs[i])/4, level+1); in cp_load_state()
1588 dump_gpuaddr_size(addr, level-2, hostlen(addr) / 4, 3); in cp_load_state()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_ops.hpp241 char* host, std::size_t hostlen, char* serv,
246 char* host, std::size_t hostlen, char* serv,
252 char* host, std::size_t hostlen, char* serv,
/external/libcups/cups/
Dhttp-support.c920 int hostlen, /* I - Size of hostname buffer */ in httpSeparate2() argument
926 usernamelen, host, hostlen, port, resource, resourcelen); in httpSeparate2()
946 int hostlen, /* I - Size of hostname buffer */ in httpSeparateURI() argument
967 if (host && hostlen > 0) in httpSeparateURI()
981 usernamelen <= 0 || !host || hostlen <= 0 || !resource || in httpSeparateURI()
1120 uri = http_copy_decode(host, uri, hostlen, "]", in httpSeparateURI()
1190 uri = http_copy_decode(host, uri, hostlen, ":?/", in httpSeparateURI()
Dhttp.h500 …*method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char …
523 …*scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char …
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp1500 std::size_t addrlen, char* host, std::size_t hostlen,
1504 int error = ::getnameinfo(addr, addrlen, host, hostlen, serv, servlen, flags);
1510 char* host, std::size_t hostlen, char* serv,
1517 hostlen, serv, servlen, flags, ec);
1520 socket_ops::getnameinfo(addr, addrlen, host, hostlen,
1530 char* host, std::size_t hostlen, char* serv,
1543 hostlen, serv, servlen, flags, ec);
1546 socket_ops::getnameinfo(addr, addrlen, host, hostlen,
/external/libnl/lib/
Daddr.c849 int nl_addr_resolve(const struct nl_addr *addr, char *host, size_t hostlen) in nl_addr_resolve() argument
859 err = getnameinfo((struct sockaddr *) &buf, salen, host, hostlen, in nl_addr_resolve()
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/
Dmod.rs270 hostlen: ::socklen_t, in getnameinfo()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/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);

12