| /src/tests/kernel/ |
| t_lockf.c | 122 int pipe_fd[2]; local 136 ATF_REQUIRE_MSG(pipe(pipe_fd) == 0, "pipe: %s", strerror(errno)); 148 if (write(pipe_fd[1], &pipe_out, 1) != 1) 159 ATF_REQUIRE_MSG(read(pipe_fd[0], &pipe_in, 1) == 1,
|
| /src/external/bsd/tmux/dist/ |
| cmd-pipe-pane.c | 66 int old_fd, pipe_fd[2], null_fd, in, out; local 77 old_fd = wp->pipe_fd; 78 if (wp->pipe_fd != -1) { 80 close(wp->pipe_fd); 81 wp->pipe_fd = -1; 112 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_fd) != 0) { 137 close(pipe_fd[0]); 141 if (dup2(pipe_fd[1], STDIN_FILENO) == -1) 148 if (dup2(pipe_fd[1], STDOUT_FILENO) == -1) 150 if (pipe_fd[1] != STDOUT_FILENO [all...] |
| tmux.h | 1225 int pipe_fd; member in struct:window_pane
|
| /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
| gtest-death-test.cc | 1125 int pipe_fd[2]; local 1126 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1143 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 1144 set_write_fd(pipe_fd[1]); 1155 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 1156 set_read_fd(pipe_fd[0]); 1425 int pipe_fd[2]; local 1426 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1429 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1438 + StreamableToString(pipe_fd[1]) [all...] |
| /src/external/gpl2/lvm2/dist/daemons/clvmd/ |
| clvmd.c | 1459 int pipe_fd = client->bits.localsock.pipe; local 1486 DEBUGLOG("Writing status %d down pipe %d\n", status, pipe_fd); 1490 write_status = write(pipe_fd, &status, sizeof(int)); 1523 write_status = write(pipe_fd, &status, sizeof(int));
|