Searched refs:hp (Results 1 – 9 of 9) sorted by relevance
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_remainder.c | 37 int32_t hx,hp; in __ieee754_remainder() local 42 EXTRACT_WORDS(hp,lp,p); in __ieee754_remainder() 44 hp &= 0x7fffffff; in __ieee754_remainder() 48 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainder() 50 ((hp>=0x7ff00000)&& /* p is NaN */ in __ieee754_remainder() 51 (((hp-0x7ff00000)|lp)!=0))) in __ieee754_remainder() 55 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ in __ieee754_remainder() 56 if (((hx-hp)|(lx-lp))==0) return zero*x; in __ieee754_remainder() 59 if (hp<0x00200000) { in __ieee754_remainder()
|
D | e_remainderf.c | 28 int32_t hx,hp; in __ieee754_remainderf() local 33 GET_FLOAT_WORD(hp,p); in __ieee754_remainderf() 35 hp &= 0x7fffffff; in __ieee754_remainderf() 39 if(hp==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainderf() 41 ((hp>0x7f800000))) /* p is NaN */ in __ieee754_remainderf() 45 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ in __ieee754_remainderf() 46 if ((hx-hp)==0) return zero*x; in __ieee754_remainderf() 49 if (hp<0x01000000) { in __ieee754_remainderf()
|
/bionic/libc/dns/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 | 135 HEADER *hp = (HEADER *)(void *)answer; in res_nquery() local 142 hp->rcode = NOERROR; /* default */ in res_nquery() 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 188 p_rcode(hp->rcode), in res_nquery() 189 ntohs(hp->ancount), in res_nquery() 190 ntohs(hp->nscount), in res_nquery() 191 ntohs(hp->arcount)); in res_nquery() 193 switch (hp->rcode) { in res_nquery() 229 HEADER *hp = (HEADER *)(void *)answer; in res_nsearch() local 326 if (hp->rcode == SERVFAIL) { in res_nsearch()
|
D | res_debug.c | 930 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ in loc_aton() local 1002 hp = precsize_aton(&cp); in loc_aton() 1020 *bcp++ = hp; in loc_aton()
|
D | res_send.c | 736 const HEADER *hp = (const HEADER *)(const void *)buf; in send_vc() local 923 if (hp->id != anhp->id) { in send_vc() 1047 const HEADER *hp = (const HEADER *)(const void *)buf; in send_dg() local 1174 if (hp->id != anhp->id) { in send_dg()
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 185 const HEADER *hp; in getanswer() local 218 hp = &answer->hdr; in getanswer() 219 ancount = ntohs(hp->ancount); in getanswer() 220 qdcount = ntohs(hp->qdcount); in getanswer() 476 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument 487 memcpy(hp, res, sizeof *hp); in gethostbyname_r() 488 *result = hp; in gethostbyname_r() 495 struct hostent *hp; in gethostbyname() local 505 hp = gethostbyname_internal(name, AF_INET6, res, NETID_UNSET, MARK_UNSET); in gethostbyname() 506 if (hp) { in gethostbyname() [all …]
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 172 struct hostent *hp; in getnameinfo_inet() local 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid); in getnameinfo_inet() 307 if (hp) { in getnameinfo_inet() 315 p = strchr(hp->h_name, '.'); in getnameinfo_inet() 317 TODO: Before uncommenting rewrite to avoid modifying hp. in getnameinfo_inet() 321 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { in getnameinfo_inet() 324 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet()
|
D | getaddrinfo.c | 1310 const HEADER *hp; in getanswer() local 1342 hp = &answer->hdr; in getanswer() 1343 ancount = ntohs(hp->ancount); in getanswer() 1344 qdcount = ntohs(hp->qdcount); in getanswer() 2149 HEADER *hp; in res_queryN() local 2166 hp = (HEADER *)(void *)t->answer; in res_queryN() 2167 hp->rcode = NOERROR; /* default */ in res_queryN() 2205 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2206 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2209 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() [all …]
|