| /src/external/mit/libuv/dist/test/ |
| test-eintr-handling.c | 42 int pipe_fds[2]; variable 54 nwritten = write(pipe_fds[1], test_buf, sizeof(test_buf)); 76 ASSERT_OK(pipe(pipe_fds)); 79 nread = uv_fs_read(loop, &read_req, pipe_fds[0], &iov, 1, -1, NULL); 86 ASSERT_OK(close(pipe_fds[0])); 87 ASSERT_OK(close(pipe_fds[1]));
|
| test-fs.c | 3982 int pipe_fds[2]; local 4010 ASSERT_OK(pipe(pipe_fds)); 4012 ctx.fd = pipe_fds[doread]; 4022 result = uv_fs_read(loop, &read_req, pipe_fds[0], read_iovs, iovcount, -1, NULL); 4036 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); 4048 ASSERT_OK(close(pipe_fds[1])); 4053 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL); 4057 ASSERT_OK(close(pipe_fds[0]));
|
| /src/lib/libisns/ |
| isns_config.h | 61 int pipe_fds[2]; member in struct:isns_config_s
|
| isns_util.c | 54 return (int)write(cfg_p->pipe_fds[1], &cmd_type, 1); 69 return (int)isns_file_writev(cfg_p->pipe_fds[1], iov, 2); 97 cfg_p->pipe_fds[0] = -1; 98 cfg_p->pipe_fds[1] = -1; 144 if (cfg_p->pipe_fds[0] != -1) 145 close(cfg_p->pipe_fds[0]); 146 if (cfg_p->pipe_fds[1] != -1) 147 close(cfg_p->pipe_fds[1]);
|
| isns.c | 73 if ((rval = pipe(cfg_p->pipe_fds)) != 0) { 85 rval = isns_change_kevent_list(cfg_p, (uintptr_t)cfg_p->pipe_fds[0],
|
| isns_thread.c | 137 rbytes = read(cfg_p->pipe_fds[0], &cmd_type, 153 rbytes = read(cfg_p->pipe_fds[0], &trans_id,
|
| /src/tests/lib/libc/sys/ |
| t_posix_fadvise.c | 92 int pipe_fds[2]; local 99 RL(pipe(pipe_fds)); 115 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| sanitizer_linux_test.cc | 260 int pipe_fds[2]; local 261 ASSERT_EQ(0, pipe(pipe_fds)); 269 /* stdin */ kInvalidFd, /* stdout */ pipe_fds[1]); 281 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { 291 internal_close(pipe_fds[0]);
|
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| ioloop.c | 1632 rv = pipe(subproc->pipe_fds); 1638 subproc->output_fd = ioloop_file_descriptor_create(subproc->pipe_fds[0], subproc, subproc_output_finalize); 1643 close(subproc->pipe_fds[0]); 1644 close(subproc->pipe_fds[1]); 1670 posix_spawn_file_actions_adddup2(&actions, subproc->pipe_fds[1], STDOUT_FILENO); 1671 posix_spawn_file_actions_addclose(&actions, subproc->pipe_fds[0]); 1672 posix_spawn_file_actions_addclose(&actions, subproc->pipe_fds[1]); 1694 close(subproc->pipe_fds[1]);
|
| macos-ioloop.c | 1883 rv = pipe(subproc->pipe_fds); 1889 subproc->output_fd = ioloop_file_descriptor_create(subproc->pipe_fds[0], subproc, subproc_output_finalize); 1893 close(subproc->pipe_fds[0]); 1894 close(subproc->pipe_fds[1]); 1920 posix_spawn_file_actions_adddup2(&actions, subproc->pipe_fds[1], STDOUT_FILENO); 1921 posix_spawn_file_actions_addclose(&actions, subproc->pipe_fds[0]); 1922 posix_spawn_file_actions_addclose(&actions, subproc->pipe_fds[1]); 1953 close(subproc->pipe_fds[1]);
|
| ioloop.h | 245 int pipe_fds[2]; member in struct:subproc
|
| /src/usr.bin/make/ |
| job.c | 647 int pipe_fds[2]; local 649 if (pipe(pipe_fds) == -1) 654 int fd = fcntl(pipe_fds[i], F_DUPFD, minfd); 656 close(pipe_fds[i]); 657 pipe_fds[i] = fd; 661 job->inPipe = pipe_fds[0]; 662 job->outPipe = pipe_fds[1];
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| socket.c | 397 int pipe_fds[2]; member in struct:isc__socketthread 950 cc = write(mgr->threads[threadid].pipe_fds[1], buf, 982 cc = read(thread->pipe_fds[0], buf, sizeof(buf)); 1858 if (thread->maxfd < thread->pipe_fds[0]) { 1859 thread->maxfd = thread->pipe_fds[0]; 3320 if (events[i].ident == (uintptr_t)thread->pipe_fds[0]) { 3352 if (events[i].data.fd == thread->pipe_fds[0]) { 3396 if (events[i].fd == thread->pipe_fds[0]) { 3420 if (i == thread->pipe_fds[0] || i == thread->pipe_fds[1]) [all...] |