Searched refs:hp (Results 1 - 9 of 9) sorted by relevance
/bionic/libm/upstream-freebsd/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) {
|
/bionic/libc/dns/resolv/ |
H A D | res_mkquery.c | 127 register HEADER *hp; local 145 hp = (HEADER *)(void *)buf; 146 hp->id = htons(res_randomid()); 147 hp->opcode = op; 148 hp->rd = (statp->options & RES_RECURSE) != 0U; 149 hp->rcode = NOERROR; 172 hp->qdcount = htons(1); 193 hp->arcount = htons(1); 215 hp->ancount = htons(1); 237 register HEADER *hp; local [all...] |
H A D | res_query.c | 135 HEADER *hp = (HEADER *)(void *)answer; local 142 hp->rcode = NOERROR; /* default */ 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 188 p_rcode(hp->rcode), 189 ntohs(hp->ancount), 190 ntohs(hp->nscount), 191 ntohs(hp->arcount)); 193 switch (hp->rcode) { 229 HEADER *hp local [all...] |
H A D | res_send.c | 736 const HEADER *hp = (const HEADER *)(const void *)buf; local 923 if (hp->id != anhp->id) { 1047 const HEADER *hp = (const HEADER *)(const void *)buf; local 1174 if (hp->id != anhp->id) {
|
H A D | res_debug.c | 930 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ local 1002 hp = precsize_aton(&cp); 1020 *bcp++ = hp;
|
/bionic/libc/dns/ |
H A D | gethnamaddr.c | 185 const HEADER *hp; local 218 hp = &answer->hdr; 219 ancount = ntohs(hp->ancount); 220 qdcount = ntohs(hp->qdcount); 476 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, argument 487 memcpy(hp, res, sizeof *hp); 488 *result = hp; 495 struct hostent *hp; local 505 hp 525 struct hostent *hp; local 631 struct hostent *hp; local 827 struct hostent *hp; local 1000 struct hostent *hp; local 1177 map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) argument 1231 char *hp; local 1262 struct hostent *hp; local 1323 struct hostent *hp; local [all...] |
/bionic/libc/dns/net/ |
H A D | getnameinfo.c | 172 struct hostent *hp; local 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid); 307 if (hp) { 315 p = strchr(hp->h_name, '.'); 317 TODO: Before uncommenting rewrite to avoid modifying hp. 321 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { 324 strlcpy(host, hp->h_name, hostlen);
|
H A D | getaddrinfo.c | 1310 const HEADER *hp; local 1342 hp = &answer->hdr; 1343 ancount = ntohs(hp->ancount); 1344 qdcount = ntohs(hp->qdcount); 2149 HEADER *hp; local 2166 hp = (HEADER *)(void *)t->answer; 2167 hp->rcode = NOERROR; /* default */ 2205 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2206 rcode = hp 2253 HEADER *hp; local [all...] |
Completed in 331 milliseconds