• Home
  • Raw
  • Download

Lines Matching refs:tf

161   TemporaryFile tf;  in TEST()  local
163 int rc = dprintf(tf.fd, "hello\n"); in TEST()
166 lseek(tf.fd, 0, SEEK_SET); in TEST()
167 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
933 TemporaryFile tf; in TEST() local
935 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
1483 TemporaryFile tf; in TEST() local
1484 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1499 fp = fopen(tf.path, "r"); in TEST()
2133 TemporaryFile tf; in test_fwrite_after_fread() local
2135 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2167 TemporaryFile tf; in TEST() local
2169 FILE* fp = fopen(tf.path, "w+"); in TEST()
2179 fp = fopen(tf.path, "r"); in TEST()
2205 TemporaryFile tf; in TEST() local
2208 FILE* fw = fopen(tf.path, "w"); in TEST()
2211 FILE* fr = fopen(tf.path, "r"); in TEST()
2323 TemporaryFile* tf = new TemporaryFile; in TEST() local
2324 tfs.push_back(tf); in TEST()
2325 FILE* fp = fopen(tf->path, "w+"); in TEST()
2358 TemporaryFile tf; in TEST() local
2359 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2401 TemporaryFile tf; in TEST() local
2402 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2440 TemporaryFile tf; in TEST() local
2441 ASSERT_EQ(0, remove(tf.path)); in TEST()
2442 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2451 ASSERT_EQ(-1, remove(tf.path)); in TEST()
2531 TemporaryFile tf; in TEST() local
2532 SetFileTo(tf.path, "0123456789"); in TEST()
2533 FILE* fp = fopen(tf.path, "a"); in TEST()
2543 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2547 TemporaryFile tf; in TEST() local
2548 SetFileTo(tf.path, "0123456789"); in TEST()
2549 int fd = open(tf.path, O_RDWR); in TEST()
2564 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2568 TemporaryFile tf; in TEST() local
2569 SetFileTo(tf.path, "0123456789"); in TEST()
2571 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2581 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2612 TemporaryFile tf; in TEST() local
2614 FILE* fp = fopen(tf.path, "w+"); in TEST()
2658 TemporaryFile tf; in TEST() local
2659 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2671 TemporaryFile tf; in TEST() local
2672 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2949 TemporaryFile tf; in TEST() local
2950 FILE* fp = fopen(tf.path, "r"); in TEST()