/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 | 330 BY_DIR_HASH htmp, *hent; local 345 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 346 k = hent->suffix; 350 hent = NULL; 358 hent = NULL; 438 if (!hent) 443 hent = 446 if (!hent) 448 hent = OPENSSL_malloc(sizeof(BY_DIR_HASH)); 449 hent->hash = h [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/lib/gcc/i686-linux/4.4.3/include-fixed/X11/ |
Xos_r.h | 447 struct hostent hent; member in struct:__anon39301 461 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 463 ((hp).hent.h_name = (hp).h_name), \ 464 ((hp).hptr = &(hp).hent), \ 510 struct hostent hent; member in struct:__anon39303 519 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 521 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 526 struct hostent hent; member in struct:__anon39305 535 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xos_r.h | 438 struct hostent hent; member in struct:__anon39421 452 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 454 ((hp).hent.h_name = (hp).h_name), \ 455 ((hp).hptr = &(hp).hent), \ 501 struct hostent hent; member in struct:__anon39423 510 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 512 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 517 struct hostent hent; member in struct:__anon39425 526 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/include-fixed/X11/ |
Xos_r.h | 447 struct hostent hent; member in struct:__anon40891 461 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 463 ((hp).hent.h_name = (hp).h_name), \ 464 ((hp).hptr = &(hp).hent), \ 510 struct hostent hent; member in struct:__anon40893 519 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 521 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 526 struct hostent hent; member in struct:__anon40895 535 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xos_r.h | 438 struct hostent hent; member in struct:__anon41011 452 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 454 ((hp).hent.h_name = (hp).h_name), \ 455 ((hp).hptr = &(hp).hent), \ 501 struct hostent hent; member in struct:__anon41013 510 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 512 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 517 struct hostent hent; member in struct:__anon41015 526 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xos_r.h | 438 struct hostent hent; member in struct:__anon42526 452 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 454 ((hp).hent.h_name = (hp).h_name), \ 455 ((hp).hptr = &(hp).hent), \ 501 struct hostent hent; member in struct:__anon42528 510 gethostbyname_r((h),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 512 gethostbyaddr_r((a),(al),(t),&(hp).hent,(hp).hbuf,sizeof((hp).hbuf),&(hp).herr) 517 struct hostent hent; member in struct:__anon42530 526 ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent)) [all...] |
/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 | 4008 UWord hent; local [all...] |