HomeSort by relevance Sort by last modified time
    Searched refs:hp (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /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/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);
  /system/core/libcutils/
socket_network_client.c 41 struct hostent *hp; local
46 hp = gethostbyname(host);
47 if(hp == 0) return -1;
50 addr.sin_family = hp->h_addrtype;
52 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);
54 s = socket(hp->h_addrtype, type, 0);
  /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;
  /bionic/libm/src/
e_remainder.c 36 int32_t hx,hp; local
41 EXTRACT_WORDS(hp,lp,p);
43 hp &= 0x7fffffff;
47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
49 ((hp>=0x7ff00000)&& /* p is NaN */
50 (((hp-0x7ff00000)|lp)!=0)))
54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */
55 if (((hx-hp)|(lx-lp))==0) return zero*x;
58 if (hp<0x00200000) {
e_remainderf.c 29 int32_t hx,hp; local
34 GET_FLOAT_WORD(hp,p);
36 hp &= 0x7fffffff;
40 if(hp==0) return (x*p)/(x*p); /* p = 0 */
42 ((hp>0x7f800000))) /* p is NaN */
46 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */
47 if ((hx-hp)==0) return zero*x;
50 if (hp<0x01000000) {
  /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/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/
alloca.c 156 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/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;
  /bionic/libc/netbsd/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 134 HEADER *hp = (HEADER *)(void *)answer; local
141 hp->rcode = NOERROR; /* default */
183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
187 p_rcode(hp->rcode),
188 ntohs(hp->ancount),
189 ntohs(hp->nscount),
190 ntohs(hp->arcount));
192 switch (hp->rcode) {
228 HEADER *hp = (HEADER *)(void *)answer local
    [all...]
  /external/dropbear/
fake-rfc2553.c 50 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->h_addr_list[0])
    [all...]
  /system/netd/
DnsProxyListener.cpp 221 struct hostent* hp; local
224 hp = gethostbyaddr((char*)mAddress, mAddressLen, mAddressFamily);
227 LOGD("GetHostByAddrHandler::run gethostbyaddr errno: %s hp->h_name = %s, name_len = %d\n",
228 hp ? "success" : strerror(errno),
229 (hp && hp->h_name) ? hp->h_name: "null",
230 (hp && hp->h_name) ? strlen(hp->h_name)+ 1 : 0)
    [all...]
  /bionic/libc/netbsd/
gethnamaddr.c 175 const HEADER *hp; local
208 hp = &answer->hdr;
209 ancount = ntohs(hp->ancount);
210 qdcount = ntohs(hp->qdcount);
466 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen,
477 memcpy(hp, res, sizeof *hp);
478 *result = hp;
485 struct hostent *hp; local
494 hp = gethostbyname_internal(name, AF_INET6, res)
508 struct hostent *hp; local
524 struct hostent *hp; local
646 struct hostent *hp; local
800 struct hostent *hp; local
1031 char *hp; local
1062 struct hostent *hp; local
1123 struct hostent *hp; local
    [all...]
  /external/mksh/src/
histrap.c 79 char **hfirst, **hlast, **hp; local
158 hp = first ? hist_get(first, false, false) :
160 if (!hp)
162 return (hist_replace(hp, pat, rep, gflag));
209 for (hp = rflag ? hlast : hfirst;
210 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) {
213 hist_source->line - (int)(histptr - hp));
216 s = *hp;
374 char **hp = NULL; local
478 char **hp; local
624 char **hp; local
937 char **hp; local
    [all...]
  /external/netcat/scripts/
webproxy 112 hp=`echo "$hurl" | sed -e "s+.*:++" -e "s+/.*++"`
113 test "$hp" = "$hh" && hp=80
115 # echo total split: $hh : $hp : $hf >> $LFILE
135 echo "$x1 $hf" | nc -w 30 "$hh" "$hp" 2> /dev/null || \
136 echo "oops, can't get to $hh : $hp".
137 echo "sent \"$x1 $hf\" to $hh : $hp" >> $LFILE
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/lib/gcc/i686-linux/4.4.3/include-fixed/X11/
Xos_r.h 434 # define _XGethostbyname(h,hp) gethostbyname((h))
435 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t))
460 # define _Xg_copyHostent(hp) \
461 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \
462 strcpy((hp).h_name, (hp).hptr->h_name), \
463 ((hp).hent.h_name = (hp).h_name), \
464 ((hp).hptr = &(hp).hent),
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xos_r.h 425 # define _XGethostbyname(h,hp) gethostbyname((h))
426 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t))
451 # define _Xg_copyHostent(hp) \
452 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \
453 strcpy((hp).h_name, (hp).hptr->h_name), \
454 ((hp).hent.h_name = (hp).h_name), \
455 ((hp).hptr = &(hp).hent),
    [all...]
  /prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/X11/
Xos_r.h 434 # define _XGethostbyname(h,hp) gethostbyname((h))
435 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t))
460 # define _Xg_copyHostent(hp) \
461 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \
462 strcpy((hp).h_name, (hp).hptr->h_name), \
463 ((hp).hent.h_name = (hp).h_name), \
464 ((hp).hptr = &(hp).hent),
    [all...]
  /external/tcpdump/missing/
getaddrinfo.c 514 struct hostent *hp; local
551 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
554 hp = gethostbyname2(hostname, pai->ai_family);
558 hp = gethostbyname(hostname);
567 if (hp == NULL) {
582 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0)
583 || (hp->h_addr_list[0] == NULL)) {
585 freehostent(hp);
587 hp = NULL
913 struct hostent *hp = NULL; local
    [all...]
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/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/webkit/Tools/android/flex-2.5.4a/MISC/
alloca.c 177 register header *hp; /* Traverses linked list. */ local
179 for (hp = last_alloca_header; hp != NULL;)
180 if ((STACK_DIR > 0 && hp->h.deep > depth)
181 || (STACK_DIR < 0 && hp->h.deep < depth))
183 register header *np = hp->h.next;
185 free ((pointer) hp); /* Collect garbage. */
187 hp = np; /* -> next header. */
192 last_alloca_header = hp; /* -> last valid storage. */
  /ndk/sources/host-tools/make-3.81/
alloca.c 185 register header *hp; /* Traverses linked list. */ local
191 for (hp = last_alloca_header; hp != NULL;)
192 if ((STACK_DIR > 0 && hp->h.deep > depth)
193 || (STACK_DIR < 0 && hp->h.deep < depth))
195 register header *np = hp->h.next;
197 free ((pointer) hp); /* Collect garbage. */
199 hp = np; /* -> next header. */
204 last_alloca_header = hp; /* -> last valid storage. */

Completed in 297 milliseconds

1 2 3 4 5 6