Home
last modified time | relevance | path

Searched refs:DnsQuery (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/net/dns/
Ddns_query.cc21 DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) in DnsQuery() function in net::DnsQuery
43 DnsQuery::~DnsQuery() { in ~DnsQuery()
46 DnsQuery* DnsQuery::CloneWithNewId(uint16 id) const { in CloneWithNewId()
47 return new DnsQuery(*this, id); in CloneWithNewId()
50 uint16 DnsQuery::id() const { in id()
56 base::StringPiece DnsQuery::qname() const { in qname()
61 uint16 DnsQuery::qtype() const { in qtype()
68 base::StringPiece DnsQuery::question() const { in question()
73 DnsQuery::DnsQuery(const DnsQuery& orig, uint16 id) { in DnsQuery() function in net::DnsQuery
83 void DnsQuery::set_flags(uint16 flags) { in set_flags()
Ddns_query.h19 class NET_EXPORT_PRIVATE DnsQuery {
23 DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype);
24 ~DnsQuery();
27 DnsQuery* CloneWithNewId(uint16 id) const;
44 DnsQuery(const DnsQuery& orig, uint16 id);
53 DISALLOW_COPY_AND_ASSIGN(DnsQuery);
Ddns_query_unittest.cc41 DnsQuery q1(0xbeef, qname, dns_protocol::kTypeA); in TEST()
58 DnsQuery q1(0, qname, dns_protocol::kTypeA); in TEST()
60 scoped_ptr<DnsQuery> q2(q1.CloneWithNewId(42)); in TEST()
Ddns_transaction.cc85 virtual const DnsQuery* GetQuery() const = 0;
136 scoped_ptr<DnsQuery> query) in DnsUDPAttempt()
152 virtual const DnsQuery* GetQuery() const OVERRIDE { in GetQuery()
287 scoped_ptr<DnsQuery> query_;
300 scoped_ptr<DnsQuery> query) in DnsTCPAttempt()
323 virtual const DnsQuery* GetQuery() const OVERRIDE { in GetQuery()
526 scoped_ptr<DnsQuery> query_;
699 scoped_ptr<DnsQuery> query; in MakeAttempt()
701 query.reset(new DnsQuery(id, qnames_.front(), qtype_)); in MakeAttempt()
754 scoped_ptr<DnsQuery> query( in MakeTCPAttempt()
Ddns_response.h20 class DnsQuery; variable
119 bool InitParse(int nbytes, const DnsQuery& query);
Ddns_response_unittest.cc162 scoped_ptr<DnsQuery> query(new DnsQuery(0xcafe, qname, dns_protocol::kTypeA)); in TEST()
215 scoped_ptr<DnsQuery> other_query(query->CloneWithNewId(0xbeef)); in TEST()
220 scoped_ptr<DnsQuery> wrong_query( in TEST()
221 new DnsQuery(0xcafe, qname, dns_protocol::kTypeCNAME)); in TEST()
Ddns_test_util.cc96 DnsQuery query(0, qname, qtype_); in Finish()
Ddns_response.cc164 bool DnsResponse::InitParse(int nbytes, const DnsQuery& query) { in InitParse()
Ddns_transaction_unittest.cc42 : query_(new DnsQuery(id, DomainFromDot(dotted_name), qtype)), in DnsSocketData()
135 scoped_ptr<DnsQuery> query_;
Dmdns_client_impl.cc215 DnsQuery query(0, name_dns, rrtype); in SendQuery()
/external/chromium_org/net/tools/dns_fuzz_stub/
Ddns_fuzz_stub.cc139 net::DnsQuery query(id, qname, qtype); in RunTestCase()