/system/netd/ |
DnsProxyListener.cpp | 227 LOGD("GetHostByAddrHandler::run gethostbyaddr errno: %s hp->h_name = %s, name_len = %d\n", 229 (hp && hp->h_name) ? hp->h_name: "null", 230 (hp && hp->h_name) ? strlen(hp->h_name)+ 1 : 0); 233 bool success = sendLenAndData(mClient, (hp && hp->h_name) ? strlen(hp->h_name)+ 1 : 0, 234 (hp && hp->h_name) ? hp->h_name : "");
|
/external/chromium/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 79 total_len += strlen(ent->h_name) + 1; 98 result->h_name = p; 99 memcpy(p, ent->h_name, strlen(ent->h_name) + 1); 100 p += strlen(ent->h_name) + 1;
|
/bionic/libc/netbsd/ |
gethnamaddr.c | 192 rs->host.h_name = NULL; 235 rs->host.h_name = bp; 237 /* The qname can be abbreviated, but h_name is now absolute. */ 238 qname = rs->host.h_name; 297 rs->host.h_name = bp; 352 rs->host.h_name = bp; 367 rs->host.h_name = bp; 382 if (strcasecmp(rs->host.h_name, bp) != 0) { 384 AskedForGot, rs->host.h_name, bp); 403 rs->host.h_name = bp [all...] |
/external/dropbear/ |
fake-rfc2553.c | 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
|
/external/tcpdump/missing/ |
getnameinfo.c | 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 265 strcpy(host, hp->h_name);
|
getaddrinfo.c | 582 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 924 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 928 GET_CANONNAME(cur, hp->h_name); 936 if ((cn = strdup(hp->h_name)) == NULL) {
|
/external/ppp/pppd/plugins/radius/ |
ip_util.c | 113 return ((hp==NULL)?"unknown":hp->h_name);
|
/system/extras/tests/bionic/libc/common/ |
test_gethostbyname.c | 51 printf( " name: %s\n", hent->h_name );
|
/external/quake/quake/src/WinQuake/ |
mplpc.cpp | 103 char h_name[1]; // h_name is the only important value
member in struct:__anon10627 464 s->h_name = HostEnt_hname;
465 fstrncpyfrom(s->h_name, (char *) FARPKL(&old->h_name), HOSTENT_STRLEN_LIMIT-1);
466 s->h_name[HOSTENT_STRLEN_LIMIT-1] = 0;
610 if (FARPKL(&retVal->h_name) == 0) {
651 if (FARPKL(&retVal->h_name) == 0) {
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 210 if (fread(hp->h_name, name_len, 1, proxy) != 1) { 379 android_proxy_hostent.h_name = android_proxy_buf; 400 p = strchr(hp->h_name, '.'); 405 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { 408 strlcpy(host, hp->h_name, hostlen);
|
/external/openssl/crypto/bio/ |
b_sock.c | 322 j=strlen(a->h_name)+1; 323 if ((ret->h_name=OPENSSL_malloc(j)) == NULL) goto err; 324 memcpy((char *)ret->h_name,a->h_name,j); 369 if (a->h_name != NULL) OPENSSL_free(a->h_name);
|
/external/openssl/apps/ |
s_socket.c | 451 if ((*host=(char *)OPENSSL_malloc(strlen(h1->h_name)+1)) == NULL) 456 BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1);
|
/external/tcpdump/ |
addrtoname.c | 103 * h_name in struct hostent is only valid. 113 host.h_name = hostbuf; 126 strcpy(host.h_name, hname); 254 p->name = strdup(hp->h_name); 299 p->name = strdup(hp->h_name);
|
/bionic/libc/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/lib/gcc/i686-linux/4.4.3/include-fixed/X11/ |
Xos_r.h | 448 char h_name[MAXHOSTNAMELEN]; member in struct:__anon19819 462 strcpy((hp).h_name, (hp).hptr->h_name), \ 463 ((hp).hent.h_name = (hp).h_name), \ [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xos_r.h | 439 char h_name[MAXHOSTNAMELEN]; member in struct:__anon19939 453 strcpy((hp).h_name, (hp).hptr->h_name), \ 454 ((hp).hent.h_name = (hp).h_name), \ [all...] |
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/X11/ |
Xos_r.h | 448 char h_name[MAXHOSTNAMELEN]; member in struct:__anon21281 462 strcpy((hp).h_name, (hp).hptr->h_name), \ 463 ((hp).hent.h_name = (hp).h_name), \ [all...] |
/external/netcat/ |
netcat.c | 322 if (strcmp (poop->name, hp->h_name) != 0) { /* case-sensitive */ 324 if (strcasecmp (poop->name, hp->h_name) != 0) { /* normal */ 326 holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); 383 strncpy (poop->name, hostent->h_name, MAXHOSTNAMELEN - 2); 396 if ((! hostent) || (! hostent-> h_name)) 415 strncpy (poop->name, hostent->h_name, MAXHOSTNAMELEN - 2); [all...] |
/development/ndk/platforms/android-3/include/ |
netdb.h | 85 char *h_name; /* official name of host */ member in struct:hostent
|