/bionic/tests/ |
netdb_test.cpp | 172 static void VerifyLocalhost(hostent *hent) { 173 ASSERT_TRUE(hent != NULL); 174 VerifyLocalhostName(hent->h_name); 175 for (size_t i = 0; hent->h_aliases[i] != NULL; ++i) { 176 VerifyLocalhostName(hent->h_aliases[i]); 178 ASSERT_EQ(hent->h_addrtype, AF_INET); 179 ASSERT_EQ(hent->h_addr[0], 127); 180 ASSERT_EQ(hent->h_addr[1], 0); 181 ASSERT_EQ(hent->h_addr[2], 0); 182 ASSERT_EQ(hent->h_addr[3], 1) 196 hostent hent; local 218 hostent hent; local 247 hostent hent; local 269 hostent hent; local 279 hostent hent; local 290 hostent hent; local [all...] |
/external/boringssl/src/crypto/x509/ |
by_dir.c | 335 BY_DIR_HASH htmp, *hent; local 349 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 350 k = hent->suffix; 354 hent = NULL; 362 hent = NULL; 443 if (!hent) 447 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 449 if (!hent) 451 hent = OPENSSL_malloc(sizeof(BY_DIR_HASH)); 452 if (hent == NULL [all...] |
/bionic/libc/dns/net/ |
sethostent.c | 130 struct hostent *hp, hent; local 154 hent.h_name = NULL; /* XXX: gcc */ 155 hent.h_addrtype = 0; /* XXX: gcc */ 156 hent.h_length = 0; /* XXX: gcc */ 180 hent.h_addrtype = af = hp->h_addrtype; 181 hent.h_length = hp->h_length; 183 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); 213 hp->h_addrtype = hent.h_addrtype; 214 hp->h_length = hent.h_length; 224 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len) [all...] |
gethnamaddr.c | 202 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) 224 hent->h_name = NULL; 266 hent->h_name = bp; 269 qname = hent->h_name; 271 hent->h_aliases = ap = aliases; 272 hent->h_addr_list = hap = addr_ptrs; 323 hent->h_name = bp; 375 hent->h_name = bp; 388 hent->h_name = bp; 396 map_v4v6_hostent(hent, &bp, ep) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 411 struct hostent hent; member in struct:__anon37627 425 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 427 ((hp).hent.h_name = (hp).h_name), \ 428 ((hp).hptr = &(hp).hent), \ 471 struct hostent hent; member in struct:__anon37629 480 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 482 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 487 struct hostent hent; member in struct:__anon37631 496 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 411 struct hostent hent; member in struct:__anon39490 425 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 427 ((hp).hent.h_name = (hp).h_name), \ 428 ((hp).hptr = &(hp).hent), \ 471 struct hostent hent; member in struct:__anon39492 480 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 482 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 487 struct hostent hent; member in struct:__anon39494 496 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/external/fio/engines/ |
rdma.c | 919 struct hostent *hent; local 921 hent = gethostbyname(host); 922 if (!hent) { 927 memcpy(&rd->addr.sin_addr, hent->h_addr, 4);
|
/external/ppp/pppd/ |
tty.c | 878 struct hostent *hent; local 892 hent = gethostbyname(dest); 893 if (hent == NULL) { 898 host = *(u_int32_t *)(hent->h_addr_list[0]); [all...] |
/external/blktrace/ |
blktrace.c | 950 struct hostent *hent; local 952 hent = gethostbyname(hostname); 953 if (!hent) { 971 memcpy(&addr->sin_addr, hent->h_addr, 4); 972 strcpy(hostname, hent->h_name); [all...] |
/external/valgrind/helgrind/ |
libhb_core.c | 4361 UWord hent; local [all...] |