/freebsd-11-stable/lib/libedit/ |
H A D | common.c | 714 const Char *hp; local 738 hp = HIST_FIRST(el); 739 if (hp == NULL) 745 hp = HIST_NEXT(el); 747 while (hp != NULL) { 749 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp); 751 if ((Strncmp(hp, el->el_line.buffer, (size_t) 753 hp[el->el_line.lastchar - el->el_line.buffer]) && 754 c_hmatch(el, hp)) { 759 hp 782 const Char *hp; local [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | udb.c | 410 struct hes_postoffice *hp; local 420 hp = hes_getmailhost(a->q_user); 421 if (hp == NULL) 434 if (strlen(hp->po_name) + strlen(hp->po_host) > 440 hp->po_name, 441 hp->po_host); 446 "%s@%s", hp->po_name, hp->po_host); 1241 char **hp; local [all...] |
/freebsd-11-stable/contrib/amd/amq/ |
H A D | pawd.c | 178 struct hostent *hp; local 194 if ((hp = gethostbyname(server)) == NULL) 199 server_addr.sin_addr = *(struct in_addr *) hp->h_addr;
|
/freebsd-11-stable/crypto/openssh/ |
H A D | umac.c | 327 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) argument 329 * then stored via hp pointer. The length of the data pointed at by "dp", 341 h = *((UINT64 *)hp); 357 *((UINT64 *)hp) = h; 362 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) argument 375 h1 = *((UINT64 *)hp); 376 h2 = *((UINT64 *)hp + 1); 403 ((UINT64 *)hp)[0] = h1; 404 ((UINT64 *)hp)[1] = h2; 409 static void nh_aux(void *kp, const void *dp, void *hp, UINT3 argument 464 nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) argument [all...] |
/freebsd-11-stable/contrib/amd/conf/transp/ |
H A D | transp_sockets.c | 55 struct hostent *hp; local 84 hp = gethostbyname(preferred_localhost); 85 if (hp == NULL) { 91 if (hp->h_addr_list == NULL) { 96 if (hp->h_addr_list[1] != NULL) { 101 memmove((voidp) &iap->s_addr, (voidp) hp->h_addr_list[0], sizeof(iap->s_addr));
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | init.c | 348 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); local 349 hp->flags |= NODE_OPERATOR; 350 hp->is_directive = 0; 351 hp->directive_index = b->value; 369 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); local 370 hp->type = NT_MACRO; 371 hp->flags |= NODE_BUILTIN | NODE_WARN; 372 hp->value.builtin = (enum builtin_type) b->value;
|
/freebsd-11-stable/lib/libc/net/ |
H A D | getnameinfo.c | 173 struct hostent *hp; local 284 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 286 if (hp) { 294 p = strchr(hp->h_name, '.'); 299 if (strlen(hp->h_name) + 1 > hostlen) { 300 freehostent(hp); 303 strlcpy(host, hp->h_name, hostlen); 304 freehostent(hp);
|
H A D | hesiod.c | 372 HEADER *hp; local 394 hp = (HEADER *) (void *) abuf; 395 ancount = ntohs(hp->ancount); 396 qdcount = ntohs(hp->qdcount); 546 hes_free(hp) 547 char **hp; 549 hesiod_free_list(context, hp);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_socket.c | 775 struct hookpriv *hp; local 786 hp = NG_HOOK_PRIVATE(hook); 788 LIST_REMOVE(hp, next); 791 LIST_INSERT_HEAD(&new[h], hp, next); 807 struct hookpriv *hp; local 810 hp = malloc(sizeof(*hp), M_NETGRAPH_SOCK, M_NOWAIT); 811 if (hp == NULL) 815 hp->hook = hook; 817 LIST_INSERT_HEAD(&priv->hash[h], hp, nex 846 struct hookpriv *hp; local 1040 struct hookpriv *hp = NG_HOOK_PRIVATE(hook); local [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/ |
H A D | fbt.c | 313 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; local 317 uint32_t objtoff = hp->cth_objtoff; 318 uint32_t funcoff = hp->cth_funcoff; 323 if (hp->cth_magic != CTF_MAGIC) { 344 if (objtoff >= hp->cth_funcoff || 355 if (funcoff >= hp->cth_typeoff) { 411 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; local 422 if (hp->cth_magic != CTF_MAGIC) 425 tbuf = (const ctf_type_t *) (ctfdata + hp->cth_typeoff); 426 tend = (const ctf_type_t *) (ctfdata + hp 746 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; local 770 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab;; local [all...] |
/freebsd-11-stable/contrib/sendmail/libmilter/ |
H A D | sm_gethost.c | 116 static struct hostent hp; local 120 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
|
H A D | listener.c | 385 struct hostent *hp = NULL; local 387 hp = mi_gethostbyname(at, addr.sa.sa_family); 388 if (hp == NULL) 395 addr.sa.sa_family = hp->h_addrtype; 396 switch (hp->h_addrtype) 401 hp->h_addr, 410 hp->h_addr, 419 name, at, hp->h_addrtype); 423 freehostent(hp);
|
/freebsd-11-stable/usr.sbin/mountd/ |
H A D | mountd.c | 1418 struct hostlist *hp; local 1444 hp = dp->dp_hosts; 1445 while (hp) { 1446 grp = hp->ht_grp; 1462 hp = hp->ht_next; 1463 if (gotalldir && hp == (struct hostlist *)NULL) { 1464 hp = adp->dp_hosts; 2433 struct hostlist *hp; local 2452 hp 2486 struct hostlist *hp; local 2564 struct hostlist *hp; local 2915 free_host(struct hostlist *hp) argument 2929 struct hostlist *hp; local [all...] |
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | bitdomain.c | 214 HEADER *hp; local 268 hp = (HEADER *) &answer; 273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ) 281 for (ancount = ntohs(hp->ancount); --ancount >= 0 && ap < eom; ap += n)
|
/freebsd-11-stable/sbin/ifconfig/ |
H A D | af_inet.c | 135 struct hostent *hp; local 167 if ((hp = gethostbyname(s)) != NULL) 168 bcopy(hp->h_addr, (char *)&sin->sin_addr, 169 MIN((size_t)hp->h_length, sizeof(sin->sin_addr)));
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_dof.c | 585 dof_hdr(dtrace_hdl_t *dtp, uint8_t dofversion, dof_hdr_t *hp) argument 597 bzero(hp, sizeof (dof_hdr_t)); 599 hp->dofh_ident[DOF_ID_MAG0] = DOF_MAG_MAG0; 600 hp->dofh_ident[DOF_ID_MAG1] = DOF_MAG_MAG1; 601 hp->dofh_ident[DOF_ID_MAG2] = DOF_MAG_MAG2; 602 hp->dofh_ident[DOF_ID_MAG3] = DOF_MAG_MAG3; 605 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_LP64; 607 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_ILP32; 609 hp->dofh_ident[DOF_ID_ENCODING] = DOF_ENCODE_NATIVE; 610 hp [all...] |
/freebsd-11-stable/tools/tools/net80211/wlanwatch/ |
H A D | wlanwatch.c | 143 struct hostent *hp; local 169 hp = gethostbyaddr((char *)&in, sizeof (struct in_addr), 171 if (hp) { 172 if ((cp = strchr(hp->h_name, '.')) && 175 cp = hp->h_name;
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | config.sub | 162 | unicom* | ibm* | next | hp | isi* | apollo | altos* \ 290 basic_machine=m68k-hp 294 basic_machine=m68k-hp 298 basic_machine=hppa1.1-hp 302 basic_machine=hppa1.1-hp 920 basic_machine=m68k-hp 923 basic_machine=hppa1.0-hp 926 basic_machine=m68000-hp 929 basic_machine=m68k-hp 932 basic_machine=hppa1.0-hp [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | config.sub | 162 | unicom* | ibm* | next | hp | isi* | apollo | altos* \ 290 basic_machine=m68k-hp 294 basic_machine=m68k-hp 298 basic_machine=hppa1.1-hp 302 basic_machine=hppa1.1-hp 920 basic_machine=m68k-hp 923 basic_machine=hppa1.0-hp 926 basic_machine=m68000-hp 929 basic_machine=m68k-hp 932 basic_machine=hppa1.0-hp [all...] |
/freebsd-11-stable/sbin/ping/ |
H A D | ping.c | 243 struct hostent *hp; local 578 hp = cap_gethostbyname2(capdns, source, 582 hp = gethostbyname2(source, AF_INET); 583 if (!hp) 588 if ((unsigned)hp->h_length > sizeof(sock_in.sin_addr) || 589 hp->h_length < 0) 591 memcpy(&sock_in.sin_addr, hp->h_addr_list[0], 593 (void)strncpy(snamebuf, hp->h_name, 612 hp = cap_gethostbyname2(capdns, target, AF_INET); 615 hp 1705 struct hostent *hp; local [all...] |
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 2600 struct nfsrv_lughash *hp; local 2625 hp = NFSUSERHASH(uid); 2626 mtx_lock(&hp->mtx); 2627 TAILQ_FOREACH(usrp, &hp->lughead, lug_numhash) { 2647 mtx_unlock(&hp->mtx); 2662 TAILQ_REMOVE(&hp->lughead, usrp, lug_numhash); 2663 TAILQ_INSERT_TAIL(&hp->lughead, usrp, 2665 mtx_unlock(&hp->mtx); 2669 mtx_unlock(&hp->mtx); 2709 struct nfsrv_lughash *hp; local 2761 struct nfsrv_lughash *hp, *hp2; local 2862 struct nfsrv_lughash *hp; local 2977 struct nfsrv_lughash *hp, *hp2; local 3628 struct nfsrv_lughash *hp; local 3660 struct nfsrv_lughash *hp, *hp2; local [all...] |
/freebsd-11-stable/contrib/binutils/ |
H A D | config.sub | 147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 579 basic_machine=m68k-hp 582 basic_machine=m68k-hp 586 basic_machine=m68k-hp 590 basic_machine=hppa1.0-hp 593 basic_machine=m68000-hp 596 basic_machine=m68k-hp 599 basic_machine=hppa1.0-hp 602 basic_machine=hppa1.1-hp 605 # FIXME: really hppa2.0-hp [all...] |
/freebsd-11-stable/contrib/libreadline/support/ |
H A D | config.sub | 143 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 516 basic_machine=m68k-hp 519 basic_machine=m68k-hp 523 basic_machine=m68k-hp 527 basic_machine=hppa1.0-hp 530 basic_machine=m68000-hp 533 basic_machine=m68k-hp 536 basic_machine=hppa1.0-hp 539 basic_machine=hppa1.1-hp 542 # FIXME: really hppa2.0-hp [all...] |
/freebsd-11-stable/crypto/heimdal/ |
H A D | config.sub | 151 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 624 basic_machine=m68k-hp 627 basic_machine=m68k-hp 631 basic_machine=m68k-hp 635 basic_machine=hppa1.0-hp 638 basic_machine=m68000-hp 641 basic_machine=m68k-hp 644 basic_machine=hppa1.0-hp 647 basic_machine=hppa1.1-hp 650 # FIXME: really hppa2.0-hp [all...] |
/freebsd-11-stable/contrib/openbsm/config/ |
H A D | config.sub | 143 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 524 basic_machine=m68k-hp 527 basic_machine=m68k-hp 531 basic_machine=m68k-hp 535 basic_machine=hppa1.0-hp 538 basic_machine=m68000-hp 541 basic_machine=m68k-hp 544 basic_machine=hppa1.0-hp 547 basic_machine=hppa1.1-hp 550 # FIXME: really hppa2.0-hp [all...] |