/netbsd/external/bsd/libbind/dist/irs/ |
H A D | gethostent_r.c | 174 len += strlen(he->h_aliases[i]) + 1; in copy_hostent() 208 hptr->h_aliases = ptr; in copy_hostent() 209 for (i = 0 ; he->h_aliases[i]; i++) { in copy_hostent() 210 n = strlen(he->h_aliases[i]) + 1; in copy_hostent() 211 strcpy(cp, he->h_aliases[i]); in copy_hostent() 212 hptr->h_aliases[i] = cp; in copy_hostent() 215 hptr->h_aliases[i] = NULL; in copy_hostent() 257 hptr->h_aliases = hdptr->host_aliases; in copy_hostent() 260 strcpy(cp, he->h_aliases[i]); in copy_hostent() 261 hptr->h_aliases[i] = cp; in copy_hostent() [all …]
|
H A D | gethostent.c | 304 he.h_aliases = aliases; in getipnodebyname() 305 he.h_aliases[0] = NULL; in getipnodebyname() 438 cpp = he->h_aliases; in freehostent() 445 memput(he->h_aliases, sizeof(char *) * (names)); in freehostent() 811 cpp = he1->h_aliases; in copyandmerge() 825 cpp = he2->h_aliases; in copyandmerge() 892 if (he->h_aliases == NULL) in copyandmerge() 897 npp = he->h_aliases; in copyandmerge() 898 cpp = (he1 != NULL) ? he1->h_aliases : he2->h_aliases; in copyandmerge() 922 cpp = he->h_aliases; in copyandmerge() [all …]
|
H A D | irp_ho.c | 384 if (ho->h_aliases != NULL) { in free_host() 385 for (p = ho->h_aliases ; *p != NULL ; p++) in free_host() 387 free(ho->h_aliases); in free_host()
|
H A D | irpmarshall.c | 920 need += joinlength(ho->h_aliases) + 1; in irp_marshall_ho() 953 joinarray(ho->h_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_ho() 1111 ho->h_aliases = aliases; in irp_unmarshall_ho() 2139 for (i = 0 ; he.h_aliases[i] != NULL ; i++) in main() 2140 printf("\n\t\t\"%s\"", he.h_aliases[i]); in main()
|
H A D | lcl_ho.c | 239 for (hap = hp->h_aliases; *hap; hap++) { in ho_byname2() 409 q = pvt->host.h_aliases = pvt->host_aliases; in ho_next()
|
/netbsd/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 | 199 he.h_aliases = NULL; in roken_gethostby()
|
/netbsd/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 …]
|
/netbsd/distrib/utils/libhack/ |
H A D | gethost.c | 216 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in gethostent_r() 223 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in gethostent_r() 224 hent->h_aliases[anum] = NULL; in gethostent_r()
|
/netbsd/external/apache2/mDNSResponder/nss/ |
H A D | nss_mdnsd.c | 648 ctx->host.h_aliases = ctx->host_aliases; in _mdns_hostent_init() 650 ctx->host.h_name = ctx->host.h_aliases[0] = NULL; in _mdns_hostent_init() 681 if (!strncmp(ctx->host.h_aliases[i], name, len) in _mdns_hostent_add_host() 682 && (strlen(ctx->host.h_aliases[i]) == len)) { in _mdns_hostent_add_host() 693 ctx->host.h_aliases[ctx->naliases - 1] = ctx->next; in _mdns_hostent_add_host() 725 HENT_ARRAY(hp->h_aliases, ctx->naliases - 1, ptr, len); in _mdns_hostent_done() 736 HENT_SCOPY(hp->h_aliases[i], chp->h_aliases[i], ptr, len); in _mdns_hostent_done() 737 hp->h_aliases[ctx->naliases - 1] = NULL; in _mdns_hostent_done()
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | hostname.c | 346 if (h->h_aliases != NULL) in print_hostname() 347 for (i = 0; h->h_aliases[i] != NULL; i++) in print_hostname() 348 printf ("%s\n", h->h_aliases[i]); in print_hostname()
|
/netbsd/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()
|
/netbsd/external/bsd/openldap/dist/libraries/libldap/ |
H A D | util-int.c | 811 if( src->h_aliases != NULL ) { in copy_hostent() 812 for( p = src->h_aliases; (*p) != NULL; p++ ) { in copy_hostent() 836 res->h_aliases = tp; in copy_hostent() 837 if ( src->h_aliases != NULL ) { in copy_hostent() 838 tbuf = cpy_aliases( &tp, tbuf, src->h_aliases ); in copy_hostent()
|
/netbsd/lib/libbluetooth/ |
H A D | bluetooth.c | 73 for (cp = p->h_aliases; *cp != 0; cp++) in bt_gethostbyname() 137 q = host.h_aliases = host_aliases; in bt_gethostent()
|
/netbsd/external/bsd/ntp/dist/libntp/ |
H A D | machines.c | 48 host1->h_aliases = name; in gethostbyname() 62 host1->h_aliases = name; in gethostbyaddr()
|
/netbsd/external/bsd/ntp/dist/include/ |
H A D | ntp_machine.h | 141 char **h_aliases; /* alias list */ member
|
/netbsd/include/ |
H A D | netdb.h | 150 char **h_aliases; /*%< alias list */ member
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 296 char **h_aliases; member
|
H A D | sanitizer_platform_limits_openbsd.cc | 165 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 298 char **h_aliases; member
|
H A D | sanitizer_platform_limits_openbsd.cc | 167 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 296 char **h_aliases; member
|