Searched defs:hp (Results 1 - 25 of 52) 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/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/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...]
H A Daddrtoname.c228 register struct hostent *hp; local
250 hp = gethostbyaddr((char *)&addr, 4, AF_INET);
251 if (hp) {
254 p->name = strdup(hp->h_name);
276 register struct hostent *hp; local
295 hp = gethostbyaddr((char *)&addr, sizeof(addr), AF_INET6);
296 if (hp) {
299 p->name = strdup(hp->h_name);
/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/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/
H A Dalloca.c156 register header *hp; /* traverses linked list */ local
158 for (hp = last_alloca_header; hp != NULL;)
159 if ((STACK_DIR > 0 && hp->h.deep > depth)
160 || (STACK_DIR < 0 && hp->h.deep < depth))
162 register header *np = hp->h.next;
164 free ((pointer) hp); /* collect garbage */
166 hp = np; /* -> next header */
171 last_alloca_header = hp; /* -> last valid storage */
/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/quake/quake/src/WinQuake/
H A Dnet_mp.cpp348 int ha1, ha2, ha3, ha4, hp; local
351 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
356 ((struct sockaddr_in *)addr)->sin_port = htons(hp);
H A Dnet_udp.cpp421 int ha1, ha2, ha3, ha4, hp; local
424 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
429 ((struct sockaddr_in *)addr)->sin_port = htons(hp);
H A Dnet_wins.cpp480 int ha1, ha2, ha3, ha4, hp; local
483 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
488 ((struct sockaddr_in *)addr)->sin_port = htons((unsigned short)hp);
/external/expat/xmlwf/
H A Dxmlwin32url.cxx147 IWinInetHttpInfo *hp; local
149 (void **)&hp);
155 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType,
173 hp->Release();
/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/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 691 milliseconds

123