Searched refs:hostlen (Results 1 - 21 of 21) sorted by relevance

/external/python/cpython2/Modules/
H A Dgetnameinfo.c89 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
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/curl/lib/vauth/
H A Dntlm.c386 size_t hostlen = 0; local
389 size_t domoff = hostoff + hostlen; /* This is 0: remember that host and
428 SHORTPAIR(hostlen),
429 SHORTPAIR(hostlen),
436 size = 32 + hostlen + domlen;
526 size_t hostlen = 0; local
549 hostlen = 0;
552 hostlen = strlen(host);
660 hostlen = hostlen *
[all...]
/external/openssh/openbsd-compat/
H A Dfake-rfc2553.c48 size_t hostlen, char *serv, size_t servlen, int flags)
65 hostlen) >= hostlen)
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
47 getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
H A Dport-aix.c409 size_t hostlen, char *serv, size_t servlen, int flags)
420 strlcpy(host, "::", hostlen);
425 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
408 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/external/boringssl/src/crypto/x509v3/
H A Dv3_ncons.c446 int hostlen;
462 hostlen = strlen(hostptr);
464 hostlen = p - hostptr;
466 if (hostlen == 0)
471 if (hostlen > base->length) {
472 p = hostptr + hostlen - base->length;
479 if ((base->length != (int)hostlen)
480 || OPENSSL_strncasecmp(hostptr, baseptr, hostlen))
/external/curl/lib/
H A Dhostip6.c75 char *host, GETNAMEINFO_TYPE_ARG46 hostlen,
81 host, hostlen,
73 curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa, GETNAMEINFO_TYPE_ARG2 salen, char *host, GETNAMEINFO_TYPE_ARG46 hostlen, char *serv, GETNAMEINFO_TYPE_ARG46 servlen, GETNAMEINFO_TYPE_ARG7 flags, int line, const char *source) argument
H A Dhostip.h139 char *host, GETNAMEINFO_TYPE_ARG46 hostlen,
H A Dmemdebug.h129 #define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
130 curl_dogetnameinfo(sa, salen, host, hostlen, serv, servlen, flags, \
H A Durl.c4432 size_t hostlen = strlen(query); local
4437 memmove(path+hostlen+1, path, pathlen+1);
4440 memcpy(path+1, query, hostlen);
/external/libmicrohttpd/src/testspdy/
H A Dtest_notls.c114 size_t hostlen; member in struct:URI
586 req->host = strcopy(uri->host, uri->hostlen);
679 res->hostlen = 0;
686 res->hostlen = i-offset;
698 res->hostlen = i-offset;
701 if(res->hostlen == 0) {
H A Dtest_new_connection.c135 size_t hostlen; member in struct:URI
634 req->host = strcopy(uri->host, uri->hostlen);
744 res->hostlen = 0;
751 res->hostlen = i-offset;
763 res->hostlen = i-offset;
766 if(res->hostlen == 0) {
H A Dtest_request_response.c117 size_t hostlen; member in struct:URI
622 req->host = strcopy(uri->host, uri->hostlen);
732 res->hostlen = 0;
739 res->hostlen = i-offset;
751 res->hostlen = i-offset;
754 if(res->hostlen == 0) {
/external/parameter-framework/asio/include/asio/detail/
H A 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/parameter-framework/asio-1.10.6/include/asio/detail/
H A 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/
H A Dhttp-support.c925 int hostlen, /* I - Size of hostname buffer */
931 usernamelen, host, hostlen, port, resource, resourcelen);
951 int hostlen, /* I - Size of hostname buffer */
972 if (host && hostlen > 0)
986 usernamelen <= 0 || !host || hostlen <= 0 || !resource ||
1125 uri = http_copy_decode(host, uri, hostlen, "]",
1195 uri = http_copy_decode(host, uri, hostlen, ":?/",
919 httpSeparate2(const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
943 httpSeparateURI( http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
H A Dhttp.h514 char *host, int hostlen, int *port,
558 char *host, int hostlen, int *port,
/external/webrtc/webrtc/base/
H A Dproxydetect.cc232 size_t hostlen = url.host().length(); local
233 return (hostlen > len)
234 && (stricmp(url.host().c_str() + (hostlen - len), item) == 0);
806 DWORD hostlen = _snprintf(host, sizeof(host), "http%s://%S",
808 if (pIGPI(surl.data(), surl.size(), host, hostlen, &ptr, &proxylen)) {
/external/libnl/lib/
H A Daddr.c791 * @arg hostlen Length of destination buffer.
800 int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen) argument
810 err = getnameinfo((struct sockaddr *) &buf, salen, host, hostlen,
/external/libevent/
H A Dhttp.c119 size_t hostlen, char *serv, size_t servlen, int flags)
134 hostlen) >= hostlen)
145 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
118 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/external/libnl/python/netlink/
H A Dcapi.i451 extern int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2143 unsigned hostlen, char *serv, unsigned servlen, int flags) {
2145 COMMON_INTERCEPTOR_ENTER(ctx, getnameinfo, sockaddr, salen, host, hostlen,
2153 REAL(getnameinfo)(sockaddr, salen, host, hostlen, serv, servlen, flags);
2155 if (host && hostlen)

Completed in 4873 milliseconds