Searched refs:hp (Results 1 – 9 of 9) sorted by relevance
/bionic/libm/src/ |
D | e_remainder.c | 36 int32_t hx,hp; in __ieee754_remainder() local 41 EXTRACT_WORDS(hp,lp,p); in __ieee754_remainder() 43 hp &= 0x7fffffff; in __ieee754_remainder() 47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainder() 49 ((hp>=0x7ff00000)&& /* p is NaN */ in __ieee754_remainder() 50 (((hp-0x7ff00000)|lp)!=0))) in __ieee754_remainder() 54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ in __ieee754_remainder() 55 if (((hx-hp)|(lx-lp))==0) return zero*x; in __ieee754_remainder() 58 if (hp<0x00200000) { in __ieee754_remainder()
|
D | e_remainderf.c | 29 int32_t hx,hp; in __ieee754_remainderf() local 34 GET_FLOAT_WORD(hp,p); in __ieee754_remainderf() 36 hp &= 0x7fffffff; in __ieee754_remainderf() 40 if(hp==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainderf() 42 ((hp>0x7f800000))) /* p is NaN */ in __ieee754_remainderf() 46 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ in __ieee754_remainderf() 47 if ((hx-hp)==0) return zero*x; in __ieee754_remainderf() 50 if (hp<0x01000000) { in __ieee754_remainderf()
|
/bionic/libc/netbsd/resolv/ |
D | res_mkquery.c | 127 register HEADER *hp; in res_nmkquery() local 145 hp = (HEADER *)(void *)buf; in res_nmkquery() 146 hp->id = htons(res_randomid()); in res_nmkquery() 147 hp->opcode = op; in res_nmkquery() 148 hp->rd = (statp->options & RES_RECURSE) != 0U; in res_nmkquery() 149 hp->rcode = NOERROR; in res_nmkquery() 172 hp->qdcount = htons(1); in res_nmkquery() 193 hp->arcount = htons(1); in res_nmkquery() 215 hp->ancount = htons(1); in res_nmkquery() 237 register HEADER *hp; in res_nopt() local [all …]
|
D | res_query.c | 134 HEADER *hp = (HEADER *)(void *)answer; in res_nquery() local 141 hp->rcode = NOERROR; /* default */ in res_nquery() 183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 187 p_rcode(hp->rcode), in res_nquery() 188 ntohs(hp->ancount), in res_nquery() 189 ntohs(hp->nscount), in res_nquery() 190 ntohs(hp->arcount)); in res_nquery() 192 switch (hp->rcode) { in res_nquery() 228 HEADER *hp = (HEADER *)(void *)answer; in res_nsearch() local 316 if (hp->rcode == SERVFAIL) { in res_nsearch()
|
D | res_send.c | 676 const HEADER *hp = (const HEADER *)(const void *)buf; in send_vc() local 847 if (hp->id != anhp->id) { in send_vc() 867 const HEADER *hp = (const HEADER *)(const void *)buf; in send_dg() local 999 if (hp->id != anhp->id) { in send_dg()
|
D | res_debug.c | 870 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ local 942 hp = precsize_aton(&cp); 960 *bcp++ = hp;
|
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 174 const HEADER *hp; in getanswer() local 207 hp = &answer->hdr; in getanswer() 208 ancount = ntohs(hp->ancount); in getanswer() 209 qdcount = ntohs(hp->qdcount); in getanswer() 465 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument 476 memcpy(hp, res, sizeof *hp); in gethostbyname_r() 477 *result = hp; in gethostbyname_r() 484 struct hostent *hp; in gethostbyname() local 493 hp = gethostbyname_internal(name, AF_INET6, res); in gethostbyname() 494 if (hp) { in gethostbyname() [all …]
|
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 144 struct hostent *hp; local 280 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 282 if (hp) { 290 p = strchr(hp->h_name, '.'); 295 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { 298 strlcpy(host, hp->h_name, hostlen);
|
D | getaddrinfo.c | 1105 const HEADER *hp; in getanswer() local 1137 hp = &answer->hdr; in getanswer() 1138 ancount = ntohs(hp->ancount); in getanswer() 1139 qdcount = ntohs(hp->qdcount); in getanswer() 1933 HEADER *hp; in res_queryN() local 1950 hp = (HEADER *)(void *)t->answer; in res_queryN() 1951 hp->rcode = NOERROR; /* default */ in res_queryN() 1989 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 1990 rcode = hp->rcode; /* record most recent error */ in res_queryN() 1993 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() [all …]
|