• Home
  • Raw
  • Download

Lines Matching refs:tf

185   TemporaryFile tf;  in TEST()  local
187 int rc = dprintf(tf.fd, "hello\n"); in TEST()
190 lseek(tf.fd, 0, SEEK_SET); in TEST()
191 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
958 TemporaryFile tf; in TEST() local
960 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
1510 TemporaryFile tf; in TEST() local
1511 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1526 fp = fopen(tf.path, "r"); in TEST()
2181 TemporaryFile tf; in test_fwrite_after_fread() local
2183 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2215 TemporaryFile tf; in TEST() local
2217 FILE* fp = fopen(tf.path, "w+"); in TEST()
2227 fp = fopen(tf.path, "r"); in TEST()
2253 TemporaryFile tf; in TEST() local
2256 FILE* fw = fopen(tf.path, "w"); in TEST()
2259 FILE* fr = fopen(tf.path, "r"); in TEST()
2371 TemporaryFile* tf = new TemporaryFile; in TEST() local
2372 tfs.push_back(tf); in TEST()
2373 FILE* fp = fopen(tf->path, "w+"); in TEST()
2406 TemporaryFile tf; in TEST() local
2407 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2449 TemporaryFile tf; in TEST() local
2450 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2488 TemporaryFile tf; in TEST() local
2489 ASSERT_EQ(0, remove(tf.path)); in TEST()
2490 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2499 ASSERT_EQ(-1, remove(tf.path)); in TEST()
2585 TemporaryFile tf; in TEST() local
2586 SetFileTo(tf.path, "0123456789"); in TEST()
2587 FILE* fp = fopen(tf.path, "a"); in TEST()
2597 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2601 TemporaryFile tf; in TEST() local
2602 SetFileTo(tf.path, "0123456789"); in TEST()
2603 int fd = open(tf.path, O_RDWR); in TEST()
2618 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2622 TemporaryFile tf; in TEST() local
2623 SetFileTo(tf.path, "0123456789"); in TEST()
2625 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2635 AssertFileIs(tf.path, "0123456789xxx"); in TEST()
2666 TemporaryFile tf; in TEST() local
2668 FILE* fp = fopen(tf.path, "w+"); in TEST()
2712 TemporaryFile tf; in TEST() local
2713 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2725 TemporaryFile tf; in TEST() local
2726 FILE* fp = fopen64(tf.path, "w+"); in TEST()
3003 TemporaryFile tf; in TEST() local
3004 FILE* fp = fopen(tf.path, "r"); in TEST()