Searched refs:hp (Results 126 - 150 of 274) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_warc.c456 const char *hp;
478 for (hp = hay + 1U, np = needle + 1U, hsum = *hay, nsum = *hay, eqp = 1U;
479 hp < eoh && np < eon;
480 hsum ^= *hp, nsum ^= *np, eqp &= *hp == *np, hp++, np++);
493 for (cand = hay; hp < eoh; hp++) {
495 hsum ^= *hp;
455 const char *hp; local
/freebsd-11-stable/contrib/amd/amd/
H A Dautil.c129 struct hostent *hp; local
130 hp = gethostbyname(*chp);
131 if (hp && hp->h_addrtype == AF_INET) {
132 dlog("Hostname %s normalized to %s", *chp, hp->h_name);
133 *chp = strealloc(*chp, (char *) hp->h_name);
/freebsd-11-stable/contrib/libpcap/
H A Dnametoaddr.c163 struct hostent *hp; local
165 if ((hp = gethostbyname(name)) != NULL) {
167 hlist[0] = (bpf_u_int32 *)hp->h_addr;
168 NTOHL(hp->h_addr);
171 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p)
173 return (bpf_u_int32 **)hp->h_addr_list;
/freebsd-11-stable/sys/dev/acpi_support/
H A Dacpi_hp.c35 * Inspired by the hp-wmi driver, which implements a subset of these
39 * http://h20331.www2.hp.com/Hpsub/downloads/cmi_whitepaper.pdf
40 * wmi-hp for Linux:
277 ACPI_SERIAL_DECL(hp, "HP ACPI-WMI Mapping");
437 if (acpi_disabled("hp"))
516 ACPI_SERIAL_BEGIN(hp);
565 ACPI_SERIAL_END(hp);
611 ACPI_SERIAL_BEGIN(hp);
618 ACPI_SERIAL_END(hp);
629 ACPI_SERIAL_ASSERT(hp);
[all...]
/freebsd-11-stable/sys/geom/
H A Dgeom_bsd.c546 struct h0h0 *hp; local
548 hp = arg;
549 hp->error = g_bsd_modify(hp->gp, hp->label);
550 if (!hp->error)
551 hp->error = g_bsd_writelabel(hp->gp, NULL);
/freebsd-11-stable/lib/libc/net/
H A Dgethostnamadr.c432 fakeaddr(const char *name, int af, struct hostent *hp, char *buf, argument
476 if (__copy_hostent(&he, hp, buf, buflen) != 0) {
524 gethostbyname_internal(const char *name, int af, struct hostent *hp, char *buf, argument
567 if (fakeaddr(name, af, hp, buf, buflen, statp) == 0) {
568 *result = hp;
573 "gethostbyname2_r", default_src, name, af, hp, buf, buflen,
584 gethostbyaddr_r(const void *addr, socklen_t len, int af, struct hostent *hp, argument
652 "gethostbyaddr_r", default_src, uaddr, len, af, hp, buf, buflen,
H A Dgetnetbydns.c160 HEADER *hp; local
184 hp = &answer->hdr;
185 ancount = ntohs(hp->ancount); /* #/records in the answer section */
186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
191 if (hp->aa)
H A Dgethostbydns.c143 const HEADER *hp; local
173 hp = &answer->hdr;
174 ancount = ntohs(hp->ancount);
175 qdcount = ntohs(hp->qdcount);
737 char *hp; local
743 hp = ap[j];
745 ap[j+1] = hp;
/freebsd-11-stable/usr.sbin/arp/
H A Darp.c273 struct hostent *hp; local
281 if (!(hp = gethostbyname(host))) {
285 bcopy((char *)hp->h_addr, (char *)&reply.sin_addr,
603 struct hostent *hp; local
615 hp = gethostbyaddr((caddr_t)&(addr->sin_addr),
618 hp = 0;
619 if (hp)
620 host = hp->h_name;
/freebsd-11-stable/sbin/ggate/shared/
H A Dggate.c398 struct hostent *hp; local
407 hp = gethostbyname(str);
408 if (hp == NULL)
410 return (((struct in_addr *)(void *)hp->h_addr)->s_addr);
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dxmlwin32url.cxx179 IWinInetHttpInfo *hp; local
181 (void **)&hp);
187 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType,
205 hp->Release();
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_lookup.c84 const ctf_helem_t *hp; local
144 if ((hp = ctf_hash_lookup(lp->ctl_hash, fp, p,
150 type = hp->h_type;
H A Dctf_create.c843 ctf_hash_t *hp = &fp->ctf_structs; local
849 hep = ctf_hash_lookup(hp, fp, name, strlen(name));
865 ctf_hash_t *hp = &fp->ctf_unions; local
871 hep = ctf_hash_lookup(hp, fp, name, strlen(name));
887 ctf_hash_t *hp = &fp->ctf_enums; local
893 hep = ctf_hash_lookup(hp, fp, name, strlen(name));
909 ctf_hash_t *hp; local
916 hp = &fp->ctf_structs;
919 hp = &fp->ctf_unions;
922 hp
1268 ctf_hash_t *hp; local
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Ddomain.c542 HEADER *hp; local
645 hp = (HEADER *)&answer;
702 ad = ad && hp->ad;
704 sm_dprintf("getmxrr(%s), hp=%p, ad=%d\n", host, (void*)hp, ad);
714 for (qdcount = ntohs((unsigned short) hp->qdcount);
726 ancount = ntohs((unsigned short) hp->ancount);
1259 HEADER *hp; local
1394 hp = (HEADER *) &answer;
1481 if (0 == hp
[all...]
H A Dsm_resolve.c546 HEADER *hp; local
554 hp = (HEADER *) buf;
570 hp->id = 0xdead; /* HACK */
571 hp->qr = 1;
572 hp->opcode = QUERY;
573 hp->rd = 0; /* recursion desired? */
574 hp->rcode = 0; /* !!! */
575 /* hp->aa = ?; * !!! */
576 /* hp->tc = ?; * !!! */
577 /* hp
[all...]
/freebsd-11-stable/stand/efi/loader/
H A Dframebuffer.c192 EFI_HANDLE *buf, *hp; local
211 for (hp = buf; hp < buf + bufsz; hp++) {
212 status = BS->HandleProtocol(*hp, &pciio_guid, (void **)&pciio);
/freebsd-11-stable/lib/libedit/
H A Dhistory.c420 * Delete element hp of the h list
438 * Delete element hp of the h list
443 TYPE(HistEvent) *ev __attribute__((__unused__)), hentry_t *hp)
445 HistEventPrivate *evp = (void *)&hp->ev;
446 if (hp == &h->list)
448 if (h->cursor == hp) {
449 h->cursor = hp->prev;
451 h->cursor = hp->next;
453 hp->prev->next = hp
442 history_def_delete(history_t *h, TYPE(HistEvent) *ev __attribute__((__unused__)), hentry_t *hp) argument
[all...]
/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c1896 register struct hostent *hp; local
1909 hp = cap_gethostbyname(capdns, domain);
1912 hp = gethostbyname(domain);
1913 if (hp != NULL)
1914 cp = strchr(hp->h_name, '.');
1928 hp = cap_gethostbyaddr(capdns, (char *)&in, sizeof(in),
1932 hp = gethostbyaddr((char *)&in, sizeof(in), AF_INET);
1933 if (hp != NULL) {
1934 if ((cp = strchr(hp->h_name, '.')) != NULL &&
1937 (void)strncpy(line, hp
1949 register struct hostent *hp; local
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Daddrtoname.c241 register struct hostent *hp; local
265 hp = cap_gethostbyaddr(capdns, (char *)&addr, 4,
269 hp = gethostbyaddr((char *)&addr, 4, AF_INET);
270 if (hp) {
273 p->name = strdup(hp->h_name);
276 "getname: strdup(hp->h_name)");
299 register struct hostent *hp; local
326 hp = cap_gethostbyaddr(capdns, (char *)&addr,
330 hp = gethostbyaddr((char *)&addr, sizeof(addr),
332 if (hp) {
[all...]
/freebsd-11-stable/sys/fs/nfsserver/
H A Dnfs_nfsdcache.c371 struct nfsrvhashhead *hp; local
376 hp = NFSRCUDPHASH(newrp->rc_xid);
379 LIST_FOREACH(rp, hp, rc_hash) {
440 LIST_INSERT_HEAD(hp, newrp, rc_hash);
605 struct nfsrvhashhead *hp, nfsrc_templist; local
610 hp = NFSRCHASH(newrp->rc_xid);
619 rp = LIST_FIRST(hp);
620 while (rp != LIST_END(hp)) {
661 LIST_INSERT_HEAD(hp, rp, rc_hash);
721 LIST_INSERT_HEAD(hp, newr
[all...]
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockaddr.c534 struct hostent *hp; local
565 hp = &hs;
573 hp = &hs;
578 &hp, &hosterror);
581 hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
584 if (!hp) {
589 hp = gethostbyname(hostname);
592 if (!hp) {
603 while (hp->h_addr_list[curaddr]) {
607 new_sa->sa.sin.sin_addr = *(struct in_addr *)hp
[all...]
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c1020 const struct bhndb_hw_priority *hp; local
1025 for (hp = table; hp->ports != NULL; hp++) {
1026 if (bhnd_core_matches(&ci, &hp->match))
1027 return (hp);
/freebsd-11-stable/usr.bin/getent/
H A Dgetent.c190 char hostname[MAXHOSTNAMELEN + 1], *hp; local
197 #define ETHERSPRINT printf("%-17s %s\n", ether_ntoa(eap), hp)
207 hp = argv[i];
208 if (ether_hostton(hp, eap) != 0) {
213 hp = hostname;
214 if (ether_ntohost(hp, eap) != 0) {
/freebsd-11-stable/contrib/libucl/src/
H A Dmum.h128 uint64_t hv = v >> 32, hp = p >> 32; local
130 uint64_t rh = hv * hp;
132 uint64_t rm_1 = hp * lv;
/freebsd-11-stable/usr.sbin/ppp/
H A Dpred.c181 u_char *cp, *wp, *hp; local
188 hp = wp = MBUF_CTOP(mwp);
202 *hp |= 0x80;

Completed in 403 milliseconds

1234567891011