/minix/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | copyhostent.c | 55 res->h_aliases = NULL; in copyhostent() 64 for (n = 0, p = h->h_aliases; *p != NULL; ++p) in copyhostent() 66 res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases)); in copyhostent() 67 if (res->h_aliases == NULL) { in copyhostent() 72 res->h_aliases[i] = NULL; in copyhostent() 74 res->h_aliases[i] = strdup (h->h_aliases[i]); in copyhostent() 75 if (res->h_aliases[i] == NULL) { in copyhostent()
|
H A D | freehostent.c | 50 if (h->h_aliases != NULL) { in freehostent() 51 for (p = h->h_aliases; *p != NULL; ++p) in freehostent() 53 free (h->h_aliases); in freehostent()
|
H A D | hostent_find_fqdn.c | 51 for (h = (const char **)he->h_aliases; *h != NULL; ++h) { in hostent_find_fqdn()
|
H A D | roken_gethostby.c | 198 he.h_aliases = NULL; in roken_gethostby()
|
/minix/external/bsd/bind/dist/lib/lwres/ |
H A D | getipnode.c | 265 he.h_aliases = aliases; in lwres_getipnodebyname() 266 he.h_aliases[0] = NULL; in lwres_getipnodebyname() 484 cpp = he->h_aliases; in lwres_freehostent() 491 free(he->h_aliases); in lwres_freehostent() 863 cpp = he1->h_aliases; in copyandmerge() 877 cpp = he2->h_aliases; in copyandmerge() 957 npp = he->h_aliases; in copyandmerge() 987 cpp = he->h_aliases; in copyandmerge() 992 free(he->h_aliases); in copyandmerge() 1078 free(he->h_aliases); in hostfromaddr() [all …]
|
H A D | gethost.c | 315 for (i = 0; src->h_aliases[i]; i++, nptr++) { in copytobuf() 316 len += strlen(src->h_aliases[i]) + 1; in copytobuf() 357 hptr->h_aliases = ptr; in copytobuf() 358 for (i = 0; src->h_aliases[i]; i++) { in copytobuf() 359 n = strlen(src->h_aliases[i]) + 1; in copytobuf() 360 strcpy(cp, src->h_aliases[i]); in copytobuf() 361 hptr->h_aliases[i] = cp; in copytobuf() 364 hptr->h_aliases[i] = NULL; in copytobuf()
|
/minix/lib/libc/net/ |
H A D | sethostent.c | 194 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2() 205 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 208 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2() 237 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 248 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2() 249 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
H A D | gethnamaddr.c | 283 hent->h_aliases = ap = aliases; in getanswer() 497 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer() 500 hent->h_aliases = (void *)bp; in getanswer() 658 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal() 660 hp->h_aliases[0] = NULL; in gethostbyname_internal() 815 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in gethostent_r() 822 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in gethostent_r() 823 hent->h_aliases[anum] = NULL; in gethostent_r() 1206 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent() 1216 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _yp_hostent() [all …]
|
/minix/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | resolver.c | 240 if (hp->h_aliases != NULL) { in copy_decode_hostent_static() 249 newhp->h_aliases = (char **)buf; in copy_decode_hostent_static() 328 if (hp->h_aliases != NULL) { in copy_decode_hostent_static() 332 char **aliases = hp->h_aliases; in copy_decode_hostent_static() 415 if (hp->h_aliases != NULL) { in copy_decode_hostent_dynamic() 447 if (hp->h_aliases != NULL) { in copy_decode_hostent_dynamic() 448 newhp->h_aliases = pp; in copy_decode_hostent_dynamic() 450 newhp->h_aliases[i] = in copy_decode_hostent_dynamic() 452 if (newhp->h_aliases[i] == NULL) in copy_decode_hostent_dynamic() 489 if (hp->h_aliases != NULL) { in free_copied_hostent() [all …]
|
/minix/crypto/external/bsd/openssl/dist/crypto/bio/ |
H A D | b_sock.c | 298 for (i = 0; a->h_aliases[i] != NULL; i++) ; 301 if (ret->h_aliases == NULL) 303 memset(ret->h_aliases, 0, i * sizeof(char *)); 316 for (i = 0; a->h_aliases[i] != NULL; i++) { 317 j = strlen(a->h_aliases[i]) + 1; 318 if ((ret->h_aliases[i] = OPENSSL_malloc(j)) == NULL) 320 memcpy(ret->h_aliases[i], a->h_aliases[i], j); 346 if (a->h_aliases != NULL) { 347 for (i = 0; a->h_aliases[i] != NULL; i++) 348 OPENSSL_free(a->h_aliases[i]); [all …]
|
/minix/tests/lib/libc/net/ |
H A D | h_hostent.c | 62 for (i = 0; h->h_aliases[i]; i++) in phostent() 63 printf("%s%s", i == 0 ? "" : " ", h->h_aliases[i]); in phostent()
|
/minix/minix/lib/liblwip/dist/src/api/ |
H A D | netdb.c | 115 s_hostent.h_aliases = &s_aliases; in lwip_gethostbyname() 123 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases == %p\n", (void*)s_hostent.h_aliases)); in lwip_gethostbyname() 216 ret->h_aliases = &h->aliases; in lwip_gethostbyname_r()
|
/minix/external/bsd/bind/dist/bin/tests/ |
H A D | gxbn_test.c | 41 c = he->h_aliases; in print_he()
|
H A D | gxba_test.c | 41 c = he->h_aliases; in print_he()
|
/minix/minix/lib/liblwip/dist/src/include/lwip/ |
H A D | netdb.h | 94 char **h_aliases; /* A pointer to an array of pointers to alternative host names, member
|
/minix/include/ |
H A D | netdb.h | 150 char **h_aliases; /*%< alias list */ member
|
/minix/usr.bin/getent/ |
H A D | getent.c | 300 printfmtstrings(he->h_aliases, " ", " ", "%-16s %s", buf, he->h_name); in hostsprint()
|