/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...] |
/bionic/libc/dns/net/ |
sethostent.c | 91 struct hostent *hp; local 108 hp = _hf_gethtbyname2(name, AF_INET6, info); 110 hp = NULL; 111 if (hp == NULL) 112 hp = _hf_gethtbyname2(name, AF_INET, info); 116 hp = _hf_gethtbyname2(name, af, info); 118 if (hp == NULL) { 130 struct hostent *hp, hent; local 159 info->hp->h_addrtype = af; 160 info->hp->h_length = 0 244 struct hostent *hp; local [all...] |
gethnamaddr.c | 204 const HEADER *hp; local 243 hp = &answer->hdr; 244 ancount = ntohs(hp->ancount); 245 qdcount = ntohs(hp->qdcount); 511 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, 525 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp, NETID_UNSET, 532 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, NETID_UNSET, 544 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf, 554 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, NETID_UNSET, 593 android_read_hostent(FILE* proxy, struct hostent* hp, char* hbuf, size_t hbuflen, int *he 1150 char *hp; local 1172 struct hostent *hp; local 1235 struct hostent *hp; local 1354 struct hostent *hp = info->hp; local 1471 struct hostent *hp = NULL; local 1523 struct hostent *hp; local 1592 struct hostent *hp; local [all...] |
/external/valgrind/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/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/upstream-freebsd/lib/msun/src/ |
e_remainder.c | 37 int32_t hx,hp; local 42 EXTRACT_WORDS(hp,lp,p); 44 hp &= 0x7fffffff; 48 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 50 ((hp>=0x7ff00000)&& /* p is NaN */ 51 (((hp-0x7ff00000)|lp)!=0))) 55 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ 56 if (((hx-hp)|(lx-lp))==0) return zero*x; 59 if (hp<0x00200000) {
|
e_remainderf.c | 28 int32_t hx,hp; local 33 GET_FLOAT_WORD(hp,p); 35 hp &= 0x7fffffff; 39 if(hp==0) return (x*p)/(x*p); /* p = 0 */ 41 ((hp>0x7f800000))) /* p is NaN */ 45 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ 46 if ((hx-hp)==0) return zero*x; 49 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/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);
|
/bionic/libc/dns/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 | 135 HEADER *hp = (HEADER *)(void *)answer; local 142 hp->rcode = NOERROR; /* default */ 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 188 p_rcode(hp->rcode), 189 ntohs(hp->ancount), 190 ntohs(hp->nscount), 191 ntohs(hp->arcount)); 193 switch (hp->rcode) { 229 HEADER *hp = (HEADER *)(void *)answer local [all...] |
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 51 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->h_addr_list[0]) [all...] |
/system/netd/server/ |
DnsProxyListener.cpp | 94 static bool sendhostent(SocketClient *c, struct hostent *hp) { 97 if (hp->h_name != NULL) { 98 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); 103 for (i=0; hp->h_aliases[i] != NULL; i++) { 104 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); 108 uint32_t buf = htonl(hp->h_addrtype); 111 buf = htonl(hp->h_length); 114 for (i=0; hp->h_addr_list[i] != NULL; i++) 348 struct hostent* hp; local 464 struct hostent* hp; local [all...] |
/external/valgrind/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;
|
/external/guava/guava-tests/test/com/google/common/net/ |
HostAndPortTest.java | 101 HostAndPort hp; local 103 hp = HostAndPort.fromString(hpString); 115 hp2 = hp.withDefaultPort(defaultPort); 123 assertTrue(hp.hasPort()); 124 assertEquals(expectPort, hp.getPort()); 126 assertFalse(hp.hasPort()); 128 hp.getPort(); 133 assertEquals(expectHost, hp.getHostText()); 150 HostAndPort hp = HostAndPort.fromParts("gmail.com", 81); local 151 assertEquals("gmail.com", hp.getHostText()) 169 HostAndPort hp = HostAndPort.fromHost("gmail.com"); local [all...] |
/bionic/tests/ |
netdb_test.cpp | 186 hostent* hp = gethostbyname("localhost"); local 187 VerifyLocalhost(hp); 191 hostent* hp = gethostbyname2("localhost", AF_INET); local 192 VerifyLocalhost(hp); 197 hostent *hp; local 200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); 202 VerifyLocalhost(hp); 204 // Change hp->h_addr to test reentrancy. 205 hp->h_addr[0] = 0; 214 ASSERT_EQ(0, hp->h_addr[0]) 219 hostent *hp; local 241 hostent *hp = gethostbyaddr(&addr, sizeof(addr), AF_INET); local 248 hostent *hp; local 270 hostent *hp; local 280 hostent *hp; local 291 hostent *hp; local [all...] |
/external/crcalc/src/com/hp/creals/ |
StringFloatRep.java | 33 package com.hp.creals;
|
/system/core/libcutils/ |
socket_network_client.c | 46 struct hostent *hp; local 57 hp = gethostbyname(host); 58 if (hp == 0) return -1; 61 addr.sin_family = hp->h_addrtype; 63 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); 65 s = socket(hp->h_addrtype, type, 0);
|
/external/mksh/src/ |
histrap.c | 96 char **hfirst, **hlast, **hp, *editor = NULL; local 187 hp = first ? hist_get(first, false, false) : 189 if (!hp) 193 strdupx(line, *hp, ATEMP); 204 for (s = *hp; (s1 = strstr(s, pat)) && 275 for (hp = rflag ? hlast : hfirst; 276 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) { 280 (unsigned long)(histptr - hp)); 422 char **hp = NULL; local 515 char **hp; local 636 char **hp; local 757 char *nhname, **hp; local 857 char **hp; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 399 # define _XGethostbyname(h,hp) gethostbyname((h)) 400 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t)) 424 # define _Xg_copyHostent(hp) \ 425 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 426 strcpy((hp).h_name, (hp).hptr->h_name), \ 427 ((hp).hent.h_name = (hp).h_name), \ 428 ((hp).hptr = &(hp).hent), [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 399 # define _XGethostbyname(h,hp) gethostbyname((h)) 400 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t)) 424 # define _Xg_copyHostent(hp) \ 425 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \ 426 strcpy((hp).h_name, (hp).hptr->h_name), \ 427 ((hp).hent.h_name = (hp).h_name), \ 428 ((hp).hptr = &(hp).hent), [all...] |
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 526 struct hostent *hp; local 563 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 566 hp = gethostbyname2(hostname, pai->ai_family); 570 hp = gethostbyname(hostname); 579 if (hp == NULL) { 594 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 595 || (hp->h_addr_list[0] == NULL)) { 597 freehostent(hp); 599 hp = NULL 925 struct hostent *hp = NULL; local [all...] |
/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/tcpdump/missing/ |
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);
|
/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. */
|