/system/extras/tests/bionic/libc/common/ |
test_gethostbyname.c | 39 struct hostent* hent; local 45 hent = gethostbyname(hostname); 46 if (hent == NULL) { 51 printf( " name: %s\n", hent->h_name ); 53 for (i = 0; hent->h_aliases[i] != NULL; i++) 54 printf( " %s", hent->h_aliases[i] ); 57 switch (hent->h_addrtype) { 60 default: printf("UNKNOWN (%d)\n", hent->h_addrtype); 63 switch (hent->h_addrtype) { 67 for (i = 0; i < hent->h_length; i++) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
by_dir.c | 336 BY_DIR_HASH htmp, *hent; local 351 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 352 k = hent->suffix; 356 hent = NULL; 364 hent = NULL; 444 if (!hent) 449 hent = 452 if (!hent) 454 hent = OPENSSL_malloc(sizeof(BY_DIR_HASH)); 455 hent->hash = h [all...] |
/external/openssl/crypto/x509/ |
by_dir.c | 328 BY_DIR_HASH htmp, *hent; local 343 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 344 k = hent->suffix; 348 hent = NULL; 356 hent = NULL; 436 if (!hent) 441 hent = 444 if (!hent) 446 hent = OPENSSL_malloc(sizeof(BY_DIR_HASH)); 447 hent->hash = h [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/ |
Xos_r.h | 411 struct hostent hent; member in struct:__anon44848 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:__anon44850 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:__anon44852 496 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [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:__anon46584 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:__anon46586 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:__anon46588 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 | 874 struct hostent *hent; local 888 hent = gethostbyname(dest); 889 if (hent == NULL) { 894 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/main/helgrind/ |
libhb_core.c | 4005 UWord hent; local [all...] |