/system/core/libcutils/ |
socket_network_client.c | 41 struct hostent *hp; local 46 hp = gethostbyname(host); 47 if(hp == 0) return -1; 50 addr.sin_family = hp->h_addrtype; 52 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); 54 s = socket(hp->h_addrtype, type, 0);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
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) {
|
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) {
|
/external/fdlibm/ |
e_remainder.c | 39 int hx,hp; local 45 hp = __HI(p); /* high word of p */ 48 hp &= 0x7fffffff; 52 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 54 ((hp>=0x7ff00000)&& /* p is NaN */ 55 (((hp-0x7ff00000)|lp)!=0))) 59 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ 60 if (((hx-hp)|(lx-lp))==0) return zero*x; 63 if (hp<0x00200000) {
|
/external/ppp/pppd/plugins/radius/ |
ip_util.c | 31 struct hostent *hp; local 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) 42 return ntohl((*(UINT4 *) hp->h_addr)); 105 struct hostent *hp; local 108 if ((hp = gethostbyaddr ((char *) &n_ipaddr, sizeof (struct in_addr), 113 return ((hp==NULL)?"unknown":hp->h_name);
|
config.c | 414 struct hostent *hp; local 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL) 429 for (paddr = hp->h_addr_list; *paddr; paddr++)
|
/bionic/libc/netbsd/resolv/ |
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...] |
res_query.c | 134 HEADER *hp = (HEADER *)(void *)answer; local 141 hp->rcode = NOERROR; /* default */ 183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 187 p_rcode(hp->rcode), 188 ntohs(hp->ancount), 189 ntohs(hp->nscount), 190 ntohs(hp->arcount)); 192 switch (hp->rcode) { 228 HEADER *hp = (HEADER *)(void *)answer local [all...] |
/external/valgrind/main/drd/tests/ |
custom_alloc.c | 28 static void* hp = 0; // current heap pointer local 33 if (hp + size2 > hp_lim) { 34 hp = get_superblock(); 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; 38 p = hp + RZ; 39 hp += size2;
|
/external/valgrind/main/massif/tests/ |
custom_alloc.c | 28 static void* hp = 0; // current heap pointer local 33 if (hp + size2 > hp_lim) { 34 hp = get_superblock(); 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; 38 p = hp + RZ; 39 hp += size2;
|
/external/dropbear/ |
fake-rfc2553.c | 50 struct hostent *hp; local 67 hp = gethostbyaddr((char *)&sin->sin_addr, 69 if (hp == NULL) 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 153 struct hostent *hp; local 201 hp = gethostbyname(hostname); 202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) [all...] |