/external/chromium_org/tools/android/forwarder2/ |
H A D | pipe_notifier.cc | 19 int pipe_fd[2]; local 20 int ret = pipe(pipe_fd); 22 receiver_fd_ = pipe_fd[0]; 23 sender_fd_ = pipe_fd[1];
|
/external/chromium_org/remoting/host/posix/ |
H A D | signal_handler.cc | 88 int pipe_fd[2]; 89 int result = pipe(pipe_fd); 96 message_loop->WatchFileDescriptor(pipe_fd[0], 103 close(pipe_fd[0]); 104 close(pipe_fd[1]); 107 g_write_fd = pipe_fd[1];
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | jspipe_test.cc | 437 int pipe_fd = ki_open("/dev/jspipe1", O_RDONLY, 0); local 438 ASSERT_GT(pipe_fd, 0) << "jspipe1 open failed: " << errno; 442 FD_SET(pipe_fd, &readfds); 443 FD_SET(pipe_fd, &errorfds); 448 int rtn = ki_select(pipe_fd + 1, &readfds, NULL, &errorfds, &timeout); 450 ASSERT_FALSE(FD_ISSET(pipe_fd, &readfds)); 451 ASSERT_FALSE(FD_ISSET(pipe_fd, &errorfds)); 456 FD_SET(pipe_fd, &readfds); 457 FD_SET(pipe_fd, &writefds); 458 FD_SET(pipe_fd, [all...] |
/external/chromium_org/tools/gn/ |
H A D | function_exec_script.cc | 151 int pipe_fd[2]; local 159 if (pipe(pipe_fd) < 0) 164 close(pipe_fd[0]); 165 close(pipe_fd[1]); 182 base::InjectionArc(pipe_fd[1], STDOUT_FILENO, true)); 212 close(pipe_fd[1]); 218 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, sizeof(buffer))); 223 close(pipe_fd[0]);
|
/external/lldb/source/Core/ |
H A D | ConnectionFileDescriptor.cpp | 667 const int pipe_fd = m_pipe_read; local 671 const bool have_pipe_fd = pipe_fd >= 0; 675 const int nfds = std::max<int>(data_fd, pipe_fd) + 1; 685 FD_SET (pipe_fd, read_fds.data()); 693 this, nfds, data_fd, pipe_fd, tv_ptr); 709 this, nfds, data_fd, pipe_fd, tv_ptr, num_set_fds, error.AsCString()); 748 if (have_pipe_fd && FD_ISSET(pipe_fd, read_fds.data())) 756 bytes_read = ::read (pipe_fd, buffer, sizeof(buffer)); 817 const int pipe_fd = m_pipe_read; local 826 const bool have_pipe_fd = pipe_fd > [all...] |
/external/protobuf/gtest/src/ |
H A D | gtest-death-test.cc | 744 int pipe_fd[2]; local 745 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 762 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 763 set_write_fd(pipe_fd[1]); 773 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 774 set_read_fd(pipe_fd[0]); 950 int pipe_fd[2]; local 951 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 954 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 963 file_, line_, death_test_index, pipe_fd[ [all...] |
/external/chromium_org/base/process/ |
H A D | launch_posix.cc | 524 int pipe_fd[2]; local 536 if (pipe(pipe_fd) < 0) 541 close(pipe_fd[0]); 542 close(pipe_fd[1]); 567 fd_shuffle1.push_back(InjectionArc(pipe_fd[1], STDOUT_FILENO, true)); 595 close(pipe_fd[1]); 604 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 611 close(pipe_fd[0]);
|
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-death-test.cc | 828 int pipe_fd[2]; local 829 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 846 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 847 set_write_fd(pipe_fd[1]); 858 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 859 set_read_fd(pipe_fd[0]); 1114 int pipe_fd[2]; local 1115 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1118 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1127 + StreamableToString(pipe_fd[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest-death-test.cc | 792 int pipe_fd[2]; local 793 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 810 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 811 set_write_fd(pipe_fd[1]); 821 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 822 set_read_fd(pipe_fd[0]); 1003 int pipe_fd[2]; local 1004 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1007 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1016 file_, line_, death_test_index, pipe_fd[ [all...] |
/external/gtest/src/ |
H A D | gtest-death-test.cc | 828 int pipe_fd[2]; local 829 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 846 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 847 set_write_fd(pipe_fd[1]); 858 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 859 set_read_fd(pipe_fd[0]); 1112 int pipe_fd[2]; local 1113 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1116 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1125 + StreamableToString(pipe_fd[ [all...] |
/external/llvm/utils/unittest/googletest/src/ |
H A D | gtest-death-test.cc | 794 int pipe_fd[2]; local 795 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 812 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 813 set_write_fd(pipe_fd[1]); 823 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 824 set_read_fd(pipe_fd[0]); 1005 int pipe_fd[2]; local 1006 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1009 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1018 file_, line_, death_test_index, pipe_fd[ [all...] |
/external/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 792 int pipe_fd[2]; local 793 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 810 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 811 set_write_fd(pipe_fd[1]); 821 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 822 set_read_fd(pipe_fd[0]); 1003 int pipe_fd[2]; local 1004 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1007 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1016 file_, line_, death_test_index, pipe_fd[ [all...] |
/external/chromium_org/tools/usb_gadget/ |
H A D | linux_gadgetfs.py | 267 pipe_fd = pipe_r.fileno() 268 self._io_loop.add_handler(pipe_fd, ReceivePacket, self._io_loop.READ) 277 pipe_fd = pipe.fileno() 281 self._io_loop.remove_handler(pipe_fd)
|
/external/chromium_org/sandbox/linux/services/ |
H A D | unix_domain_socket_unittest.cc | 211 base::ScopedFD pipe_fd; local 212 RecvHello(recv_sock.get(), &sender_pid, &pipe_fd);
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/ |
H A D | gtest-all.cc | 7322 int pipe_fd[2]; 7323 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 7340 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 7341 set_write_fd(pipe_fd[1]); 7352 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 7353 set_read_fd(pipe_fd[0]); 7606 int pipe_fd[2]; 7607 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 7610 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 7619 + StreamableToString(pipe_fd[ [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
H A D | gtest-all.cc | 7322 int pipe_fd[2]; 7323 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 7340 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 7341 set_write_fd(pipe_fd[1]); 7352 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 7353 set_read_fd(pipe_fd[0]); 7606 int pipe_fd[2]; 7607 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 7610 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 7619 + StreamableToString(pipe_fd[ [all...] |