Lines Matching refs:tf
24 TemporaryFile tf; in TEST() local
30 ASSERT_EQ(10, writev(tf.fd, ios, 2)); in TEST()
32 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in TEST()
37 ASSERT_EQ(10, readv(tf.fd, ios, 2)); in TEST()
45 TemporaryFile tf; in TestPreadVPwriteV() local
50 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 5)); in TestPreadVPwriteV()
51 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
54 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 0)); in TestPreadVPwriteV()
55 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
57 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 5)); in TestPreadVPwriteV()
59 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 0)); in TestPreadVPwriteV()