| /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/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/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/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...] |
| /src/usr.bin/mail/ |
| popen.c | 112 register_file(FILE *fp, int pipefd, pid_t pid) 118 fpp->pipe = pipefd;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| msan_interceptors.cc | 730 INTERCEPTOR(int, pipe, int pipefd[2]) { 732 return REAL(pipe)(pipefd); 734 int res = REAL(pipe)(pipefd); 736 __msan_unpoison(pipefd, sizeof(int[2])); 740 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { 742 int res = REAL(pipe2)(pipefd, flags); 744 __msan_unpoison(pipefd, sizeof(int[2]));
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_interceptors.cc | 1718 TSAN_INTERCEPTOR(int, pipe, int *pipefd) { 1719 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd); 1720 int res = REAL(pipe)(pipefd); 1721 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0) 1722 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]); 1727 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { 1728 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); 1729 int res = REAL(pipe2)(pipefd, flags) [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];
|