Home
last modified time | relevance | path

Searched refs:resplen (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/dns/
DDnsTlsDispatcher.cpp82 const Slice query, const Slice ans, int *resplen) { in query() argument
89 code = this->query(server, mark, query, ans, resplen); in query()
112 const Slice ans, int *resplen) { in query() argument
138 *resplen = result.response.size(); in query()
DDnsTlsDispatcher.h58 const Slice query, const Slice ans, int * _Nonnull resplen);
64 const Slice query, const Slice ans, int * _Nonnull resplen);
DDnsTlsTransport.cpp219 for (int i = 0; i < resplen; i++) { in validate()
/system/netd/tests/
Ddns_tls_test.cpp572 int resplen = 0; in TEST_F() local
577 makeSlice(ans), &resplen); in TEST_F()
580 EXPECT_EQ(int(QUERY.size()), resplen); in TEST_F()
581 ans.resize(resplen); in TEST_F()
587 int resplen = 0; in TEST_F() local
592 makeSlice(ans), &resplen); in TEST_F()
637 int resplen = 0; in TEST_F() local
641 makeSlice(ans), &resplen); in TEST_F()
643 EXPECT_EQ(int(q.size()), resplen); in TEST_F()
644 ans.resize(resplen); in TEST_F()
/system/netd/server/
DDnsProxyListener.cpp125 u_char* ans, int anssiz, int* resplen) { in qhook() argument
161 query, answer, resplen); in qhook()