Lines Matching refs:FILE
63 FILE* fp; in SetFileTo()
70 FILE* fp; in AssertFileIs()
80 static void AssertFileIs(FILE* fp, const char* expected, bool is_fmemopen = false) { in AssertFileIs()
108 FILE* fp = fopen("/dev/null", "w"); in TEST()
117 FILE* fp = tmpfile(); in TEST()
136 FILE* fp = tmpfile64(); in TEST()
148 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
156 FILE* fp = tmpfile(); in TEST()
191 FILE* fp = tmpfile(); in TEST()
210 FILE* fp = fopen("/proc", "r"); in TEST()
219 FILE* fp = tmpfile(); in TEST()
261 FILE* fp = tmpfile(); in TEST()
907 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
917 FILE* fp; in TEST()
941 FILE* fp = popen("cat /proc/version", "r"); in TEST()
953 FILE* fp = popen("cat", "r+"); in TEST()
969 FILE* fp = popen("uniq -c", "r+"); in TEST()
986 FILE* fp = popen("true", "r"); in TEST()
994 FILE* fp = popen("false", "r"); in TEST()
1002 FILE* fp = popen("kill -7 $$", "r"); in TEST()
1010 FILE* fp = fopen("/proc/version", "r"); in TEST()
1021 FILE* fp = fopen("/proc/version", "r"); in TEST()
1344 FILE* fp = fopen("/proc/version", "r"); in TEST()
1386 FILE* fp = tmpfile(); in TEST()
1456 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1509 FILE* fp = fmemopen(buf, sizeof(buf), "r+"); in TEST()
1523 FILE* fp = fmemopen(nullptr, 128, "r+"); in TEST()
1531 FILE* fp; in TEST()
1564 FILE* fp; in TEST()
1674 FILE* fp; in TEST()
1697 FILE* fp = fmemopen(buf, sizeof(buf), "w"); in TEST()
1715 FILE* fp = fmemopen(buf, sizeof(buf), "r"); in TEST()
1729 FILE* fp = fmemopen(buf, sizeof(buf), "r"); in TEST()
1752 FILE* fp; in TEST()
1798 FILE* fp; in TEST()
1820 FILE* fp; in TEST()
1845 FILE* fp = fmemopen(nullptr, 128, "a+"); in TEST()
1857 FILE* fp; in TEST()
1881 FILE* fp = fmemopen(buf, 0, "w"); in TEST()
1889 FILE* fp; in TEST()
1898 FILE* fp = fmemopen(nullptr, 16, "r"); in TEST()
1910 FILE* fp; in TEST()
1931 FILE* fp = open_memstream(&p, &size); in TEST()
1964 FILE* fp = fdopen(fd, "re"); in TEST()
1974 FILE* fp = fdopen(fd, "r"); in TEST()
1981 FILE* fp = fopen("/proc/version", "r"); in TEST()
1992 FILE* fp = fopen("/proc/version", "re"); in TEST()
2002 FILE* fp = fopen("/proc/version", "r"); in TEST()
2012 FILE* fp = fopen("/proc/version", "re"); in TEST()
2021 FILE* fp = fopen64("/proc/version", "r"); in TEST()
2031 FILE* fp = fopen("/dev/zero", "r"); in TEST()
2061 FILE* fp = fmemopen(&digits[0], digits.size(), "r"); in TEST()
2083 FILE* fp = fopen("/dev/null", "w"); in test_fread_from_write_only_stream()
2104 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2138 FILE* fp = fopen(tf.path, "w+"); in TEST()
2177 FILE* fw = fopen(tf.path, "w"); in TEST()
2180 FILE* fr = fopen(tf.path, "r"); in TEST()
2225 FILE* fp = funopen(nullptr, read_fn, nullptr, nullptr, nullptr); in TEST()
2266 FILE* fp = funopen(nullptr, read_fn, nullptr, seek_fn, nullptr); in TEST()
2277 FILE* fp64 = funopen64(nullptr, read_fn, nullptr, seek64_fn, nullptr); in TEST()
2289 std::vector<FILE*> fps; in TEST()
2294 FILE* fp = fopen(tf->path, "w+"); in TEST()
2310 static void AssertFileOffsetAt(FILE* fp, off64_t offset) { in AssertFileOffsetAt()
2328 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2371 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2502 FILE* fp = fopen(tf.path, "a"); in TEST()
2523 FILE* fp = fdopen(fd, "a"); in TEST()
2539 FILE* other_fp = fopen("/proc/version", "r"); in TEST()
2540 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2583 FILE* fp = fopen(tf.path, "w+"); in TEST()
2628 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2641 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2679 FILE* fp1 = fopen("/dev/zero", "r"); in TEST()
2685 FILE* fp2 = fopen("/dev/zero", "r"); in TEST()
2782 FILE* fp; in TEST()
2815 FILE* fp = fmemopen(nullptr, 16, "nonsense"); in TEST()
2822 FILE* fp = fopen("/proc/version", "nonsense"); in TEST()
2828 FILE* fp = fopen("/proc/version", "re"); in TEST()
2846 FILE* fp = fopen("/proc/does-not-exist", "re"); in TEST()
2919 FILE* fp = fopen(tf.path, "r"); in TEST()