Searched defs:hp (Results 1 - 25 of 68) sorted by relevance

123

/external/fdlibm/
H A De_remainder.c39 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/crcalc/src/com/hp/creals/
H A DStringFloatRep.java33 package com.hp.creals;
H A DUnaryCRFunction.java42 package com.hp.creals;
/external/crcalc/tests/src/com/hp/creals/
H A DCRTest.java41 // Added test for division by negative number. Hans_Boehm@hp.com, 8/13/01
47 package com.hp.creals;
H A DSlowCRTest.java20 package com.hp.creals;
/external/ppp/pppd/plugins/radius/
H A Dip_util.c31 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);
H A Dconfig.c414 struct hostent *hp; local
425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL)
429 for (paddr = hp->h_addr_list; *paddr; paddr++)
/external/valgrind/drd/tests/
H A Dcustom_alloc.c28 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/massif/tests/
H A Dcustom_alloc.c28 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/tcpdump/
H A Dprint-hsrp.c103 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
[all...]
/external/valgrind/memcheck/tests/
H A Dcustom_alloc.c34 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/ipsec-tools/src/racoon/
H A Disakmp_frag.c169 int *hp; local
171 hp = (int *)(gen + 1);
173 return ntohl(hp[MD5_DIGEST_LENGTH / sizeof(*hp)]);
H A Dgetcertsbyname.c210 HEADER *hp; local
252 hp = (HEADER *)answer;
253 qdcount = ntohs(hp->qdcount);
254 ancount = ntohs(hp->ancount);
264 cp = (unsigned char *)(hp + 1);
/external/libedit/src/
H A Dhist.c100 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,
H A Dcommon.c708 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
776 const Char *hp; local
[all...]
/external/libnl/lib/route/sch/
H A Dprio.c91 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)) {
/external/openssh/openbsd-compat/
H A Dfake-rfc2553.c51 struct hostent *hp; local
70 hp = gethostbyaddr((char *)&sin->sin_addr,
72 if (hp == NULL)
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
158 struct hostent *hp; local
209 hp = gethostbyname(hostname);
210 if (hp && hp->h_name && hp->h_name[0] && hp
[all...]
/external/tcpdump/missing/
H A Dgetnameinfo.c111 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/toybox/toys/pending/
H A Darping.c232 struct hostent *hp = gethostbyname2(*toys.optargs, AF_INET); local
234 if (!hp) perror_exit("bad address '%s'", *toys.optargs);
235 memcpy(&dest_addr, hp->h_addr, 4);
/external/freetype/src/gzip/
H A Dinftrees.c95 local int huft_build( /* b, n, s, d, e, t, m, hp, hn, v) */ argument
103 inflate_huft *hp, /* space for trees */
240 u[h] = q = hp + *hn;
299 local int inflate_trees_bits( /* c, bb, tb, hp, z) */ argument
303 inflate_huft *hp, /* space for trees */
314 tb, bb, hp, &hn, v);
327 local int inflate_trees_dynamic( /* nl, nd, c, bl, bd, tl, td, hp, z) */ argument
335 inflate_huft *hp, /* space for trees */
348 r = huft_build(c, nl, 257, cplens, cplext, tl, bl, hp, &hn, v);
363 r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, hp,
[all...]
/external/libpcap/
H A Dnametoaddr.c105 struct hostent *hp; local
107 if ((hp = gethostbyname(name)) != NULL) {
109 hlist[0] = (bpf_u_int32 *)hp->h_addr;
110 NTOHL(hp->h_addr);
113 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p)
115 return (bpf_u_int32 **)hp->h_addr_list;
/external/libvncserver/libvncserver/
H A Dsockets.c815 struct hostent *hp; local
817 if (!(hp = gethostbyname(str))) {
820 *addr = *(unsigned long *)hp->h_addr;
980 struct hostent *hp; local
989 if (!(hp = gethostbyname(host))) {
993 addr.sin_addr.s_addr = *(unsigned long *)hp->h_addr;
/external/libvpx/libvpx/vp9/common/
H A Dvp9_entropymv.h90 vp9_prob hp; member in struct:__anon9516
118 unsigned int hp[2]; member in struct:__anon9518
/external/libvncserver/libvncclient/
H A Dsockets.c700 struct hostent *hp; local
715 hp = gethostbyname(str);
717 if (hp) {
718 *addr = *(unsigned int *)hp->h_addr;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemv.c40 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);

Completed in 804 milliseconds

123