Searched defs:hp (Results 1 - 25 of 56) 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/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/dropbear/
H A Dfake-rfc2553.c50 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
[all...]
/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/libpcap/
H A Dnametoaddr.c107 struct hostent *hp; local
109 if ((hp = gethostbyname(name)) != NULL) {
111 hlist[0] = (bpf_u_int32 *)hp->h_addr;
112 NTOHL(hp->h_addr);
115 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p)
117 return (bpf_u_int32 **)hp->h_addr_list;
/external/libppp/src/
H A Ddefs.c156 struct hostent *hp; local
158 hp = gethostbyname(cp);
159 if (hp && hp->h_addrtype == AF_INET)
160 memcpy(&ipaddr, hp->h_addr, hp->h_length);
H A Dnat_cmd.c308 struct hostent *hp; local
313 hp = gethostbyname(str);
314 if (!hp) {
318 *addr = *((struct in_addr *) hp->h_addr);
H A Dpred.c179 u_char *cp, *wp, *hp; local
186 hp = wp = MBUF_CTOP(mwp);
200 *hp |= 0x80;
H A Dradius.c902 struct hostent *hp; local
1026 (hp = gethostbyname(hostname)) != NULL) {
1027 hostaddr.s_addr = *(u_long *)hp->h_addr;
1103 struct hostent *hp; local
1211 (hp = gethostbyname(hostname)) != NULL) {
1212 hostaddr.s_addr = *(u_long *)hp->h_addr;
/external/libvpx/libvpx/vp9/common/
H A Dvp9_entropymv.h94 vp9_prob hp; member in struct:__anon21596
122 unsigned int hp[2]; member in struct:__anon21598
/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/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...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodemv.c211 int mag, d, fr, hp; local
233 // High precision part (if hp is not used, the default value of the hp is 1)
234 hp = usehp ? vp9_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp)
238 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemv.c31 const int hp = offset & 1; // high precision mv data local
60 vp9_write(w, hp,
61 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp);
90 hp_cost[0] = vp9_cost_zero(mvcomp->hp);
91 hp_cost[1] = vp9_cost_one(mvcomp->hp);
194 const uint32_t hp0 = nmv_count->comps[i].hp[0];
195 const uint32_t hp1 = nmv_count->comps[i].hp[1];
259 update_mv(bc, branch_ct_hp[i], &mvc->comps[i].hp,
/external/qemu/telephony/
H A Dsysdeps_posix.c611 struct hostent* hp; local
616 hp = gethostbyname(hostname);
617 if(hp == 0) {
624 addr.sin_family = hp->h_addrtype;
626 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);
628 channel->fd = socket(hp->h_addrtype, SOCK_STREAM, 0);

Completed in 293 milliseconds

123