Lines Matching refs:h_result
1677 const hostent* h_result = nullptr; in TEST_F() local
1682 h_result = gethostbyname(host_name); in TEST_F()
1685 ASSERT_FALSE(h_result == nullptr); in TEST_F()
1686 ASSERT_EQ(4, h_result->h_length); in TEST_F()
1687 ASSERT_FALSE(h_result->h_addr_list[0] == nullptr); in TEST_F()
1688 EXPECT_EQ(ADDR4, ToString(h_result)); in TEST_F()
1689 EXPECT_TRUE(h_result->h_addr_list[1] == nullptr); in TEST_F()
2409 const hostent* h_result = gethostbyname(host_name); in TEST_F() local
2412 ASSERT_TRUE(h_result != nullptr); in TEST_F()
2413 ASSERT_EQ(4, h_result->h_length); in TEST_F()
2414 ASSERT_FALSE(h_result->h_addr_list[0] == nullptr); in TEST_F()
2415 EXPECT_EQ(ADDR4, ToString(h_result)); in TEST_F()
2416 EXPECT_TRUE(h_result->h_addr_list[1] == nullptr); in TEST_F()
2419 ASSERT_TRUE(h_result == nullptr); in TEST_F()
2468 const hostent* h_result = gethostbyname(host_name1); in TEST_F() local
2470 ASSERT_TRUE(h_result == nullptr); in TEST_F()
2501 const hostent* h_result = gethostbyname(host_name1); in TEST_F() local
2503 ASSERT_TRUE(h_result == nullptr); in TEST_F()