/external/chromium_org/remoting/host/ |
ipc_util_posix.cc | 26 int pipe_fds[2]; local 27 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipe_fds) != 0) { 33 if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || 34 fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { 36 if (IGNORE_EINTR(close(pipe_fds[0])) < 0) 38 if (IGNORE_EINTR(close(pipe_fds[1])) < 0) 46 base::FileDescriptor fd(pipe_fds[0], false); 53 *client_out = base::FileDescriptor(pipe_fds[1], false);
|
/external/chromium_org/content/zygote/ |
zygote_linux.cc | 296 int pipe_fds[2] = { -1, -1 }; local 308 if (pipe(pipe_fds) != 0) { 322 fds.push_back(pipe_fds[0]); // kParentFDIndex 331 close(pipe_fds[1]); 337 if (!base::ReadFromFD(pipe_fds[0], reinterpret_cast<char*>(&real_pid), 353 close(pipe_fds[0]); 360 close(pipe_fds[0]); 361 pipe_fds[0] = -1; 401 if (!helper_->AckChild(pipe_fds[1], channel_switch)) { 407 HANDLE_EINTR(write(pipe_fds[1], &real_pid, sizeof(real_pid))) [all...] |
/external/chromium_org/ipc/ |
ipc_send_fds_test.cc | 213 int pipe_fds[2]; local 214 CHECK_EQ(0, HANDLE_EINTR(socketpair(AF_UNIX, SOCK_STREAM, 0, pipe_fds))); 215 return std::pair<int, int>(pipe_fds[0], pipe_fds[1]); 316 std::pair<int, int> pipe_fds = make_socket_pair(); local 321 pipe_fds.second)); 323 CHECK_EQ(1, HANDLE_EINTR(write(pipe_fds.first, &tmp, 1))); 324 CHECK_EQ(0, IGNORE_EINTR(close(pipe_fds.first)));
|
ipc_channel_posix_unittest.cc | 211 int pipe_fds[2]; local 212 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, pipe_fds)); 214 ASSERT_GE(fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK), 0); 216 base::FileDescriptor fd(pipe_fds[0], false); 222 ASSERT_TRUE(IGNORE_EINTR(close(pipe_fds[1])) == 0);
|
ipc_channel_posix.cc | 199 int pipe_fds[2]; local 200 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipe_fds) != 0) { 206 if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || 207 fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { 209 if (IGNORE_EINTR(close(pipe_fds[0])) < 0) 211 if (IGNORE_EINTR(close(pipe_fds[1])) < 0) 216 *fd1 = pipe_fds[0]; 217 *fd2 = pipe_fds[1]; [all...] |
/external/chromium_org/chrome/browser/mac/ |
relauncher.cc | 123 int pipe_fds[2]; local 124 if (HANDLE_EINTR(pipe(pipe_fds)) != 0) { 135 file_util::ScopedFD pipe_read_fd(&pipe_fds[0]); 136 file_util::ScopedFD pipe_write_fd(&pipe_fds[1]); 159 pipe_write_fd.reset(); // close(pipe_fds[1]);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pty.py | 221 pipe_fds = os.pipe() 222 self.fds.extend(pipe_fds) 223 return pipe_fds
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pty.py | 221 pipe_fds = os.pipe() 222 self.fds.extend(pipe_fds) 223 return pipe_fds
|
/external/chromium/net/tools/flip_server/ |
epoll_server.cc | 96 int pipe_fds[2]; local 97 if (pipe(pipe_fds) < 0) { 107 read_fd_ = pipe_fds[0]; 108 write_fd_ = pipe_fds[1];
|
/external/chromium_org/net/tools/epoll_server/ |
epoll_server.cc | 96 int pipe_fds[2]; local 97 if (pipe(pipe_fds) < 0) { 107 read_fd_ = pipe_fds[0]; 108 write_fd_ = pipe_fds[1];
|
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 134 int pipe_fds[2]; /* pipe to event thread */ member in struct:omap4_hwc_device [all...] |