/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 129 struct hostent* hent, char* buf, size_t buflen, int* he) { in getanswer() argument 172 ep = buf + buflen; in getanswer() 388 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, in resolv_gethostbyname() argument 409 if (buflen < size) goto nospc; in resolv_gethostbyname() 449 info.buflen = buflen; in resolv_gethostbyname() 459 HENT_ARRAY(hp->h_addr_list, 1, buf, buflen); in resolv_gethostbyname() 460 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in resolv_gethostbyname() 463 if (size > buflen) goto nospc; in resolv_gethostbyname() 471 buflen -= size; in resolv_gethostbyname() 472 HENT_SCOPY(hp->h_name, name, buf, buflen); in resolv_gethostbyname() [all …]
|
D | res_send.cpp | 146 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen, 149 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen, 420 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend() argument 430 res_pquery(buf, buflen); in res_nsend() 435 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend() 443 dnsQueryEvent->set_type(getQueryType(buf, buflen)); in res_nsend() 454 _resolv_cache_query_failed(statp->netid, buf, buflen, flags); in res_nsend() 469 int resplen = res_tls_send(statp, Slice(const_cast<uint8_t*>(buf), buflen), in res_nsend() 475 resolv_cache_add(statp->netid, buf, buflen, ans, resplen); in res_nsend() 480 _resolv_cache_query_failed(statp->netid, buf, buflen, flags); in res_nsend() [all …]
|
D | res_mkquery.cpp | 106 int buflen, // size of buffer in res_nmkquery() argument 119 if ((buf == NULL) || (buflen < HFIXEDSZ)) return (-1); in res_nmkquery() 128 ep = buf + buflen; in res_nmkquery() 196 int buflen, /* size of buffer */ in res_nopt() argument 207 ep = buf + buflen; in res_nopt() 232 if (minlen > buflen) { in res_nopt() 235 padlen = std::min(padlen, static_cast<uint16_t>(buflen - minlen)); in res_nopt()
|
D | sethostent.cpp | 85 if ((ptr = buf = (char*) malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2() 99 hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, &he); in _hf_gethtbyname2() 125 if ((size_t)(ptr - buf) >= info->buflen) goto nospc; in _hf_gethtbyname2() 145 len = info->buflen; in _hf_gethtbyname2() 194 while ((hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, &he)) != NULL) in _hf_gethtbyaddr()
|
D | res_debug.cpp | 144 int buflen = 2048; in do_section() local 212 auto buf = std::make_unique<char[]>(buflen); in do_section() 213 n = ns_sprintrr(handle, &rr, NULL, NULL, buf.get(), (uint32_t)buflen); in do_section() 216 if (buflen < 131072) { in do_section() 217 buflen += 1024; in do_section()
|
D | gethnamaddr.h | 31 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, 37 size_t buflen, const android_net_context* netcontext, hostent** result,
|
D | DnsProxyListener.h | 102 void doDns64Synthesis(int32_t* rv, hostent* hbuf, char* buf, size_t buflen, hostent** hpp, 128 void doDns64ReverseLookup(hostent* hbuf, char* buf, size_t buflen, hostent** hpp,
|
D | resolv_private.h | 175 uint8_t* buf, int buflen, int netcontext_flags); 176 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode,
|
D | hostent.h | 39 size_t buflen; member
|
D | DnsProxyListener.cpp | 1091 size_t buflen, struct hostent** hpp, in doDns64Synthesis() argument 1110 *rv = resolv_gethostbyname(name, AF_INET, hbuf, buf, buflen, &mNetContext, hpp, event); in doDns64Synthesis() 1241 size_t buflen, in doDns64ReverseLookup() argument 1271 resolv_gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET, hbuf, buf, buflen, &mNetContext, hpp, in doDns64ReverseLookup()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/ |
D | phNxpExtns.cpp | 111 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen) { in EXTNS_MfcCallBack() argument 118 msg.Size = buflen; in EXTNS_MfcCallBack()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/ |
D | phNxpExtns.h | 38 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen);
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 76 int makeQuery(const char* name, int qtype, uint8_t* buf, size_t buflen) { in makeQuery() argument 77 return res_mkquery(ns_o_query, name, ns_c_in, qtype, NULL, 0, NULL, buf, buflen); in makeQuery()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 52 uint32_t buflen);
|