/bionic/libc/netbsd/net/ |
getnameinfo.c | 109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv, size_t servlen, int flags) 111 return android_getnameinfoforiface(sa, salen, host, hostlen, serv, servlen, flags, NULL, 0); 114 int android_getnameinfoforiface(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv, size_t servlen, int flags, const char* iface, int mark) 119 return getnameinfo_inet(sa, salen, host, hostlen, 122 return getnameinfo_local(sa, salen, host, hostlen, 136 char *host, socklen_t hostlen, char *serv, socklen_t servlen, 149 if (host && hostlen > 0) 151 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); 180 char *host, socklen_t hostlen, 283 if (host == NULL || hostlen == 0) [all...] |
/external/dropbear/ |
fake-rfc2553.c | 47 size_t hostlen, char *serv, size_t servlen, int flags) 62 hostlen) >= hostlen) 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
cli-kex.c | 213 unsigned int hostlen, algolen; local 228 hostlen = strlen(cli_opts.remotehost); 241 if (line->len < (hostlen+30) ) { 247 if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), 248 hostlen) != 0) { 253 buf_incrpos(line, hostlen); 307 buf_putbytes(line, ses.remotehost, hostlen);
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 48 size_t hostlen, char *serv, size_t servlen, int flags) 65 hostlen) >= hostlen) 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
port-aix.c | 411 size_t hostlen, char *serv, size_t servlen, int flags) 422 strlcpy(host, "::", hostlen); 427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
|
/external/libnl-headers/netlink/ |
addr.h | 46 extern int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen);
|
/external/tcpdump/missing/ |
getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 104 size_t hostlen; 205 if (host == NULL || hostlen == 0) { 209 * "||" here: RFC2553 says that host == NULL OR hostlen == 0 219 if (strlen(numaddr) + 1 > hostlen) 259 if (strlen(hp->h_name) + 1 > hostlen) { 275 if (strlen(numaddr) + 1 > hostlen)
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_ncons.c | 465 int hostlen; 481 hostlen = strlen(hostptr); 483 hostlen = p - hostptr; 485 if (hostlen == 0) 491 if (hostlen > base->length) 493 p = hostptr + hostlen - base->length; 500 if ((base->length != (int)hostlen) || strncasecmp(hostptr, baseptr, hostlen))
|
/external/openssl/crypto/x509v3/ |
v3_ncons.c | 465 int hostlen; 481 hostlen = strlen(hostptr); 483 hostlen = p - hostptr; 485 if (hostlen == 0) 491 if (hostlen > base->length) 493 p = hostptr + hostlen - base->length; 500 if ((base->length != (int)hostlen) || strncasecmp(hostptr, baseptr, hostlen))
|
/external/qemu/ |
sockets.h | 253 size_t hostlen,
|
sockets.c | 857 size_t hostlen, 881 ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.h | 261 size_t hostlen,
|
sockets.c | 861 size_t hostlen, 885 ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
proxydetect.cc | 241 size_t hostlen = url.host().length(); local 242 return (hostlen > len) 243 && (stricmp(url.host().c_str() + (hostlen - len), item) == 0); 815 DWORD hostlen = _snprintf(host, sizeof(host), "http%s://%S", 817 if (pIGPI(surl.data(), surl.size(), host, hostlen, &ptr, &proxylen)) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
proxydetect.cc | 243 size_t hostlen = url.host().length(); local 244 return (hostlen > len) 245 && (stricmp(url.host().c_str() + (hostlen - len), item) == 0); 817 DWORD hostlen = _snprintf(host, sizeof(host), "http%s://%S", 819 if (pIGPI(surl.data(), surl.size(), host, hostlen, &ptr, &proxylen)) { [all...] |
/external/chromium/third_party/libevent/ |
http.c | 107 size_t hostlen, char *serv, size_t servlen, int flags) 122 hostlen) >= hostlen) 133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) [all...] |
/external/chromium_org/third_party/libevent/ |
http.c | 107 size_t hostlen, char *serv, size_t servlen, int flags) 122 hostlen) >= hostlen) 133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) [all...] |