/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
MDnsUtils.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
ServiceRecommendationPlugin.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
ServiceResolveQueue.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
/bionic/libc/dns/net/ |
getnameinfo.c | 172 struct hostent *hp; local 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid, mark); 307 if (hp) { 315 p = strchr(hp->h_name, '.'); 317 TODO: Before uncommenting rewrite to avoid modifying hp. 321 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { 324 strlcpy(host, hp->h_name, hostlen);
|
/bionic/libc/dns/resolv/ |
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/curl/CMake/ |
CurlTests.c | 118 struct hostent *hp; local 130 hp = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &h_errnop); 131 (void)hp; 134 rc = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &hp, &h_errnop); 143 (void)hp; /* not used for test */ 146 rc = gethostbyname_r(address, &h, buffer, 8192, &hp, &h_errnop);
|
/external/curl/lib/ |
socks.c | 153 Curl_addrinfo *hp=NULL; local 170 hp=dns->addr; 171 if(hp) { 174 Curl_printable_address(hp, buf, sizeof(buf)); 185 hp = NULL; /* fail! */ 192 if(!hp) { 577 Curl_addrinfo *hp = NULL; local 595 hp=dns->addr; 596 if(hp) { 603 if(hp->ai_family == AF_INET) [all...] |
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 210 HEADER *hp; local 252 hp = (HEADER *)answer; 253 qdcount = ntohs(hp->qdcount); 254 ancount = ntohs(hp->ancount); 264 cp = (unsigned char *)(hp + 1);
|
/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/ppp/pppd/plugins/radius/ |
config.c | 414 struct hostent *hp; local 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL) 429 for (paddr = hp->h_addr_list; *paddr; paddr++)
|
/external/tcpdump/missing/ |
getnameinfo.c | 106 struct hostent *hp; local 239 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 241 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 249 if (hp) { 251 p = strchr(hp->h_name, '.'); 254 if (strlen(hp->h_name) + 1 > hostlen) { 256 freehostent(hp); 260 strcpy(host, hp->h_name); 262 freehostent(hp);
|
/external/toybox/toys/pending/ |
arping.c | 226 struct hostent *hp = gethostbyname2(*toys.optargs, AF_INET); local 228 if (!hp) perror_exit("bad address '%s'", *toys.optargs); 229 memcpy(&dest_addr, hp->h_addr, 4);
|
/external/xmlrpcpp/src/ |
XmlRpcClient.cpp | 306 char *hp = (char*)_header.c_str(); // Start of header local 307 char *ep = hp + _header.length(); // End of string 311 for (char *cp = hp; (bp == 0) && (cp < ep); ++cp) {
|
XmlRpcSocket.cpp | 154 struct hostent *hp = gethostbyname(host.c_str()); local 155 if (hp == 0) return false; 157 saddr.sin_family = hp->h_addrtype; 158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length);
|
XmlRpcServerConnection.cpp | 80 char *hp = (char*)_header.c_str(); // Start of header local 81 char *ep = hp + _header.length(); // End of string 86 for (char *cp = hp; (bp == 0) && (cp < ep); ++cp) {
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
AuthenticationHeader.java | 150 HeaderParser hp = new HeaderParser (raw); local 151 Iterator keys = hp.keys(); 155 if (hp.findValue(i) == null) { /* found a scheme name */ 157 HeaderParser hpn = hp.subsequence (lastSchemeIndex, i); 165 HeaderParser hpn = hp.subsequence (lastSchemeIndex, i);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
URLParser.java | 318 HostPort hp = hnp.hostPort( false ); local 319 retval.append(hp.toString()); 644 HostPort hp = hnp.hostPort( false ); local 645 retval.setHostPort(hp);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
PeriodFormatterData.java | 321 int hp = dr.halfPlacements == null local 326 switch (hp) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
PeriodFormatterData.java | 319 int hp = dr.halfPlacements == null local 324 switch (hp) {
|
/external/libedit/src/ |
common.c | 708 const Char *hp; local 732 hp = HIST_FIRST(el); 733 if (hp == NULL) 739 hp = HIST_NEXT(el); 741 while (hp != NULL) { 743 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp); 745 if ((Strncmp(hp, el->el_line.buffer, (size_t) 747 hp[el->el_line.lastchar - el->el_line.buffer]) && 748 c_hmatch(el, hp)) { 753 hp = HIST_NEXT(el) 776 const Char *hp; local [all...] |
/external/libpcap/ |
nametoaddr.c | 100 struct hostent *hp; local 102 if ((hp = gethostbyname(name)) != NULL) { 104 hlist[0] = (bpf_u_int32 *)hp->h_addr; 105 NTOHL(hp->h_addr); 108 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) 110 return (bpf_u_int32 **)hp->h_addr_list;
|
/external/libvncserver/libvncclient/ |
sockets.c | 718 struct hostent *hp; local 733 hp = gethostbyname(str); 735 if (hp) { 736 *addr = *(unsigned int *)hp->h_addr;
|
/external/libvncserver/libvncserver/ |
sockets.c | 842 struct hostent *hp; local 844 if (!(hp = gethostbyname(str))) { 847 *addr = *(unsigned long *)hp->h_addr; 1007 struct hostent *hp; local 1016 if (!(hp = gethostbyname(host))) { 1020 addr.sin_addr.s_addr = *(unsigned long *)hp->h_addr;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_entropymv.h | 93 vpx_prob hp; member in struct:__anon18012 119 unsigned int hp[2]; member in struct:__anon18014
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemv.c | 41 const int hp = offset & 1; // high precision mv data local 70 vpx_write(w, hp, 71 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); 100 hp_cost[0] = vp9_cost_zero(mvcomp->hp); 101 hp_cost[1] = vp9_cost_one(mvcomp->hp); 198 update_mv(w, counts->comps[i].hp, &mvc->comps[i].hp, MV_UPDATE_PROB);
|