Lines Matching refs:qname
72 std::vector<char> makeQuery(int op, const char* qname, int qclass, int qtype) { in makeQuery() argument
74 const int len = res_nmkquery(op, qname, qclass, qtype, /*data=*/nullptr, /*datalen=*/0, buf, in makeQuery()
86 std::string rname(question.qname.name); in makeAnswer()
88 .name = {.name = question.qname.name}, in makeAnswer()
256 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry() argument
259 ce.query = makeQuery(op, qname, qclass, qtype); in makeCacheEntry()
566 std::string qname = android::base::StringPrintf("cache.%04d", i); in TEST_F() local
567 SCOPED_TRACE(qname); in TEST_F()
568 CacheEntry ce = makeCacheEntry(QUERY, qname.data(), ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
575 std::string qname = android::base::StringPrintf("cache.%04d", i); in TEST_F() local
576 SCOPED_TRACE(qname); in TEST_F()
600 std::string qname = android::base::StringPrintf("cache.%04d", i); in TEST_F() local
601 SCOPED_TRACE(qname); in TEST_F()
602 CacheEntry ce = makeCacheEntry(QUERY, qname.data(), ns_c_in, ns_t_a, "1.2.3.4", 50s); in TEST_F()