Searched refs:pipe_fds (Results 1 – 5 of 5) sorted by relevance
/system/core/adb/ |
D | sysdeps_win32_test.cpp | 104 int pipe_fds[2]; in TEST() local 105 EXPECT_EQ(0, _pipe(pipe_fds, 64, _O_BINARY)); in TEST() 106 EXPECT_EQ(0, unix_isatty(pipe_fds[0])); in TEST() 107 EXPECT_EQ(0, unix_isatty(pipe_fds[1])); in TEST() 108 EXPECT_EQ(0, _close(pipe_fds[0])); in TEST() 109 EXPECT_EQ(0, _close(pipe_fds[1])); in TEST()
|
/system/bt/vendor_libs/linux/interface/ |
D | async_fd_watcher.cc | 75 int pipe_fds[2]; in tryStartThread() local 76 if (pipe2(pipe_fds, O_NONBLOCK)) return -1; in tryStartThread() 78 notification_listen_fd_ = pipe_fds[0]; in tryStartThread() 79 notification_write_fd_ = pipe_fds[1]; in tryStartThread()
|
/system/connectivity/wifilogd/tests/ |
D | command_processor_unittest.cpp | 445 int pipe_fds[2]; in TEST_F() local 446 ASSERT_EQ(0, pipe(pipe_fds)); in TEST_F() 448 const unique_fd our_fd{pipe_fds[0]}; in TEST_F() 449 const int their_fd = pipe_fds[1]; in TEST_F() 462 int pipe_fds[2]; in TEST_F() local 463 ASSERT_EQ(0, pipe(pipe_fds)); in TEST_F() 465 const unique_fd our_fd{pipe_fds[0]}; in TEST_F() 466 const int their_fd = pipe_fds[1]; in TEST_F()
|
/system/core/init/ |
D | selinux.cpp | 119 int pipe_fds[2]; in ForkExecveAndWaitForCompletion() local 120 if (pipe(pipe_fds) == -1) { in ForkExecveAndWaitForCompletion() 135 close(pipe_fds[0]); in ForkExecveAndWaitForCompletion() 138 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[1], STDERR_FILENO)) == -1) { in ForkExecveAndWaitForCompletion() 143 close(pipe_fds[1]); in ForkExecveAndWaitForCompletion() 157 close(pipe_fds[1]); in ForkExecveAndWaitForCompletion() 163 const int child_out_fd = pipe_fds[0]; in ForkExecveAndWaitForCompletion()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | async_manager.cc | 156 int pipe_fds[2]; in tryStartThread() local 157 if (pipe2(pipe_fds, O_NONBLOCK)) { in tryStartThread() 164 notification_listen_fd_ = pipe_fds[0]; in tryStartThread() 165 notification_write_fd_ = pipe_fds[1]; in tryStartThread()
|