/src/tests/lib/librumphijack/ |
h_client.c | 53 int pipefd[2]; local in function:main 59 if (pipe(pipefd) == -1) 62 FD_SET(pipefd[0], &rfds); 64 rv = select(pipefd[0]+1, &rfds, NULL, NULL, &tv); 70 if (FD_ISSET(pipefd[0], &rfds))
|
/src/tests/kernel/ |
t_execregs.c | 96 testregs(int child, const int pipefd[static 2], 101 RL(close(pipefd[1])); 103 readregs(pipefd[0], regs); 133 int pipefd[2]; local in function:ATF_TC_BODY 140 RL(pipe(pipefd)); 145 if (dup2(pipefd[1], STDOUT_FILENO) == -1) 154 testregs(child, pipefd, regs); 171 int pipefd[2]; local in function:ATF_TC_BODY 178 RL(pipe(pipefd)); 181 RL(child = spawnregschild(h_execregs, pipefd[1])) [all...] |
/src/libexec/makewhatis/ |
makewhatis.c | 776 int tempfd, bytes, pipefd[2], status; local in function:nroff 808 if (pipe(pipefd) == -1) { 816 (void)close(pipefd[1]); 817 (void)close(pipefd[0]); 823 (void)close(pipefd[0]); 828 if (pipefd[1] != STDOUT_FILENO) { 829 (void)dup2(pipefd[1], STDOUT_FILENO); 830 (void)close(pipefd[1]); 840 (void)close(pipefd[1]); 845 if ((in = gzdopen(pipefd[0], "r")) == NULL) [all...] |
/src/lib/librumphijack/ |
hijack.c | 2166 int pipefd; member in struct:pollarg 2182 rump_sys_write(parg->pipefd, &rv, sizeof(rv)); 2293 parg.pipefd = rpipe[1];
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
msan_test.cc | 789 int* pipefd = new int[2]; local in function:TEST 790 int res = pipe(pipefd); 792 EXPECT_NOT_POISONED(pipefd[0]); 793 EXPECT_NOT_POISONED(pipefd[1]); 794 close(pipefd[0]); 795 close(pipefd[1]); 799 int* pipefd = new int[2]; local in function:TEST 800 int res = pipe2(pipefd, O_NONBLOCK); 802 EXPECT_NOT_POISONED(pipefd[0]); 803 EXPECT_NOT_POISONED(pipefd[1]) 819 int* pipefd = new int[2]; local in function:TEST 843 int* pipefd = new int[2]; local in function:TEST 869 int* pipefd = new int[2]; local in function:TEST [all...] |