Searched refs:rdata (Results 1 – 9 of 9) sorted by relevance
277 rdata.assign(cur, cur + rdlen); in read()284 buffer_cur = writeIntFields(rdata.size(), buffer_cur, buffer_end); in write()286 if (buffer_cur + rdata.size() > buffer_end) { in write()290 return std::copy(rdata.begin(), rdata.end(), buffer_cur); in write()815 record.rdata.resize(4); in fillRdata()816 if (inet_pton(AF_INET, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()821 record.rdata.resize(16); in fillRdata()822 if (inet_pton(AF_INET6, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()830 std::vector<char> rdata; in fillRdata() local846 rdata.push_back(label.length()); in fillRdata()[all …]
66 std::vector<char> rdata; member
710 const uint8_t* rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() local711 const uint8_t* edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL()717 len = dn_skipname(rdata, edata); in answer_getNegativeTTL()719 rdata += len; in answer_getNegativeTTL()722 len = dn_skipname(rdata, edata); in answer_getNegativeTTL()724 rdata += len; in answer_getNegativeTTL()726 if (edata - rdata != 5 * NS_INT32SZ) continue; in answer_getNegativeTTL()728 rdata += NS_INT32SZ * 4; in answer_getNegativeTTL()730 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL()
256 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry() argument260 ce.answer = makeAnswer(ce.query, rdata, static_cast<unsigned>(ttl.count())); in makeCacheEntry()378 std::string rdata; in TEST_F() member387 std::string name = android::base::StringPrintf("cache.lookup.type.%s", t.rdata.c_str()); in TEST_F()390 CacheEntry ce = makeCacheEntry(QUERY, name.data(), ns_c_in, t.type, t.rdata.data()); in TEST_F()
70 const std::string& rdata, unsigned ttl = kAnswerRecordTtlSec) { in MakeAnswerRecord() argument77 EXPECT_TRUE(test::DNSResponder::fillRdata(rdata, record)); in MakeAnswerRecord()82 const std::vector<std::string>& rdata) { in MakeDnsMessage() argument110 for (const auto& r : rdata) { in MakeDnsMessage()
180 const uint8_t* rdata = ns_rr_rdata(rr); in extractResNsendAnswers() local183 memcpy(&sin.sin_addr, rdata, sizeof(sin.sin_addr)); in extractResNsendAnswers()188 memcpy(&sin6.sin6_addr, rdata, sizeof(sin6.sin6_addr)); in extractResNsendAnswers()
1972 const uint8_t* rdata = ns_rr_rdata(rr); in toString() local1974 if (inet_ntop(ipType, (const char*)rdata, buffer, sizeof(buffer))) { in toString()
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...