Lines Matching refs:fd1

2131     int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0);  in TEST_F()  local
2133 EXPECT_TRUE(fd1 != -1); in TEST_F()
2142 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2149 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2152 EXPECT_TRUE(fd1 != -1); in TEST_F()
2159 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2225 int fd1; in TEST_F() local
2229 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2230 EXPECT_TRUE(fd1 != -1); in TEST_F()
2265 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2355 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local
2357 EXPECT_TRUE(fd1 != -1); in TEST_F()
2367 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2374 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2376 EXPECT_TRUE(fd1 != -1); in TEST_F()
2378 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2385 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2387 EXPECT_TRUE(fd1 != -1); in TEST_F()
2388 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2394 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2399 EXPECT_TRUE(fd1 != -1); in TEST_F()
2403 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2409 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2410 EXPECT_TRUE(fd1 != -1); in TEST_F()
2411 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2419 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, in TEST_F()
2424 EXPECT_TRUE(fd1 != -1); in TEST_F()
2428 expectAnswersValid(fd1, AF_INET6, "::1.2.3.5"); in TEST_F()
2434 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2437 EXPECT_TRUE(fd1 != -1); in TEST_F()
2441 expectAnswersValid(fd1, AF_INET6, "::1.2.3.5"); in TEST_F()
2450 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2451 EXPECT_TRUE(fd1 != -1); in TEST_F()
2452 expectAnswersValid(fd1, AF_INET6, "::1.2.3.6"); in TEST_F()
2457 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, testFlag); in TEST_F()
2458 EXPECT_TRUE(fd1 != -1); in TEST_F()
2459 expectAnswersValid(fd1, AF_INET6, "::1.2.3.6"); in TEST_F()
2464 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, testFlag); in TEST_F()
2465 EXPECT_TRUE(fd1 != -1); in TEST_F()
2466 expectAnswersValid(fd1, AF_INET, "1.2.3.6"); in TEST_F()
2471 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, 0); in TEST_F()
2472 EXPECT_TRUE(fd1 != -1); in TEST_F()
2473 expectAnswersValid(fd1, AF_INET, "1.2.3.6"); in TEST_F()
2545 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local
2547 EXPECT_TRUE(fd1 != -1); in TEST_F()
2554 expectAnswersNotValid(fd1, -ETIMEDOUT); in TEST_F()
2565 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2566 EXPECT_TRUE(fd1 != -1); in TEST_F()
2572 expectAnswersNotValid(fd1, -ETIMEDOUT); in TEST_F()
4117 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4119 EXPECT_TRUE(fd1 != -1); in TEST_F()
4128 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
4162 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4164 EXPECT_TRUE(fd1 != -1); in TEST_F()
4171 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
4180 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
4182 EXPECT_TRUE(fd1 != -1); in TEST_F()
4189 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
5498 int fd1 = resNetworkQuery(network1.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
5501 expectAnswersValid(fd1, AF_INET, "1.1.1.31"); in TEST_F()
5508 fd1 = resNetworkQuery(network1.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F()
5511 expectAnswersValid(fd1, AF_INET, "1.1.1.31"); in TEST_F()