Searched refs:hostname2 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 642 char* hostname2 = strdup(hostname); in explore_numeric_scope() local 643 if (hostname2 == NULL) return EAI_MEMORY; in explore_numeric_scope() 645 hostname2[cp - hostname] = '\0'; in explore_numeric_scope() 646 addr = hostname2; in explore_numeric_scope() 657 free(hostname2); in explore_numeric_scope() 664 free(hostname2); in explore_numeric_scope()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4447 constexpr char hostname2[] = "query2.example.com."; in TEST_F() local 4450 {hostname2, ns_type::ns_t_a, "1.2.3.5"}, in TEST_F() 4524 std::tie(result, timeTakenMs) = safe_getaddrinfo_time_taken(hostname2, nullptr, hints); in TEST_F() 4528 EXPECT_EQ(1U, GetNumQueries(dns, hostname2)); in TEST_F() 4644 constexpr char hostname2[] = "query2.example.com."; in TEST_F() local 4647 {hostname2, ns_type::ns_t_a, "1.2.3.5"}, in TEST_F() 4698 fd = resNetworkQuery(TEST_NETID, hostname2, ns_c_in, ns_t_a, cacheFlag); in TEST_F() 5967 constexpr char hostname2[] = "query2.example.com."; in TEST_F() local 5970 {hostname2, ns_type::ns_t_a, "1.2.3.5"}, in TEST_F() 6017 threads[1] = std::thread(queryAndCheck, hostname2, records); in TEST_F()
|