Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/external/catch2/include/internal/
Dcatch_output_redirect.cpp21 #define dup2 _dup2 macro
117 dup2(fileno(m_stdoutFile.getFile()), 1); in OutputRedirect()
118 dup2(fileno(m_stderrFile.getFile()), 2); in OutputRedirect()
130 dup2(m_originalStdout, 1); in ~OutputRedirect()
131 dup2(m_originalStderr, 2); in ~OutputRedirect()
144 #undef dup2
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dtail-dup-repeat.ll7 ; multiple successors. In this case, the block dup1 gets duplicated into dup2
8 ; and if.then64, and then the block dup2 gets duplicated into land.lhs.true
21 br label %dup2
38 br label %dup2
40 dup2: ; preds = %if.end70, %land.lhs.true
44 dup1: ; preds = %dup2, %if.then64
/external/autotest/client/bin/
Dautotestd17 os.dup2(2, 3)
24 os.dup2(stdout.fileno(), 1)
25 os.dup2(stdout.fileno(), 2)
26 os.dup2(stderr.fileno(), 3)
Dautotest_client14 os.dup2(2,3)
16 os.dup2(1,2)
/external/python/cpython2/Lib/
Dpopen2.py59 os.dup2(p2cread, 0)
60 os.dup2(c2pwrite, 1)
62 os.dup2(errin, 2)
127 os.dup2(p2cread, 0)
128 os.dup2(c2pwrite, 1)
129 os.dup2(c2pwrite, 2)
Dpty.py115 os.dup2(slave_fd, STDIN_FILENO)
116 os.dup2(slave_fd, STDOUT_FILENO)
117 os.dup2(slave_fd, STDERR_FILENO)
/external/openssh/openbsd-compat/
Ddaemon.c72 (void)dup2(fd, STDIN_FILENO); in daemon()
73 (void)dup2(fd, STDOUT_FILENO); in daemon()
74 (void)dup2(fd, STDERR_FILENO); in daemon()
/external/e2fsprogs/lib/
Dfpopen.c103 dup2(fds[0], 0); in fpopen()
106 dup2(fds[1], 1); in fpopen()
108 dup2(fds[1], 2); in fpopen()
/external/libusb/tests/
Dtestlib.c39 #define dup2 _dup2 macro
85 IGNORE_RETVAL(dup2(ctx->old_stdout, STDOUT_FILENO)); in cleanup_test_output()
89 IGNORE_RETVAL(dup2(ctx->old_stderr, STDERR_FILENO)); in cleanup_test_output()
135 if ((dup2(ctx->null_fd, STDOUT_FILENO) < 0) || in setup_test_output()
136 (dup2(ctx->null_fd, STDERR_FILENO) < 0)) { in setup_test_output()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc176 dup2(fd, 1); in CaptureTestStdout()
191 dup2(fd, 2); in CaptureTestStderr()
199 dup2(original_stdout_, 1); in GetCapturedTestStdout()
214 dup2(original_stderr_, 2); in GetCapturedTestStderr()
/external/toybox/toys/pending/
Dinit.c60 dup2(fd,0); in initialize_console()
61 dup2(fd,1); in initialize_console()
62 dup2(fd,2); in initialize_console()
263 dup2(0, 1); in final_run()
264 dup2(0, 2); in final_run()
396 dup2(0, 1); in restart_init_handler()
397 dup2(0, 2); in restart_init_handler()
Dsulogin.c91 dup2((fd = xopen_stdio(toys.optargs[0], O_RDWR)), 0); in sulogin_main()
93 dup2( fd, 1); in sulogin_main()
94 dup2( fd, 2); in sulogin_main()
/external/autotest/utils/
Dparallel.py94 os.dup2(in_fd, 0)
100 os.dup2(out_fd, 2)
101 os.dup2(out_fd, 1)
/external/toybox/toys/net/
Dnetcat.c160 dup2(in1, 0); in netcat_main()
161 dup2(in1, 1); in netcat_main()
162 if (toys.optflags&FLAG_L) dup2(in1, 2); in netcat_main()
/external/perfetto/src/traced/probes/ftrace/
Datrace_wrapper.cc57 if ((dup2(*err_pipe.wr, STDERR_FILENO) == -1)) { in ExecvAtrace()
70 if ((dup2(null_fd, STDOUT_FILENO) == -1)) { in ExecvAtrace()
76 if ((dup2(null_fd, STDIN_FILENO) == -1)) { in ExecvAtrace()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dtail-dup-branch-to-fallthrough.ll50 br label %dup2
54 br label %dup2
60 dup2: ; preds = %if.then, %if.else
/external/tensorflow/tensorflow/core/platform/
Dstacktrace_handler_test.cc44 dup2(test_pipe[1], STDOUT_FILENO); in TEST()
45 dup2(test_pipe[1], STDERR_FILENO); in TEST()
/external/python/cpython3/Lib/
Dpty.py104 os.dup2(slave_fd, STDIN_FILENO)
105 os.dup2(slave_fd, STDOUT_FILENO)
106 os.dup2(slave_fd, STDERR_FILENO)
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc440 dup2(null, STDIN_FILENO); in NativeStartup()
441 dup2(null, STDOUT_FILENO); in NativeStartup()
442 dup2(null, STDERR_FILENO); in NativeStartup()
521 dup2(null, STDIN_FILENO); in NativeStartupDenormalizedCmdline()
522 dup2(null, STDOUT_FILENO); in NativeStartupDenormalizedCmdline()
523 dup2(null, STDERR_FILENO); in NativeStartupDenormalizedCmdline()
592 dup2(null, STDIN_FILENO); in DiscoverByName()
593 dup2(null, STDOUT_FILENO); in DiscoverByName()
594 dup2(null, STDERR_FILENO); in DiscoverByName()
669 dup2(null, STDIN_FILENO); in DiscoverByNameDenormalizedCmdline()
[all …]
/external/ltp/lib/tests/
Dtrerrno.c52 TEST(dup2(fd, fileno(stdout))); in main()
63 TEST(dup2(stdout_fd, fileno(stdout))); in main()
/external/gptfdisk/
Dsgdisk.cc43 dup2(silence, STDOUT_FILENO); in android_dump()
44 dup2(silence, STDERR_FILENO); in android_dump()
/external/honggfuzz/
Dsubproc.c255 if (run->global->feedback.bbFd != -1 && dup2(run->global->feedback.bbFd, _HF_BITMAP_FD) == -1) { in subproc_PrepareExecv()
261 if (run->global->exe.persistent && dup2(run->dynamicFileFd, _HF_INPUT_FD) == -1) { in subproc_PrepareExecv()
268 if (dup2(logFd(), _HF_LOG_FD) == -1) { in subproc_PrepareExecv()
289 if (run->global->exe.fuzzStdin && dup2(run->dynamicFileCopyFd, STDIN_FILENO) == -1) { in subproc_PrepareExecv()
345 if (dup2(sv[1], _HF_PERSISTENT_FD) == -1) { in subproc_New()
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp63 dup2(pts, 0); in CreateSubprocess()
64 dup2(pts, 1); in CreateSubprocess()
65 dup2(pts, 2); in CreateSubprocess()
/external/proguard/src/proguard/evaluation/
DTracedStack.java252 public void dup2() in dup2() method in TracedStack
254 super.dup2(); in dup2()
263 actualProducerStack.dup2(); in dup2()
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dupdate_engine_performance_monitor.py203 os.dup2(si.fileno(), sys.stdin.fileno())
204 os.dup2(so.fileno(), sys.stdout.fileno())
205 os.dup2(se.fileno(), sys.stderr.fileno())

12345678910>>...12