Lines Matching refs:td
1902 for (auto& td : kTestData) { in TEST_F() local
1903 SCOPED_TRACE(td.dname); in TEST_F()
1904 td.fd = resNetworkQuery(TEST_NETID, td.dname, ns_c_in, td.queryType, 0); in TEST_F()
1905 EXPECT_TRUE(td.fd != -1); in TEST_F()
1909 for (const auto& td : kTestData) { in TEST_F() local
1912 SCOPED_TRACE(td.dname); in TEST_F()
1913 int res = getAsyncResponse(td.fd, &rcode, buf, MAXPACKET); in TEST_F()
1915 EXPECT_EQ(rcode, td.expectRcode); in TEST_F()
2010 auto& td = kTestData[i]; in TEST_F() local
2011 SCOPED_TRACE(td.cmd); in TEST_F()
2012 ssize_t rc = TEMP_FAILURE_RETRY(write(fd, td.cmd.c_str(), td.cmd.size())); in TEST_F()
2013 EXPECT_EQ(rc, static_cast<ssize_t>(td.cmd.size())); in TEST_F()
2018 EXPECT_EQ(static_cast<int>(ntohl(tmp)), td.expectErr); in TEST_F()