| /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/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
|
| /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.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...] |