Searched refs:num_queries (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/ |
D | DnsTlsSocket.cpp | 376 int64_t num_queries; in loop() local 377 ssize_t res = read(mEventFd.get(), &num_queries, sizeof(num_queries)); in loop() 384 } else if (res != sizeof(num_queries)) { in loop() 385 ALOGE("Int size mismatch: %zd != %zu", res, sizeof(num_queries)); in loop() 387 } else if (num_queries < 0) { in loop()
|
D | dns_tls_test.cpp | 206 const int num_queries = 10000; in TEST_F() local 207 results.reserve(num_queries); in TEST_F() 208 for (int i = 0; i < num_queries; ++i) { in TEST_F() 343 const int num_queries = 65536; in TEST_F() local 346 FakeSocketDelay::sDelay = num_queries + 1; in TEST_F() 352 results.reserve(num_queries); in TEST_F() 353 for (int i = 0; i < num_queries; ++i) { in TEST_F() 556 const int num_queries = 10 * FakeSocketLimited::sLimit; in TEST_F() local 557 std::vector<bytevec> queries(num_queries); in TEST_F() 559 results.reserve(num_queries); in TEST_F() [all …]
|
D | resolver_test.cpp | 231 unsigned num_queries) { in RunGetAddrInfoStressTest_Binder() argument 244 thread = std::thread([&mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder() 245 for (unsigned i = 0 ; i < num_queries ; ++i) { in RunGetAddrInfoStressTest_Binder() 269 ALOGI("%u hosts, %u threads, %u queries, %Es", num_hosts, num_threads, num_queries, in RunGetAddrInfoStressTest_Binder() 982 const unsigned num_queries = 100; in TEST_F() local 983 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F() 989 const unsigned num_queries = 100; in TEST_F() local 990 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F()
|