Searched refs:dup2 (Results 1 – 5 of 5) sorted by relevance
/device/generic/goldfish-opengl/android-emu/android/utils/ |
D | debug.c | 147 dup2(null_fd, out_fd); in stdio_disable() 148 dup2(null_fd, err_fd); in stdio_disable() 159 dup2(stdio_save_out_fd, out_fd); in stdio_enable() 160 dup2(stdio_save_err_fd, err_fd); in stdio_enable()
|
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/ |
D | Xw32defs.h | 20 # define dup2 _dup2 macro
|
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.cpp | 79 TEMP_FAILURE_RETRY(dup2(fd, std_channel)); in do_redirects()
|
/device/google/cuttlefish/common/libs/fs/ |
D | shared_fd.cpp | 728 int rval = TEMP_FAILURE_RETRY(dup2(fd_, newfd)); in UNMANAGED_Dup2()
|
/device/generic/goldfish-opengl/system/profiler/ |
D | perfetto.cpp | 5350 PERFETTO_CHECK(dup2(*null, STDIN_FILENO) != -1); in Daemonize() 5351 PERFETTO_CHECK(dup2(*null, STDOUT_FILENO) != -1); in Daemonize() 5352 PERFETTO_CHECK(dup2(*null, STDERR_FILENO) != -1); in Daemonize() 7328 if (dup2(args->stdin_pipe_rd, STDIN_FILENO) == -1) in ChildProcess() 7336 if (dup2(open("/dev/null", O_RDWR), STDOUT_FILENO) == -1) in ChildProcess() 7341 if (dup2(args->stdouterr_pipe_wr, STDOUT_FILENO) == -1) in ChildProcess() 7345 if (dup2(*args->create_args->out_fd, STDOUT_FILENO) == -1) in ChildProcess() 7354 if (dup2(open("/dev/null", O_RDWR), STDERR_FILENO) == -1) in ChildProcess() 7359 if (dup2(args->stdouterr_pipe_wr, STDERR_FILENO) == -1) in ChildProcess() 7363 if (dup2(*args->create_args->out_fd, STDERR_FILENO) == -1) in ChildProcess()
|