dup2 92 base/posix/file_descriptor_shuffle.cc return HANDLE_EINTR(dup2(src, dest)) != -1; dup2 342 base/process/launch_posix.cc int new_fd = HANDLE_EINTR(dup2(null_fd.get(), STDIN_FILENO)); dup2 58 base/test/multiprocess_test_android.cc if (dup2(old_fd, new_fd) < 0) { dup2 31 components/nacl/loader/nonsfi/irt_fdio.cc return CheckError(dup2(fd, newfd)); dup2 93 content/shell/android/browsertests_apk/content_browser_tests_android.cc dup2(STDOUT_FILENO, STDERR_FILENO); dup2 151 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->dup2(oldfd, newfd); dup2 71 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int dup2(int fd, int newfd); dup2 52 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int NAME(dup2)(int oldfd, int newfd) NOTHROW; dup2 125 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc OP(dup2); \ dup2 166 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(dup2)(int fd, int newfd) NOTHROW { dup2 130 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc OP(dup2); \ dup2 163 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(dup2)(int fd, int newfd) NOTHROW { dup2 61 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc OP(fdio, dup2); \ dup2 104 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(dup2)(int fd, int newfd) { dup2 238 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc dup2(fd0, 0); dup2 241 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc dup2(fd1, 1); dup2 244 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc dup2(fd2, 2); dup2 182 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc TEST_F(KernelWrapTest, dup2) { dup2 185 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, dup2(kDummyInt, kDummyInt2)) dup2 188 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, dup2(kDummyInt, kDummyInt2)); dup2 189 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(-1, dup2(kDummyInt, kDummyInt2)); dup2 27 native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h MOCK_METHOD2(dup2, int(int, int)); dup2 302 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (HANDLE_EINTR(dup2(fds[1], 2)) != 2) { dup2 244 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(dup2(fds[2], fds[0]) == 0); dup2 134 sandbox/linux/tests/unit_tests.cc SANDBOX_ASSERT(dup2(fds[1], 2) == 2); dup2 175 testing/android/native_test_launcher.cc dup2(STDOUT_FILENO, STDERR_FILENO); dup2 1409 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc dup2(duped_stdin_, STDIN_FILENO); dup2 1422 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc dup2(fd, STDIN_FILENO); dup2 308 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc dup2(stdin_pipe[0], STDIN_FILENO); dup2 309 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc dup2(stdout_pipe[1], STDOUT_FILENO); dup2 164 third_party/protobuf/src/google/protobuf/testing/googletest.cc dup2(fd, 1); dup2 179 third_party/protobuf/src/google/protobuf/testing/googletest.cc dup2(fd, 2); dup2 187 third_party/protobuf/src/google/protobuf/testing/googletest.cc dup2(original_stdout_, 1); dup2 202 third_party/protobuf/src/google/protobuf/testing/googletest.cc dup2(original_stderr_, 2); dup2 187 third_party/tcmalloc/chromium/src/symbolize.cc if (dup2(child_in[0], 0) == -1) _exit(1); dup2 188 third_party/tcmalloc/chromium/src/symbolize.cc if (dup2(child_out[0], 1) == -1) _exit(2); dup2 187 third_party/tcmalloc/vendor/src/symbolize.cc if (dup2(child_in[0], 0) == -1) _exit(1); dup2 188 third_party/tcmalloc/vendor/src/symbolize.cc if (dup2(child_out[0], 1) == -1) _exit(2);