/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 307 rdata.assign(cur, cur + rdlen); in read() 314 buffer_cur = writeIntFields(rdata.size(), buffer_cur, buffer_end); in write() 316 if (buffer_cur + rdata.size() > buffer_end) { in write() 320 return std::copy(rdata.begin(), rdata.end(), buffer_cur); in write() 845 record.rdata.resize(4); in fillRdata() 846 if (inet_pton(AF_INET, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata() 851 record.rdata.resize(16); in fillRdata() 852 if (inet_pton(AF_INET6, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata() 860 std::vector<char> rdata; in fillRdata() local 876 rdata.push_back(label.length()); in fillRdata() [all …]
|
D | dns_responder.h | 66 std::vector<char> rdata; member
|
/packages/modules/DnsResolver/ |
D | res_cache.cpp | 728 const uint8_t* rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() local 729 const uint8_t* edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL() 735 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 737 rdata += len; in answer_getNegativeTTL() 740 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 742 rdata += len; in answer_getNegativeTTL() 744 if (edata - rdata != 5 * NS_INT32SZ) continue; in answer_getNegativeTTL() 746 rdata += NS_INT32SZ * 4; in answer_getNegativeTTL() 748 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL()
|
D | DnsProxyListener.cpp | 163 const uint8_t* rdata = ns_rr_rdata(rr); in extractResNsendAnswers() local 166 memcpy(&sin.sin_addr, rdata, sizeof(sin.sin_addr)); in extractResNsendAnswers() 171 memcpy(&sin6.sin6_addr, rdata, sizeof(sin6.sin6_addr)); in extractResNsendAnswers()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 255 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry() argument 259 ce.answer = makeAnswer(ce.query, rdata, static_cast<unsigned>(ttl.count())); in makeCacheEntry() 377 std::string rdata; in TEST_F() member 386 std::string name = android::base::StringPrintf("cache.lookup.type.%s", t.rdata.c_str()); in TEST_F() 389 CacheEntry ce = makeCacheEntry(QUERY, name.data(), ns_c_in, t.type, t.rdata.data()); in TEST_F()
|
D | resolv_unit_test.cpp | 70 const std::string& rdata, unsigned ttl = kAnswerRecordTtlSec) { in MakeAnswerRecord() argument 77 EXPECT_TRUE(test::DNSResponder::fillRdata(rdata, record)); in MakeAnswerRecord() 82 const std::vector<std::string>& rdata) { in MakeDnsMessage() argument 110 for (const auto& r : rdata) { in MakeDnsMessage()
|
D | resolv_integration_test.cpp | 2231 const uint8_t* rdata = ns_rr_rdata(rr); in toString() local 2233 if (inet_ntop(ipType, (const char*)rdata, buffer, sizeof(buffer))) { in toString()
|
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 69 const uint8_t* rdata = ns_rr_rdata(rr); in extractIpAddressAnswers() local 71 if (inet_ntop(ipType, (const char*) rdata, buffer, sizeof(buffer))) { in extractIpAddressAnswers()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 113 const uint8_t* rdata = ns_rr_rdata(rr); in extractIpAddressAnswers() local 115 if (inet_ntop(family, (const char*) rdata, buffer, sizeof(buffer)) == NULL) { in extractIpAddressAnswers()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | nb_wordlist.combined.gz |
|
D | ro_wordlist.combined.gz |
|