Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 15 of 15) sorted by relevance

/packages/modules/DnsResolver/
Dgethnamaddr.cpp129 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
407 if (buflen < size) goto nospc; in resolv_gethostbyname()
447 info.buflen = buflen; in resolv_gethostbyname()
457 HENT_ARRAY(hp->h_addr_list, 1, buf, buflen); in resolv_gethostbyname()
458 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in resolv_gethostbyname()
461 if (size > buflen) goto nospc; in resolv_gethostbyname()
469 buflen -= size; in resolv_gethostbyname()
470 HENT_SCOPY(hp->h_name, name, buf, buflen); in resolv_gethostbyname()
[all …]
Dres_send.cpp149 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen,
152 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen,
423 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend() argument
433 res_pquery(buf, buflen); in res_nsend()
438 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend()
446 dnsQueryEvent->set_type(getQueryType(buf, buflen)); in res_nsend()
457 _resolv_cache_query_failed(statp->netid, buf, buflen, flags); in res_nsend()
472 int resplen = res_tls_send(statp, Slice(const_cast<uint8_t*>(buf), buflen), in res_nsend()
478 resolv_cache_add(statp->netid, buf, buflen, ans, resplen); in res_nsend()
483 _resolv_cache_query_failed(statp->netid, buf, buflen, flags); in res_nsend()
[all …]
Dres_mkquery.cpp106 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()
Dsethostent.cpp85 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()
Dres_debug.cpp144 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()
Dgethnamaddr.h31 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,
Dresolv_private.h143 uint8_t* buf, int buflen, int netcontext_flags);
144 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode,
DDnsProxyListener.h87 void doDns64Synthesis(int32_t* rv, hostent* hbuf, char* buf, size_t buflen, hostent** hpp,
114 void doDns64ReverseLookup(hostent* hbuf, char* buf, size_t buflen, hostent** hpp,
Dhostent.h39 size_t buflen; member
DDnsProxyListener.cpp1108 size_t buflen, struct hostent** hpp, in doDns64Synthesis() argument
1126 *rv = resolv_gethostbyname(mName, AF_INET, hbuf, buf, buflen, &mNetContext, hpp, event); in doDns64Synthesis()
1265 size_t buflen, in doDns64ReverseLookup() argument
1295 resolv_gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET, hbuf, buf, buflen, &mNetContext, hpp, in doDns64ReverseLookup()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp111 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/
DphNxpExtns.h38 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen);
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp51 uint32_t buflen);
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...