/third_party/libwebsockets/lib/misc/ |
H A D | daemonize.c | 211 if (!freopen("/dev/null", "r", stdin)) in lws_daemonize() 212 fprintf(stderr, "unable to freopen() stdin, code %d (%s)", in lws_daemonize() 215 if (!freopen("/dev/null", "w", stdout)) in lws_daemonize() 216 fprintf(stderr, "unable to freopen() stdout, code %d (%s)", in lws_daemonize() 219 if (!freopen("/dev/null", "w", stderr)) in lws_daemonize() 220 fprintf(stderr, "unable to freopen() stderr, code %d (%s)", in lws_daemonize()
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | freopen.c | 10 * lock, via flockfile or otherwise, when freopen is called, and in that 11 * case, freopen cannot act until the lock is released. */ 13 FILE *freopen(const char *restrict filename, const char *restrict mode, FILE *restrict f) in freopen() function 60 weak_alias(freopen, freopen64);
|
/third_party/musl/src/stdio/ |
H A D | freopen.c | 10 * lock, via flockfile or otherwise, when freopen is called, and in that 11 * case, freopen cannot act until the lock is released. */ 13 FILE *freopen(const char *restrict filename, const char *restrict mode, FILE *restrict f) in freopen() function 57 weak_alias(freopen, freopen64);
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
H A D | android_helper.cc | 37 freopen(stdout_file_cstr, "w", stdout); in Java_com_google_amber_Amber_androidHelper() 38 freopen(stderr_file_cstr, "w", stderr); in Java_com_google_amber_Amber_androidHelper()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | freopen.c | 28 FILE_ABSOLUTE_PATH("freopen.txt", ptr); in freopen_0100() 31 fp = freopen(ptr, "w+", stdin); in freopen_0100()
|
H A D | _flushlbf.c | 37 FILE *fp = freopen("/data/test.txt", "r", stdin); in flushlbf_0100()
|
H A D | getchar_unlocked.c | 39 FILE *fp = freopen(path, "r", stdin); in getchar_unlocked_0100() 41 t_error("%s freopen failed\n", __func__); in getchar_unlocked_0100()
|
H A D | getchar.c | 39 FILE *fp = freopen(path, "r", stdin); in getchar_0100() 41 t_error("%s freopen failed\n", __func__); in getchar_0100()
|
/third_party/curl/src/ |
H A D | tool_stderr.c | 52 subsequent freopen will fail. */ in tool_set_stderr_file() 60 /* freopen the actual stderr (stdio.h stderr) instead of tool_stderr since in tool_set_stderr_file() 63 fp = freopen(filename, FOPEN_WRITETEXT, stderr); in tool_set_stderr_file() 65 /* stderr may have been closed by freopen. there is nothing to be done. */ in tool_set_stderr_file()
|
/third_party/node/test/wasi/c/ |
H A D | freopen.c | 7 FILE* file_new = freopen("/sandbox/input2.txt", "r", file_orig); in main()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | stdio.h | 69 FILE *freopen(const char *__restrict, const char *__restrict, FILE *__restrict); 209 #define freopen64 freopen
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | stdio.h | 71 FILE *freopen(const char *__restrict, const char *__restrict, FILE *__restrict); 210 #define freopen64 freopen
|
/third_party/musl/porting/linux/user/include/ |
H A D | stdio.h | 72 FILE *freopen(const char *__restrict, const char *__restrict, FILE *__restrict); 216 #define freopen64 freopen
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | stdio.h | 69 FILE *freopen(const char *__restrict, const char *__restrict, FILE *__restrict); 209 #define freopen64 freopen
|
/third_party/musl/include/ |
H A D | stdio.h | 72 FILE *freopen(const char *__restrict, const char *__restrict, FILE *__restrict); 216 #define freopen64 freopen
|
/third_party/ltp/testcases/kernel/fs/stream/ |
H A D | stream01.c | 24 >KEYS: < freopen() 25 >WHAT: < 1) check that freopen substitutes the named file in place of stream. 26 >HOW: < 1) open a stream, write something to it, perform freopen and 28 < the file specified by freopen. 76 if ((stream = freopen(tempfile2, "a+", stream)) == NULL) { in main() 77 tst_brkm(TFAIL | TERRNO, NULL, "freopen(%s) a+ failed", in main()
|
/third_party/ffmpeg/tests/ |
H A D | rotozoom.c | 169 if (!freopen(argv[2], "wb", stdout)) in main()
|
H A D | videogen.c | 162 if (!freopen(argv[1], "wb", stdout)) in main()
|
/third_party/json/tests/thirdparty/Fuzzer/afl/ |
H A D | afl_driver.cpp | 231 freopen(stderr_duplicate_filename, "a+", stderr); in maybe_duplicate_stderr()
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng-win.c | 190 freopen("CONOUT$", "a", stderr); in WinMain() 191 freopen("CONOUT$", "a", stdout); in WinMain()
|
H A D | rpng2-win.c | 307 freopen("CONOUT$", "a", stderr); in WinMain() 308 freopen("CONOUT$", "a", stdout); in WinMain()
|
/third_party/musl/libc-test/src/api/ |
H A D | stdio.c | 52 {FILE*(*p)(const char*restrict,const char*restrict,FILE*restrict) = freopen;} in f()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | lib.c | 411 if (!freopen(outfile, "w", stdout)) in sparse_initialize()
|
/third_party/nghttp2/src/ |
H A D | util.cc | 1689 if (freopen("/dev/null", "r", stdin) == nullptr) { in daemonize() 1692 if (freopen("/dev/null", "w", stdout) == nullptr) { in daemonize() 1695 if (freopen("/dev/null", "w", stderr) == nullptr) { in daemonize()
|
/third_party/node/test/cctest/ |
H A D | test_environment.cc | 81 USE(freopen(filename_, "w", stderr)); in RedirectStdErr()
|