Home
last modified time | relevance | path

Searched refs:freopen (Results 1 – 25 of 83) sorted by relevance

1234

/external/llvm-project/clang/test/Analysis/
Dstream.c131 p = freopen("foo", "w", p); in f_reopen_after_close()
164 FILE *f1 = freopen("foo.c", "r", (FILE *)0); // expected-warning {{Stream pointer might be NULL}} in check_freopen_1()
165 f1 = freopen(0, "w", (FILE *)0x123456); // Do not report this as error. in check_freopen_1()
171 FILE *f2 = freopen(0, "w", f1); in check_freopen_2()
191 freopen(0, "w", f1); in check_freopen_3()
223 F = freopen(0, "w", F); in check_escape3()
Dstream-note.c41 F = freopen(0, "w", F); // expected-note {{Stream reopened here}} in check_note_freopen()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-owning-memory-legacy-functions.cpp24 FILE *freopen(const char *filename, const char *mode, FILE *stream);
34 using ::freopen;
179 FILE *File2 = freopen("testfile.txt", "w", File1); in test_legacy_consumers()
186 gsl::owner<FILE *> File3 = freopen("testfile.txt", "w", File2); // Bad, File2 no owner in test_legacy_consumers()
191 FILE *File6 = freopen("testfile.txt", "w", TmpFile); // Bad, both return and argument in test_legacy_consumers()
/external/libwebsockets/lib/misc/
Ddaemonize.c211 if (!freopen("/dev/null", "r", stdin)) in lws_daemonize()
215 if (!freopen("/dev/null", "w", stdout)) in lws_daemonize()
219 if (!freopen("/dev/null", "w", stderr)) in lws_daemonize()
/external/libcups/cgi-bin/
Dtesttemplate.c65 if (!freopen(argv[i], "w", stderr)) in main()
73 freopen("/dev/null", "w", stderr); in main()
Dtestcgi.c28 freopen("multipart.dat", "rb", stdin); in main()
/external/deqp-deps/amber/samples/
Dandroid_main.cc33 freopen(stdout_file_cstr, "w", stdout); in Java_com_google_amber_Amber_androidMain()
34 freopen(stderr_file_cstr, "w", stderr); in Java_com_google_amber_Amber_androidMain()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dfreopen.cpp12 freopen(NULL, "a", fp); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dfreopen.cc12 freopen(NULL, "a", fp); in main()
/external/google-breakpad/src/client/mac/crash_generation/
DInspectorMain.mm44 freopen("/dev/console", "w", stdout);
45 freopen("/dev/console", "w", stderr);
/external/libwebm/webm_parser/fuzzing/
Dwebm_fuzzer.cc67 : std::freopen(nullptr, "rb", stdin); in main()
/external/elfutils/tests/
Dlfs-symbols29 freopen
/external/deqp-deps/SPIRV-Tools/tools/
Dio.h33 (use_file ? fopen(filename, mode) : freopen(nullptr, mode, stdin))) { in ReadFile()
/external/swiftshader/third_party/SPIRV-Tools/tools/
Dio.h33 (use_file ? fopen(filename, mode) : freopen(nullptr, mode, stdin))) { in ReadFile()
/external/ltp/testcases/kernel/fs/stream/
Dstream01.c76 if ((stream = freopen(tempfile2, "a+", stream)) == NULL) { in main()
/external/python/pycparser/utils/internal/
Dzc.c47 if(freopen(optarg, "r", fp) == NULL) { in main()
/external/libcxx/include/
Dcstdio52 FILE* freopen(const char* restrict filename, const char * restrict mode,
147 using ::freopen;
/external/google-breakpad/src/tools/linux/dump_syms/
Ddump_syms.cc104 if (freopen(_PATH_DEVNULL, "w", stderr)) { in main()
/external/libusb/tests/
Dtestlib.c132 if (!freopen(NULL_PATH, "w", stderr)) { in libusb_testlib_run_tests()
/external/llvm-project/libcxx/include/
Dcstdio51 FILE* freopen(const char* restrict filename, const char * restrict mode,
150 using ::freopen;
/external/v4l2_codec2/tests/c2_e2e_test/jni/
De2e_test_jni.cpp53 if (freopen(log_path, "a+", stdout) == NULL) { in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
/external/iproute2/bridge/
Dbridge.c85 if (freopen(name, "r", stdin) == NULL) { in batch()
/external/llvm/lib/Fuzzer/afl/
Dafl_driver.cpp231 freopen(stderr_duplicate_filename, "a+", stderr); in maybe_duplicate_stderr()
/external/llvm-project/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h47 FILE *freopen(const char *pathname, const char *mode, FILE *stream);
/external/libpng/contrib/gregbook/
Drpng-win.c190 freopen("CONOUT$", "a", stderr); in WinMain()
191 freopen("CONOUT$", "a", stdout); in WinMain()

1234