/system/core/adb/ |
services.c | 62 struct hostent *hp; local 66 hp = gethostbyname(hostname); 68 if(hp == 0) { 71 writex(fd, hp->h_addr, 4);
|
/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/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 575 HeaderParser hp = ParserFactory.createParser(buffer.toString()); local 576 if (hp == null) 578 return hp.parse();
|
/external/quake/quake/src/WinQuake/ |
net_wins.cpp | 480 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/valgrind/main/VEX/priv/ |
host_generic_reg_alloc2.c | 245 Int i, j, h, bigN, hp; local 253 hp = 0; while (hp < 14 && incs[hp] < bigN) hp++; hp--; 257 for ( ; hp >= 0; hp--) { 258 h = incs[hp]; 273 for ( ; hp >= 0; hp--) [all...] |
/bionic/libc/netbsd/resolv/ |
res_send.c | 722 const HEADER *hp = (const HEADER *)(const void *)buf; local 898 if (hp->id != anhp->id) { 1023 const HEADER *hp = (const HEADER *)(const void *)buf; local 1141 if (hp->id != anhp->id) { [all...] |
res_debug.c | 871 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ local 943 hp = precsize_aton(&cp); 961 *bcp++ = hp;
|
/external/bzip2/ |
blocksort.c | 494 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/dhcpcd/ |
dhcp.c | 841 const char *hp; local 974 hp = strchr(ifo->hostname, '.'); 975 if (hp) 976 len = hp - ifo->hostname;
|
/external/llvm/lib/CodeGen/ |
Splitter.cpp | 466 MachineBasicBlock &hp = **hpItr; local 467 hp.ReplaceUsesOfBlockWith(&header, preHeader);
|
/external/qemu/telephony/ |
sysdeps_posix.c | 611 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);
|
/external/tcpdump/ |
addrtoname.c | 228 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); 917 { 0x0112, "HP PrintServer" }, 974 { 0x030c, "IntelNetport2/HP JetDirect/HP Quicksilver" } [all...] |
print-802_11.c | 766 const struct mgmt_header_t *hp = (const struct mgmt_header_t *) p; local 769 *srcp = hp->sa; 771 *dstp = hp->da; 776 etheraddr_string((hp)->bssid), etheraddr_string((hp)->da), 777 etheraddr_string((hp)->sa));
|
/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...] |
/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. */
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
alloca.c | 167 register header *hp; /* Traverses linked list. */ local 173 for (hp = last_alloca_header; hp != NULL;) 174 if ((STACK_DIR > 0 && hp->h.deep > depth) 175 || (STACK_DIR < 0 && hp->h.deep < depth)) 177 register header *np = hp->h.next; 179 free (hp); /* Collect garbage. */ 181 hp = np; /* -> next header. */ 186 last_alloca_header = hp; /* -> last valid storage. */
|
/external/libxml2/ |
nanoftp.c | 856 struct hostent *hp; local 930 hp = gethostbyname (proxy); 932 hp = gethostbyname (ctxt->hostname); 933 if (hp == NULL) { 937 if ((unsigned int) hp->h_length > 948 hp->h_addr_list[0], hp->h_length); [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/netperf/ |
nettest_xti.c | 539 struct hostent *hp; 567 /* it would seem that while HP-UX will allow an IP address (as a */ 574 if ((hp = gethostbyname(remote_host)) == NULL) { 584 bcopy(hp->h_addr, 586 hp->h_length); 587 server.sin_family = hp->h_addrtype; 535 struct hostent *hp; local 1740 struct hostent *hp; local 2468 struct hostent *hp; local 3460 struct hostent *hp; local 5021 struct hostent *hp; local [all...] |
nettest_bsd.c | 957 IPPROT_UDP, and while HP-UX, and I suspect no-one else on the 9110 struct hostent *hp; local 10180 struct hostent *hp; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/address/ |
SipUri.java | 414 HostPort hp = this.getHostPort(); local 415 if (hp == null) 417 return hp.getPort(); [all...] |
/external/ppp/pppd/ |
ipcp.c | 339 struct hostent *hp; local 343 if ((hp = gethostbyname(*argv)) == NULL) { 348 dns = *(u_int32_t *)hp->h_addr; 375 struct hostent *hp; local 379 if ((hp = gethostbyname(*argv)) == NULL) { 384 wins = *(u_int32_t *)hp->h_addr; 413 struct hostent *hp; local 433 if ((hp = gethostbyname(arg)) == NULL) { 437 local = *(u_int32_t *)hp->h_addr; 454 if ((hp = gethostbyname(colon)) == NULL) 1609 struct hostent *hp; local [all...] |
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 1305 const HEADER *hp; local 2140 HEADER *hp; local 2244 HEADER *hp; local [all...] |
/external/chromium/third_party/libevent/ |
http.c | 127 struct hostent *hp; local 128 hp = gethostbyaddr((char *)&sin->sin_addr, 130 if (hp == NULL) 133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) [all...] |