/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/dns/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 | 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 = (HEADER *)(void *)answer local [all...] |
/external/libedit/src/ |
hist.c | 100 const Char *hp; local 121 hp = HIST_FIRST(el); 123 if (hp == NULL) 127 if ((hp = HIST_NEXT(el)) == NULL) { 131 (void) Strncpy(el->el_line.buffer, hp,
|
common.c | 708 const Char *hp; local 732 hp = HIST_FIRST(el); 733 if (hp == NULL) 739 hp = HIST_NEXT(el); 741 while (hp != NULL) { 743 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp); 745 if ((Strncmp(hp, el->el_line.buffer, (size_t) 747 hp[el->el_line.lastchar - el->el_line.buffer]) && 748 c_hmatch(el, hp)) { 753 hp = HIST_NEXT(el) 776 const Char *hp; 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;
|
/system/core/libcutils/ |
socket_network_client.c | 46 struct hostent *hp; local 58 hp = gethostbyname(host); 59 if (hp == 0) return -1; 62 addr.sin_family = hp->h_addrtype; 64 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); 66 s = socket(hp->h_addrtype, type, 0);
|
/external/chromium_org/mojo/public/c/system/tests/ |
core_unittest.cc | 153 MojoHandle hp, hc; local 160 hp = MOJO_HANDLE_INVALID; 162 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateDataPipe(NULL, &hp, &hc)); 163 EXPECT_NE(hp, MOJO_HANDLE_INVALID); 170 // The producer |hp| should be writable. 171 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(hp, MOJO_HANDLE_SIGNAL_WRITABLE, 0)); 184 // Write to |hp|. 190 MojoWriteData(hp, kHello, &buffer_size, MOJO_WRITE_MESSAGE_FLAG_NONE)); 197 // Do a two-phase write to |hp|. 200 hp, &write_pointer, &buffer_size, MOJO_WRITE_DATA_FLAG_NONE)) [all...] |
/external/tcpdump/ |
print-hsrp.c | 103 struct hsrp *hp = (struct hsrp *) bp; local 105 TCHECK(hp->hsrp_version); 106 printf("HSRPv%d", hp->hsrp_version); 107 if (hp->hsrp_version != 0) 109 TCHECK(hp->hsrp_op_code); 111 printf("%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)); 113 TCHECK(hp->hsrp_state); 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)); 115 TCHECK(hp->hsrp_group); 116 printf("group=%d ", hp->hsrp_group) [all...] |
/external/valgrind/main/memcheck/tests/ |
custom_alloc.c | 34 static void* hp = 0; // current heap pointer local 39 if (hp + size2 > hp_lim) { 40 hp = get_superblock(); 41 hp_lim = hp + SUPERBLOCK_SIZE - 1; 44 p = hp + RZ; 45 hp += size2;
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpTransportSE.java | 182 HeaderProperty hp = (HeaderProperty) headers.get(i); local 183 connection.setRequestProperty(hp.getKey(), hp.getValue()); 213 HeaderProperty hp = (HeaderProperty) retHeaders.get(i); local 215 if (null == hp.getKey()) { 220 if (hp.getKey().equalsIgnoreCase("Content-Encoding") 221 && hp.getValue().equalsIgnoreCase("gzip")) {
|
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 169 int *hp; local 171 hp = (int *)(gen + 1); 173 return ntohl(hp[MD5_DIGEST_LENGTH / sizeof(*hp)]);
|
getcertsbyname.c | 210 HEADER *hp; local 252 hp = (HEADER *)answer; 253 qdcount = ntohs(hp->qdcount); 254 ancount = ntohs(hp->ancount); 264 cp = (unsigned char *)(hp + 1);
|
/external/libnl/lib/route/sch/ |
prio.c | 91 int i, hp; local 105 hp = (((TC_PRIO_MAX/2) + 1) & ~1); 107 for (i = 0; i < hp; i++) { 112 if (hp+i <= TC_PRIO_MAX) { 114 rtnl_prio2str(hp+i, a, sizeof(a)), 115 prio->qp_priomap[hp+i]); 116 if (i < (hp - 1)) {
|
/bionic/libc/dns/net/ |
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);
|
/external/nist-sip/java/gov/nist/core/ |
HostNameParser.java | 266 HostPort hp = new HostPort(); local 267 hp.setHost(host); 279 hp.setPort(Integer.parseInt(port)); 312 return hp; 334 HostPort hp = hnp.hostPort(true); local 335 System.out.println("["+hp.encode()+"]");
|
/external/tcpdump/missing/ |
getnameinfo.c | 111 struct hostent *hp; local 244 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 246 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 254 if (hp) { 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 261 freehostent(hp); 265 strcpy(host, hp->h_name); 267 freehostent(hp);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
URLParser.java | 318 HostPort hp = hnp.hostPort( false ); local 319 retval.append(hp.toString()); 644 HostPort hp = hnp.hostPort( false ); local 645 retval.setHostPort(hp);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_entropymv.h | 90 vp9_prob hp; member in struct:__anon17738 118 unsigned int hp[2]; member in struct:__anon17740
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_encodemv.c | 40 const int hp = offset & 1; // high precision mv data local 69 vp9_write(w, hp, 70 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); 99 hp_cost[0] = vp9_cost_zero(mvcomp->hp); 100 hp_cost[1] = vp9_cost_one(mvcomp->hp); 197 update_mv(w, counts->comps[i].hp, &mvc->comps[i].hp, MV_UPDATE_PROB);
|