/system/netd/ |
DnsProxyListener.cpp | 99 static bool sendhostent(SocketClient *c, struct hostent *hp) { 102 if (hp->h_name != NULL) { 103 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); 108 for (i=0; hp->h_aliases[i] != NULL; i++) { 109 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); 113 uint32_t buf = htonl(hp->h_addrtype); 116 buf = htonl(hp->h_length); 119 for (i=0; hp->h_addr_list[i] != NULL; i++) 343 struct hostent* hp; local 479 struct hostent* hp; local [all...] |
/external/iputils/ |
clockdiff.c | 554 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);
|
rarpd.c | 299 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);
|
ping.c | 121 struct hostent *hp; local 287 hp = gethostbyname(idn); 288 if (!hp) { 295 memcpy(&whereto.sin_addr, hp->h_addr, 4); 297 if (idna_to_unicode_lzlz(hp->h_name, &hnamebuf, 0) != IDNA_SUCCESS) { 298 hnamebuf = strdup(hp->h_name); 305 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1); 1311 struct hostent *hp; local [all...] |
traceroute6.c | 341 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->h_name) : hostname, pa) [all...] |
arping.c | 1088 struct hostent *hp; local 1101 hp = gethostbyname2(idn, AF_INET); 1102 if (!hp) { 1111 memcpy(&dst, hp->h_addr, 4);
|
/external/libppp/src/ |
radius.c | 902 struct hostent *hp; local 1026 (hp = gethostbyname(hostname)) != NULL) { 1027 hostaddr.s_addr = *(u_long *)hp->h_addr; 1103 struct hostent *hp; local [all...] |
ipcp.c | 445 struct hostent *hp; local 461 hp = gethostbyname(name); 462 if (hp && hp->h_addrtype == AF_INET && hp->h_length == sizeof host.s_addr) 463 memcpy(&host.s_addr, hp->h_addr, sizeof host.s_addr); [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemv.c | 31 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); 202 const uint32_t hp0 = nmv_count->comps[i].hp[0]; 203 const uint32_t hp1 = nmv_count->comps[i].hp[1]; 209 prob->comps[i].hp = get_binary_prob(hp0, hp1); 274 update_mv(bc, branch_ct_hp[i], &mvc->comps[i].hp, 275 prob.comps[i].hp, NMV_UPDATE_PROB) [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/valgrind/main/VEX/priv/ |
host_generic_reg_alloc2.c | 246 Int i, j, h, bigN, hp; local 254 hp = 0; while (hp < 14 && incs[hp] < bigN) hp++; hp--; 258 for ( ; hp >= 0; hp--) { 259 h = incs[hp]; 274 for ( ; hp >= 0; hp--) [all...] |
/bionic/libc/netbsd/ |
gethnamaddr.c | 180 const HEADER *hp; local 213 hp = &answer->hdr; 214 ancount = ntohs(hp->ancount); 215 qdcount = ntohs(hp->qdcount); 471 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, 482 memcpy(hp, res, sizeof *hp); 483 *result = hp; 490 struct hostent *hp; local 500 hp = gethostbyname_internal(name, AF_INET6, res, NULL, 0) 520 struct hostent *hp; local 626 struct hostent *hp; local 818 struct hostent *hp; local 991 struct hostent *hp; local 1222 char *hp; local 1253 struct hostent *hp; local 1314 struct hostent *hp; local [all...] |
/bionic/libc/netbsd/resolv/ |
res_send.c | 740 const HEADER *hp = (const HEADER *)(const void *)buf; local 927 if (hp->id != anhp->id) { 1051 const HEADER *hp = (const HEADER *)(const void *)buf; local 1178 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 | 913 const char *hp; local 1046 hp = strchr(ifo->hostname, '.'); 1047 if (hp) 1048 len = hp - ifo->hostname; [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 204 int mag, d, fr, hp; local 226 // High precision part (if hp is not used, the default value of the hp is 1) 227 hp = usehp ? vp9_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp) 231 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1; 294 update_mv(r, &mvc->comps[i].hp);
|
/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...] |
/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/chromium_org/third_party/libxml/src/ |
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/libxml2/ |
nanoftp.c | 857 struct hostent *hp; local 931 hp = gethostbyname (proxy); 933 hp = gethostbyname (ctxt->hostname); 934 if (hp == NULL) { 938 if ((unsigned int) hp->h_length > 949 hp->h_addr_list[0], hp->h_length); [all...] |