/barrelfish-master/lib/libc/rpc/ |
H A D | getrpcport.c | 59 struct hostent *hp; local 63 if ((hp = gethostbyname(host)) == NULL) 69 if (hp->h_length > addr.sin_len) 70 hp->h_length = addr.sin_len; 71 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
|
/barrelfish-master/lib/msun/src/ |
H A D | e_remainder.c | 37 int32_t hx,hp; local 42 EXTRACT_WORDS(hp,lp,p); 44 hp &= 0x7fffffff; 48 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 50 ((hp>=0x7ff00000)&& /* p is NaN */ 51 (((hp-0x7ff00000)|lp)!=0))) 55 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ 56 if (((hx-hp)|(lx-lp))==0) return zero*x; 59 if (hp<0x00200000) {
|
H A D | e_remainderf.c | 28 int32_t hx,hp; local 33 GET_FLOAT_WORD(hp,p); 35 hp &= 0x7fffffff; 39 if(hp==0) return (x*p)/(x*p); /* p = 0 */ 41 ((hp>0x7f800000))) /* p is NaN */ 45 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ 46 if ((hx-hp)==0) return zero*x; 49 if (hp<0x01000000) {
|
/barrelfish-master/lib/libc/net/ |
H A D | map_v4v6.c | 88 _map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) { argument 91 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) 93 hp->h_addrtype = AF_INET6; 94 hp->h_length = IN6ADDRSZ; 95 for (ap = hp->h_addr_list; *ap; ap++) {
|
H A D | name6.c | 219 struct hostent *hp; local 284 hp = gethostbyname2(name, af); 285 hp = _hpcopy(hp, errp); 288 hp = _hpreorder(hp); 290 if (af == AF_INET6 && ((flags & AI_ALL) || hp == NULL) && 293 if (hp == NULL) 297 hp = _hpmapv6(hp2, errp); 299 if (hp2 && strcmp(hp 318 struct hostent *hp; local 401 _hpcopy(struct hostent *hp, int *errp) argument 482 struct hostent *hp, hpbuf; local 506 struct hostent *hp, hpbuf; local 568 _hpmapv6(struct hostent *hp, int *errp) argument 588 _hpsort(struct hostent *hp, res_state statp) argument 641 _hpreorder(struct hostent *hp) argument [all...] |
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);
|
H A D | gethostnamadr.c | 432 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 D | getnetbydns.c | 160 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 D | gethostbydns.c | 143 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;
|
H A D | getaddrinfo.c | 1990 const HEADER *hp; local 2018 hp = &answer->hdr; 2019 ancount = ntohs(hp->ancount); 2020 qdcount = ntohs(hp->qdcount); 2189 RES_SET_H_ERRNO(res, ntohs(hp->ancount) > 0 ? NO_DATA : NO_RECOVERY); 2703 HEADER *hp; local 2724 hp = (HEADER *)(void *)t->answer; 2735 hp->rcode = NOERROR; /* default */ 2770 rcode = hp->rcode; /* record most recent error */ 2779 hp 2830 HEADER *hp = (HEADER *)(void *)target->answer; /*XXX*/ local [all...] |
/barrelfish-master/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 127 struct hostent *hp, *hp2; local 130 hp = gethostbyname(host); 132 self, host, (hp == NULL) ? "not found" : "ok"); 134 if (hp) { 135 memcpy(buf, hp->h_addr, hp->h_length); 136 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype); 143 return hp ? 0 : -1; 150 struct hostent *hp, *hp local [all...] |
/barrelfish-master/lib/libc/resolv/ |
H A D | res_mkquery.c | 106 HEADER *hp; local 124 hp = (HEADER *) buf; 126 hp->id = htons(statp->id); 127 hp->opcode = op; 128 hp->rd = (statp->options & RES_RECURSE) != 0U; 129 hp->rcode = NOERROR; 152 hp->qdcount = htons(1); 173 hp->arcount = htons(1); 195 hp->ancount = htons(1); 214 HEADER *hp; local [all...] |
H A D | res_query.c | 118 HEADER *hp = (HEADER *) answer; local 126 hp->rcode = NOERROR; /*%< default */ 174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 178 p_rcode(hp->rcode), 179 ntohs(hp->ancount), 180 ntohs(hp->nscount), 181 ntohs(hp->arcount)); 183 switch (hp->rcode) { 219 HEADER *hp local [all...] |
H A D | res_mkupdate.c | 96 HEADER *hp; local 119 hp = (HEADER *) buf; 121 hp->id = htons(statp->id); 122 hp->opcode = ns_o_update; 123 hp->rcode = NOERROR; 728 hp->qdcount = htons(counts[0]); 729 hp->ancount = htons(counts[1]); 730 hp->nscount = htons(counts[2]); 731 hp->arcount = htons(counts[3]);
|
/barrelfish-master/lib/libc/db/hash/ |
H A D | ndbm.c | 192 HTAB *hp; local 194 hp = (HTAB *)db->internal; 195 return (hp->error); 201 HTAB *hp; local 203 hp = (HTAB *)db->internal; 204 hp->error = 0;
|
/barrelfish-master/lib/libc/gen/ |
H A D | getusershell.c | 143 char **hp; local 155 hp = hesiod_resolve(context, shellname, "shells"); 156 if (hp == NULL) { 165 for (hpi = 0; hp[hpi]; hpi++) 166 sl_add(sl, hp[hpi]); 167 free(hp);
|
/barrelfish-master/tools/harness/tests/ |
H A D | webserver.py | 265 hp = HTTPerfClient(logfile, user, host, target, nconns, rate) 266 httperfs.append(hp) 275 for hp in ready: 277 hp.read() 279 busy_httperfs.remove(hp) 282 for hp in httperfs: 283 hp.cleanup()
|
/barrelfish-master/usr/eclipseclp/config/ |
H A D | config.sub | 153 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 647 basic_machine=m68k-hp 650 basic_machine=m68k-hp 654 basic_machine=m68k-hp 658 basic_machine=hppa1.0-hp 661 basic_machine=m68000-hp 664 basic_machine=m68k-hp 667 basic_machine=hppa1.0-hp 670 basic_machine=hppa1.1-hp 673 # FIXME: really hppa2.0-hp [all...] |
H A D | config.guess | 585 echo m68k-hp-bsd 588 echo m68k-hp-bsd4.4 653 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating 654 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler 658 # => hppa2.0w-hp-hpux11.23 660 # => hppa64-hp-hpux11.23 670 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 674 echo ia64-hp-hpux${HPUX_REV} 708 echo hppa1.1-hp-bsd 711 echo hppa1.0-hp [all...] |
/barrelfish-master/lib/lwip2/src/netif/ppp/ |
H A D | ipcp.c | 374 struct hostent *hp; local 378 if ((hp = gethostbyname(*argv)) == NULL) { 383 dns = *(u32_t *)hp->h_addr; 410 struct hostent *hp; local 414 if ((hp = gethostbyname(*argv)) == NULL) { 419 wins = *(u32_t *)hp->h_addr; 448 struct hostent *hp; local 468 if ((hp = gethostbyname(arg)) == NULL) { 472 local = *(u32_t *)hp->h_addr; 489 if ((hp [all...] |
H A D | multilink.c | 456 struct hostent *hp; local 468 hp = gethostbyname(hostname); 469 if (hp != NULL) { 470 addr = *(u32_t *)hp->h_addr;
|
/barrelfish-master/include/lwip2/netif/ppp/ |
H A D | ipcp.c | 374 struct hostent *hp; local 378 if ((hp = gethostbyname(*argv)) == NULL) { 383 dns = *(u32_t *)hp->h_addr; 410 struct hostent *hp; local 414 if ((hp = gethostbyname(*argv)) == NULL) { 419 wins = *(u32_t *)hp->h_addr; 448 struct hostent *hp; local 468 if ((hp = gethostbyname(arg)) == NULL) { 472 local = *(u32_t *)hp->h_addr; 489 if ((hp [all...] |
H A D | multilink.c | 456 struct hostent *hp; local 468 hp = gethostbyname(hostname); 469 if (hp != NULL) { 470 addr = *(u32_t *)hp->h_addr;
|
/barrelfish-master/lib/libc/db/btree/ |
H A D | bt_delete.c | 132 * hp: pointer to current, pinned PAGE pointer 139 __bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c) argument 154 h = *hp; 268 return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
|