Home
last modified time | relevance | path

Searched refs:bufLen (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
46 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() argument
59 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
85 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() argument
98 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()