Searched refs:pipe_fds (Results 1 - 5 of 5) sorted by relevance
/system/core/adb/ |
H A D | sysdeps_win32_test.cpp | 104 int pipe_fds[2]; local 105 EXPECT_EQ(0, _pipe(pipe_fds, 64, _O_BINARY)); 106 EXPECT_EQ(0, unix_isatty(pipe_fds[0])); 107 EXPECT_EQ(0, unix_isatty(pipe_fds[1])); 108 EXPECT_EQ(0, _close(pipe_fds[0])); 109 EXPECT_EQ(0, _close(pipe_fds[1]));
|
/system/bt/vendor_libs/linux/interface/ |
H A D | async_fd_watcher.cc | 75 int pipe_fds[2]; local 76 if (pipe2(pipe_fds, O_NONBLOCK)) return -1; 78 notification_listen_fd_ = pipe_fds[0]; 79 notification_write_fd_ = pipe_fds[1];
|
/system/connectivity/wifilogd/tests/ |
H A D | command_processor_unittest.cpp | 445 int pipe_fds[2]; local 446 ASSERT_EQ(0, pipe(pipe_fds)); 448 const unique_fd our_fd{pipe_fds[0]}; 449 const int their_fd = pipe_fds[1]; 462 int pipe_fds[2]; local 463 ASSERT_EQ(0, pipe(pipe_fds)); 465 const unique_fd our_fd{pipe_fds[0]}; 466 const int their_fd = pipe_fds[1];
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | async_manager.cc | 163 int pipe_fds[2]; local 164 if (pipe2(pipe_fds, O_NONBLOCK)) { 171 notification_listen_fd_ = pipe_fds[0]; 172 notification_write_fd_ = pipe_fds[1];
|
/system/core/init/ |
H A D | init.cpp | 618 // * pipe_fds[0] is the FD the parent will use for reading. 619 // * pipe_fds[1] is the FD the child will use for writing. 620 int pipe_fds[2]; local 621 if (pipe(pipe_fds) == -1) { 636 TEMP_FAILURE_RETRY(close(pipe_fds[0])); 639 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[1], STDERR_FILENO)) == -1) { 644 TEMP_FAILURE_RETRY(close(pipe_fds[1])); 658 TEMP_FAILURE_RETRY(close(pipe_fds[1])); 664 const int child_out_fd = pipe_fds[0];
|
Completed in 136 milliseconds