Lines Matching refs:tf

141   TemporaryFile tf;  in TEST()  local
143 int rc = dprintf(tf.fd, "hello\n"); in TEST()
146 lseek(tf.fd, 0, SEEK_SET); in TEST()
147 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
899 TemporaryFile tf; in TEST() local
901 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
1451 TemporaryFile tf; in TEST() local
1452 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1467 fp = fopen(tf.path, "r"); in TEST()
2068 TemporaryFile tf; in test_fwrite_after_fread() local
2070 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2102 TemporaryFile tf; in TEST() local
2104 FILE* fp = fopen(tf.path, "w+"); in TEST()
2114 fp = fopen(tf.path, "r"); in TEST()
2140 TemporaryFile tf; in TEST() local
2143 FILE* fw = fopen(tf.path, "w"); in TEST()
2146 FILE* fr = fopen(tf.path, "r"); in TEST()
2258 TemporaryFile* tf = new TemporaryFile; in TEST() local
2259 tfs.push_back(tf); in TEST()
2260 FILE* fp = fopen(tf->path, "w+"); in TEST()
2293 TemporaryFile tf; in TEST() local
2294 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2336 TemporaryFile tf; in TEST() local
2337 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2375 TemporaryFile tf; in TEST() local
2376 ASSERT_EQ(0, remove(tf.path)); in TEST()
2377 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2386 ASSERT_EQ(-1, remove(tf.path)); in TEST()
2466 TemporaryFile tf; in TEST() local
2467 SetFileTo(tf.path, "0123456789"); in TEST()
2468 FILE* fp = fopen(tf.path, "a"); in TEST()
2478 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2482 TemporaryFile tf; in TEST() local
2483 SetFileTo(tf.path, "0123456789"); in TEST()
2484 int fd = open(tf.path, O_RDWR); in TEST()
2499 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2503 TemporaryFile tf; in TEST() local
2504 SetFileTo(tf.path, "0123456789"); in TEST()
2506 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2516 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2537 TemporaryFile tf; in TEST() local
2539 FILE* fp = fopen(tf.path, "w+"); in TEST()
2583 TemporaryFile tf; in TEST() local
2584 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2596 TemporaryFile tf; in TEST() local
2597 FILE* fp = fopen64(tf.path, "w+"); in TEST()