Lines Matching refs:host_name

56         std::string host_name;   // host name  member
123 dns.addMappingDnsHeader(m.host_name, m.type, m.header); in StartDns()
481 constexpr char host_name[] = "sawadee.example.com."; in TEST_F() local
549 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
550 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
576 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
622 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
644 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
652 int rv = resolv_getaddrinfo(host_name, nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
659 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
850 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
866 constexpr char host_name[] = "hello.local."; in TEST_F() local
944 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
945 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
975 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_F()
976 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_F()
981 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_F()
986 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_F()
1032 constexpr char host_name[] = "hello.local."; in TEST_F() local
1046 SCOPED_TRACE(fmt::format("family: {}, host_name: {}", family, host_name)); in TEST_F()
1376 constexpr char host_name[] = "jiababuei.example.com."; in TEST_F() local
1424 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
1425 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
1452 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
1520 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
1544 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
1553 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F()
1562 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
1564 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
1573 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F()
1688 constexpr char host_name[] = "hello.local."; in TEST_F() local
1738 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
1739 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
1766 EXPECT_EQ(1U, GetNumQueries(mdns, host_name)); in TEST_F()
1775 EXPECT_EQ(0U, GetNumQueries(mdns, host_name)); in TEST_F()
1823 constexpr char host_name[] = "hello.local."; in TEST_F() local
1837 SCOPED_TRACE(fmt::format("family: {}, host_name: {}", family, host_name)); in TEST_F()