/external/llvm-project/clang/test/Analysis/ |
D | stream.c | 131 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()
|
D | stream-note.c | 41 F = freopen(0, "w", F); // expected-note {{Stream reopened here}} in check_note_freopen()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 24 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/ |
D | daemonize.c | 211 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/ |
D | testtemplate.c | 65 if (!freopen(argv[i], "w", stderr)) in main() 73 freopen("/dev/null", "w", stderr); in main()
|
D | testcgi.c | 28 freopen("multipart.dat", "rb", stdin); in main()
|
/external/deqp-deps/amber/samples/ |
D | android_main.cc | 33 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/ |
D | freopen.cpp | 12 freopen(NULL, "a", fp); in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | freopen.cc | 12 freopen(NULL, "a", fp); in main()
|
/external/google-breakpad/src/client/mac/crash_generation/ |
D | InspectorMain.mm | 44 freopen("/dev/console", "w", stdout); 45 freopen("/dev/console", "w", stderr);
|
/external/libwebm/webm_parser/fuzzing/ |
D | webm_fuzzer.cc | 67 : std::freopen(nullptr, "rb", stdin); in main()
|
/external/elfutils/tests/ |
D | lfs-symbols | 29 freopen
|
/external/deqp-deps/SPIRV-Tools/tools/ |
D | io.h | 33 (use_file ? fopen(filename, mode) : freopen(nullptr, mode, stdin))) { in ReadFile()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/ |
D | io.h | 33 (use_file ? fopen(filename, mode) : freopen(nullptr, mode, stdin))) { in ReadFile()
|
/external/ltp/testcases/kernel/fs/stream/ |
D | stream01.c | 76 if ((stream = freopen(tempfile2, "a+", stream)) == NULL) { in main()
|
/external/python/pycparser/utils/internal/ |
D | zc.c | 47 if(freopen(optarg, "r", fp) == NULL) { in main()
|
/external/libcxx/include/ |
D | cstdio | 52 FILE* freopen(const char* restrict filename, const char * restrict mode, 147 using ::freopen;
|
/external/google-breakpad/src/tools/linux/dump_syms/ |
D | dump_syms.cc | 104 if (freopen(_PATH_DEVNULL, "w", stderr)) { in main()
|
/external/libusb/tests/ |
D | testlib.c | 132 if (!freopen(NULL_PATH, "w", stderr)) { in libusb_testlib_run_tests()
|
/external/llvm-project/libcxx/include/ |
D | cstdio | 51 FILE* freopen(const char* restrict filename, const char * restrict mode, 150 using ::freopen;
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | e2e_test_jni.cpp | 53 if (freopen(log_path, "a+", stdout) == NULL) { in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
|
/external/iproute2/bridge/ |
D | bridge.c | 85 if (freopen(name, "r", stdin) == NULL) { in batch()
|
/external/llvm/lib/Fuzzer/afl/ |
D | afl_driver.cpp | 231 freopen(stderr_duplicate_filename, "a+", stderr); in maybe_duplicate_stderr()
|
/external/llvm-project/clang/test/Analysis/Inputs/ |
D | system-header-simulator.h | 47 FILE *freopen(const char *pathname, const char *mode, FILE *stream);
|
/external/libpng/contrib/gregbook/ |
D | rpng-win.c | 190 freopen("CONOUT$", "a", stderr); in WinMain() 191 freopen("CONOUT$", "a", stdout); in WinMain()
|