Lines Matching refs:fd1
2295 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() local
2297 EXPECT_TRUE(fd1 != -1); in TEST_F()
2306 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2313 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2316 EXPECT_TRUE(fd1 != -1); in TEST_F()
2323 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2389 int fd1; in TEST_F() local
2393 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2394 EXPECT_TRUE(fd1 != -1); in TEST_F()
2429 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2519 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local
2521 EXPECT_TRUE(fd1 != -1); in TEST_F()
2531 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2538 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2540 EXPECT_TRUE(fd1 != -1); in TEST_F()
2542 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2549 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2551 EXPECT_TRUE(fd1 != -1); in TEST_F()
2552 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2558 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2563 EXPECT_TRUE(fd1 != -1); in TEST_F()
2567 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2573 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2574 EXPECT_TRUE(fd1 != -1); in TEST_F()
2575 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2583 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, in TEST_F()
2588 EXPECT_TRUE(fd1 != -1); in TEST_F()
2592 expectAnswersValid(fd1, AF_INET6, "::1.2.3.5"); in TEST_F()
2598 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2601 EXPECT_TRUE(fd1 != -1); in TEST_F()
2605 expectAnswersValid(fd1, AF_INET6, "::1.2.3.5"); in TEST_F()
2614 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2615 EXPECT_TRUE(fd1 != -1); in TEST_F()
2616 expectAnswersValid(fd1, AF_INET6, "::1.2.3.6"); in TEST_F()
2621 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, testFlag); in TEST_F()
2622 EXPECT_TRUE(fd1 != -1); in TEST_F()
2623 expectAnswersValid(fd1, AF_INET6, "::1.2.3.6"); in TEST_F()
2628 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, testFlag); in TEST_F()
2629 EXPECT_TRUE(fd1 != -1); in TEST_F()
2630 expectAnswersValid(fd1, AF_INET, "1.2.3.6"); in TEST_F()
2635 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, 0); in TEST_F()
2636 EXPECT_TRUE(fd1 != -1); in TEST_F()
2637 expectAnswersValid(fd1, AF_INET, "1.2.3.6"); in TEST_F()
2709 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local
2711 EXPECT_TRUE(fd1 != -1); in TEST_F()
2718 expectAnswersNotValid(fd1, -ETIMEDOUT); in TEST_F()
2729 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2730 EXPECT_TRUE(fd1 != -1); in TEST_F()
2736 expectAnswersNotValid(fd1, -ETIMEDOUT); in TEST_F()
4289 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4291 EXPECT_TRUE(fd1 != -1); in TEST_F()
4298 int res1 = getAsyncResponse(fd1, &rcode, buf1, MAXPACKET); in TEST_F()
4391 const int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4393 EXPECT_TRUE(fd1 != -1); in TEST_F()
4397 const int res1 = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
4425 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4427 EXPECT_TRUE(fd1 != -1); in TEST_F()
4434 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
6489 int fd1 = resNetworkQuery(network1.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
6492 expectAnswersValid(fd1, AF_INET, "192.0.2.0"); in TEST_F()
6499 fd1 = resNetworkQuery(network1.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F()
6502 expectAnswersValid(fd1, AF_INET, "192.0.2.0"); in TEST_F()