Lines Matching refs:tf
142 TemporaryFile tf; in TEST() local
144 int rc = dprintf(tf.fd, "hello\n"); in TEST()
147 lseek(tf.fd, 0, SEEK_SET); in TEST()
148 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
905 TemporaryFile tf; in TEST() local
907 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
1455 TemporaryFile tf; in TEST() local
1456 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1471 fp = fopen(tf.path, "r"); in TEST()
2102 TemporaryFile tf; in test_fwrite_after_fread() local
2104 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2136 TemporaryFile tf; in TEST() local
2138 FILE* fp = fopen(tf.path, "w+"); in TEST()
2148 fp = fopen(tf.path, "r"); in TEST()
2174 TemporaryFile tf; in TEST() local
2177 FILE* fw = fopen(tf.path, "w"); in TEST()
2180 FILE* fr = fopen(tf.path, "r"); in TEST()
2292 TemporaryFile* tf = new TemporaryFile; in TEST() local
2293 tfs.push_back(tf); in TEST()
2294 FILE* fp = fopen(tf->path, "w+"); in TEST()
2327 TemporaryFile tf; in TEST() local
2328 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2370 TemporaryFile tf; in TEST() local
2371 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2409 TemporaryFile tf; in TEST() local
2410 ASSERT_EQ(0, remove(tf.path)); in TEST()
2411 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2420 ASSERT_EQ(-1, remove(tf.path)); in TEST()
2500 TemporaryFile tf; in TEST() local
2501 SetFileTo(tf.path, "0123456789"); in TEST()
2502 FILE* fp = fopen(tf.path, "a"); in TEST()
2512 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2516 TemporaryFile tf; in TEST() local
2517 SetFileTo(tf.path, "0123456789"); in TEST()
2518 int fd = open(tf.path, O_RDWR); in TEST()
2533 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2537 TemporaryFile tf; in TEST() local
2538 SetFileTo(tf.path, "0123456789"); in TEST()
2540 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2550 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2581 TemporaryFile tf; in TEST() local
2583 FILE* fp = fopen(tf.path, "w+"); in TEST()
2627 TemporaryFile tf; in TEST() local
2628 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2640 TemporaryFile tf; in TEST() local
2641 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2918 TemporaryFile tf; in TEST() local
2919 FILE* fp = fopen(tf.path, "r"); in TEST()