/third_party/libuv/src/unix/ |
H A D | core.c | 1125 r = dup2(oldfd, newfd); /* Never retry. */ in uv__dup2_cloexec()
|
/third_party/mksh/ |
H A D | main.c | 1539 /* A dup2() with error checking */ 1545 if (((rv = dup2(ofd, nfd)) < 0) && !errok && (errno != EBADF)) in ksh_dup2()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1622 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int; in dup2() functions
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 876 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int; in dup2() functions
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 4118 dup2(live_pipe[1], 1); in cmd_script() 4153 dup2(live_pipe[0], 0); in cmd_script()
|
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 3928 if (dup2(listener, 200) != 200) in TEST() 3987 if (dup2(listener, 200) != 200) in TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 1754 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() 1757 log << TestLog::Message << "dup2() failed: '" << strerror(errno) << "'" << TestLog::EndMessage; in testSemaphoreFdDup2() 1759 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2() 1783 TCU_THROW(NotSupportedError, "Platform doesn't support dup2()"); in testSemaphoreFdDup2() 2832 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testFenceFdDup2() 2835 log << TestLog::Message << "dup2() failed: '" << strerror(errno) << "'" << TestLog::EndMessage; in testFenceFdDup2() 2837 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testFenceFdDup2() 2861 TCU_THROW(NotSupportedError, "Platform doesn't support dup2()"); in testFenceFdDup2() 3689 const int newFd (dup2(fd.getFd(), secondFd.getFd())); in testMemoryFdDup2() 3692 log << TestLog::Message << "dup2() faile in testMemoryFdDup2() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 1739 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() 1742 log << TestLog::Message << "dup2() failed: '" << strerror(errno) << "'" << TestLog::EndMessage; in testSemaphoreFdDup2() 1744 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2() 1768 TCU_THROW(NotSupportedError, "Platform doesn't support dup2()"); in testSemaphoreFdDup2() 2814 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testFenceFdDup2() 2817 log << TestLog::Message << "dup2() failed: '" << strerror(errno) << "'" << TestLog::EndMessage; in testFenceFdDup2() 2819 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testFenceFdDup2() 2843 TCU_THROW(NotSupportedError, "Platform doesn't support dup2()"); in testFenceFdDup2() 3570 const int newFd (dup2(fd.getFd(), secondFd.getFd())); in testMemoryFdDup2() 3573 log << TestLog::Message << "dup2() faile in testMemoryFdDup2() [all...] |
/third_party/libabigail/tests/lib/ |
H A D | catch.hpp | 12062 #define dup2 _dup2 macro 12065 #include <unistd.h> // dup and dup2 12156 dup2(fileno(m_stdoutFile.getFile()), 1); 12157 dup2(fileno(m_stderrFile.getFile()), 2); 12169 dup2(m_originalStdout, 1); 12170 dup2(m_originalStderr, 2); 12183 #undef dup2 macro
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | unistdndk.cpp | 1899 dup2(fileDescribe, TEST_DUP);
in Dup2() 2213 {"dup2", nullptr, Dup2, nullptr, nullptr, nullptr, napi_default, nullptr},
in Init()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsresize.c | 597 if (dup2(STDOUT_FILENO, STDERR_FILENO) == -1) in parse_options()
|
/third_party/libinput/test/ |
H A D | litest.c | 139 dup2(pipefd[1], STDOUT_FILENO); in litest_backtrace()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 566 @unittest.skipUnless(hasattr(posix, 'dup2'), 567 'test needs posix.dup2()') 568 @unittest.skipIf(support.is_wasi, "WASI does not have dup2()") 573 posix.dup2(fp1.fileno(), fp2.fileno())
|
H A D | _test_multiprocessing.py | 3273 os.dup2(conn.fileno(), i) 3304 @unittest.skipUnless(hasattr(os, "dup2"), 3305 "test needs os.dup2()") 3323 os.dup2(fd, newfd)
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3589 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int; in dup2() functions
|
/third_party/eudev/ |
H A D | configure | 18494 for ac_func in alarm dup2 ftruncate localtime_r mempcpy \
|