Searched defs:hp (Results 1 - 25 of 59) 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/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/main/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/main/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/chromium_org/mojo/public/c/system/tests/
H A Dcore_unittest.cc153 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,
[all...]
/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/main/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/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/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_entropymv.h90 vp9_prob hp; member in struct:__anon13113
118 unsigned int hp[2]; member in struct:__anon13115
/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/libvpx/libvpx/vp9/common/
H A Dvp9_entropymv.h90 vp9_prob hp; member in struct:__anon24905
118 unsigned int hp[2]; member in struct:__anon24907
/external/chromium_org/third_party/libvpx/source/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);
/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);
/external/bzip2/
H A Dblocksort.c494 Int32 i, j, h, bigN, hp; local
500 hp = 0;
501 while (incs[hp] < bigN) hp++;
502 hp--;
504 for (; hp >= 0; hp--) {
505 h = incs[hp];
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_decodemv.c205 int mag, d, fr, hp; local
227 // High precision part (if hp is not used, the default value of the hp is 1)
228 hp = usehp ? vp9_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp)
232 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1;
/external/iputils/
H A Dclockdiff.c554 struct hostent * hp; local
602 hp = gethostbyname(hostname);
603 if (hp == NULL) {
607 myname = strdup(hp->h_name);
609 hp = gethostbyname(argv[1]);
610 if (hp == NULL) {
614 hisname = strdup(hp->h_name);
617 server.sin_family = hp->h_addrtype;
618 memcpy(&(server.sin_addr.s_addr), hp->h_addr, 4);
H A Drarpd.c299 struct hostent *hp; local
309 (hp = gethostbyname(ename)) == NULL) {
314 if (hp->h_addrtype != AF_INET) {
318 ifa = select_ipaddr(ifindex, &emap.ipaddr, (__u32 **)hp->h_addr_list);
H A Dtraceroute6.c341 struct hostent *hp; local
458 hp = gethostbyname2(idn ? idn : *argv, AF_INET6);
459 if (hp) {
460 memmove((caddr_t)&to->sin6_addr, hp->h_addr, sizeof(to->sin6_addr));
461 hostname = (char *)hp->h_name;
909 struct hostent *hp; local
914 if ((hp = gethostbyaddr((char *)&from->sin6_addr,
917 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS)
922 Printf(" %s (%s)", hp ? (s ? s : hp
[all...]

Completed in 125 milliseconds

123