• Home
  • Raw
  • Download

Lines Matching refs:FILE

66   FILE* fp;  in SetFileTo()
73 FILE* fp; in AssertFileIs()
83 static void AssertFileIs(FILE* fp, const char* expected, bool is_fmemopen = false) { in AssertFileIs()
133 FILE* fp = fopen("/dev/null", "w"); in TEST()
144 FILE* fp = tmpfile(); in TEST()
163 FILE* fp = tmpfile64(); in TEST()
172 FILE* fp = tmpfile(); in TEST()
191 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
199 FILE* fp = tmpfile(); in TEST()
236 FILE* fp = tmpfile(); in TEST()
256 FILE* fp = fopen("/proc", "r"); in TEST()
265 FILE* fp = tmpfile(); in TEST()
309 FILE* fp = tmpfile(); in TEST()
960 FILE* tfile = fdopen(tf.fd, "r+"); in TEST()
970 FILE* fp; in TEST()
994 FILE* fp = popen("cat /proc/version", "r"); in TEST()
1006 FILE* fp = popen("cat", "r+"); in TEST()
1022 FILE* fp = popen("uniq -c", "r+"); in TEST()
1039 FILE* fp = popen("true", "r"); in TEST()
1047 FILE* fp = popen("false", "r"); in TEST()
1057 FILE* fp = popen(cmd.c_str(), "r"); in TEST()
1065 FILE* fp = fopen("/proc/version", "r"); in TEST()
1076 FILE* fp = fopen("/proc/version", "r"); in TEST()
1399 FILE* fp = fopen("/proc/version", "r"); in TEST()
1441 FILE* fp = tmpfile(); in TEST()
1511 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
1564 FILE* fp = fmemopen(buf, sizeof(buf), "r+"); in TEST()
1578 FILE* fp = fmemopen(nullptr, 128, "r+"); in TEST()
1586 FILE* fp; in TEST()
1619 FILE* fp; in TEST()
1729 FILE* fp; in TEST()
1752 FILE* fp = fmemopen(buf, sizeof(buf), "w"); in TEST()
1770 FILE* fp = fmemopen(buf, sizeof(buf), "r"); in TEST()
1784 FILE* fp = fmemopen(buf, sizeof(buf), "r"); in TEST()
1807 FILE* fp; in TEST()
1853 FILE* fp; in TEST()
1875 FILE* fp; in TEST()
1900 FILE* fp = fmemopen(nullptr, 128, "a+"); in TEST()
1912 FILE* fp; in TEST()
1936 FILE* fp = fmemopen(buf, 0, "w"); in TEST()
1944 FILE* fp; in TEST()
1953 FILE* fp = fmemopen(nullptr, 16, "r"); in TEST()
1965 FILE* fp; in TEST()
1986 FILE* fp = open_memstream(&p, &size); in TEST()
2022 FILE* fp = fdopen(fd, "re"); in TEST()
2032 FILE* fp = fdopen(fd, "r"); in TEST()
2039 FILE* fp = fopen("/proc/version", "r"); in TEST()
2050 FILE* fp = fopen("/proc/version", "re"); in TEST()
2060 FILE* fp = fopen("/proc/version", "r"); in TEST()
2070 FILE* fp = fopen("/proc/version", "re"); in TEST()
2079 FILE* fp = fopen64("/proc/version", "r"); in TEST()
2089 FILE* fp = fopen("/dev/zero", "r"); in TEST()
2119 FILE* fp = fmemopen(&digits[0], digits.size(), "r"); in TEST()
2141 FILE* fp = fopen("/dev/null", "w"); in test_fread_from_write_only_stream()
2160 FILE* fp = fopen("/proc/version", "re"); in TEST()
2167 FILE* fp = fopen("/proc/version", "re"); in TEST()
2174 FILE* fp = fopen("/proc/version", "re"); in TEST()
2183 FILE* fp = fdopen(tf.fd, "w+"); in test_fwrite_after_fread()
2217 FILE* fp = fopen(tf.path, "w+"); in TEST()
2256 FILE* fw = fopen(tf.path, "w"); in TEST()
2259 FILE* fr = fopen(tf.path, "r"); in TEST()
2304 FILE* fp = funopen(nullptr, read_fn, nullptr, nullptr, nullptr); in TEST()
2345 FILE* fp = funopen(nullptr, read_fn, nullptr, seek_fn, nullptr); in TEST()
2356 FILE* fp64 = funopen64(nullptr, read_fn, nullptr, seek64_fn, nullptr); in TEST()
2368 std::vector<FILE*> fps; in TEST()
2373 FILE* fp = fopen(tf->path, "w+"); in TEST()
2389 static void AssertFileOffsetAt(FILE* fp, off64_t offset) { in AssertFileOffsetAt()
2407 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2450 FILE* fp = fdopen(tf.fd, "w+"); in TEST()
2587 FILE* fp = fopen(tf.path, "a"); in TEST()
2608 FILE* fp = fdopen(fd, "a"); in TEST()
2624 FILE* other_fp = fopen("/proc/version", "r"); in TEST()
2625 FILE* fp = freopen(tf.path, "a", other_fp); in TEST()
2668 FILE* fp = fopen(tf.path, "w+"); in TEST()
2713 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2726 FILE* fp = fopen64(tf.path, "w+"); in TEST()
2764 FILE* fp1 = fopen("/dev/zero", "r"); in TEST()
2770 FILE* fp2 = fopen("/dev/zero", "r"); in TEST()
2867 FILE* fp; in TEST()
2900 FILE* fp = fmemopen(nullptr, 16, "nonsense"); in TEST()
2907 FILE* fp = fopen("/proc/version", "nonsense"); in TEST()
2913 FILE* fp = fopen("/proc/version", "re"); in TEST()
2931 FILE* fp = fopen("/proc/does-not-exist", "re"); in TEST()
3004 FILE* fp = fopen(tf.path, "r"); in TEST()
3037 std::unique_ptr<FILE, decltype(&fclose)> fp{fopen("/dev/zero", "re"), fclose}; in TEST()
3050 std::unique_ptr<FILE, decltype(&fclose)> fp{fopen("/dev/null", "we"), fclose}; in TEST()