HomeSort by: relevance | last modified time | path
    Searched refs:pipefd (Results 1 - 21 of 21) sorted by relevancy

  /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
140 RL(pipe(pipefd));
145 if (dup2(pipefd[1], STDOUT_FILENO) == -1)
154 testregs(child, pipefd, regs);
171 int pipefd[2]; local
178 RL(pipe(pipefd));
181 RL(child = spawnregschild(h_execregs, pipefd[1]))
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
opts-jobserver.h 55 int pipefd = -1; member in struct:jobserver_info
  /src/tests/lib/librumphijack/
h_client.c 53 int pipefd[2]; local
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/external/mit/libuv/dist/src/unix/
async.c 259 int pipefd[2]; local
273 pipefd[0] = err;
274 pipefd[1] = -1;
287 pipefd[0] = err;
288 pipefd[1] = -1;
301 err = uv__make_pipe(pipefd, UV_NONBLOCK_PIPE);
306 err = uv__make_pipe(pipefd, UV_NONBLOCK_PIPE);
312 pipefd[0], POLLIN);
314 uv__close(pipefd[0]);
315 if (pipefd[1] != -1
    [all...]
signal.c 262 int* pipefd; local
266 pipefd = loop->signal_pipefd;
267 if (pipefd[0] != -1)
270 err = uv__make_pipe(pipefd, UV_NONBLOCK_PIPE);
275 pipefd[0], POLLIN);
277 uv__close(pipefd[0]);
278 uv__close(pipefd[1]);
279 pipefd[0] = -1;
280 pipefd[1] = -1;
  /src/external/mit/libuv/dist/test/
runner-unix.c 90 int pipefd[2]; local
123 if (pipe(pipefd)) {
128 snprintf(fdstr, sizeof(fdstr), "%d", pipefd[1]);
152 closefd(pipefd[0]);
170 closefd(pipefd[1]);
174 rc = read(pipefd[0], &n, 1);
177 closefd(pipefd[0]);
  /src/crypto/external/bsd/openssh/dist/
sshd.c 181 int pipefd; member in struct:early_child
227 children[i].pipefd = -1;
234 child_register(int pipefd, int sockfd)
244 if (children[i].pipefd != -1 ||
256 child->pipefd = pipefd;
291 if (child->pipefd != -1) {
292 srclimit_done(child->pipefd);
293 close(child->pipefd);
299 child->pipefd = -1
    [all...]
  /src/libexec/makewhatis/
makewhatis.c 776 int tempfd, bytes, pipefd[2], status; local
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/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/linux/
DirectoryWatcher-linux.cpp 43 // order: pipefd[0] refers to the read end of the pipe. pipefd[1] refers to
45 SemaphorePipe(int pipefd[2])
46 : FDRead(pipefd[0]), FDWrite(pipefd[1]), OwnsFDs(true) {}
  /src/external/bsd/ppp/dist/pppd/
main.c 872 int pipefd[2]; local
876 if (pipe(pipefd) == -1)
877 pipefd[0] = pipefd[1] = -1;
906 close(pipefd[1]);
907 complete_read(pipefd[0], numbuf, 1);
908 close(pipefd[0]);
1691 int fd, pipefd[2]; local
1702 if (pipe(pipefd) == -1)
1703 pipefd[0] = pipefd[1] = -1
    [all...]
  /src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_diff.c 768 int pipefd[2]; local
779 if (pipe(pipefd)) {
790 di.datafd = pipefd[0];
794 (void) close(pipefd[0]);
795 (void) close(pipefd[1]);
804 zc.zc_cookie = pipefd[1];
821 (void) close(pipefd[1]);
833 (void) close(pipefd[1]);
libzfs_sendrecv.c 1741 int pipefd[2]; local
1766 if ((err = pipe(pipefd)) != 0) {
1772 dda.inputfd = pipefd[1];
1775 (void) close(pipefd[0]);
1776 (void) close(pipefd[1]);
1855 sdd.outfd = pipefd[0];
1959 (void) close(pipefd[0]);
1996 (void) close(pipefd[0]);
  /src/external/bsd/less/dist/
edit.c 268 static void close_pipe(FILE *pipefd)
273 if (pipefd == NULL)
280 kill(pipefd->_pid, SIGINT);
282 status = pclose(pipefd);
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
msan_test.cc 789 int* pipefd = new int[2]; local
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
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
843 int* pipefd = new int[2]; local
869 int* pipefd = new int[2]; local
    [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/external/gpl3/gcc/dist/libsanitizer/tsan/
tsan_interceptors_posix.cpp 1853 TSAN_INTERCEPTOR(int, pipe, int *pipefd) {
1854 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd);
1855 int res = REAL(pipe)(pipefd);
1856 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1857 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);
1862 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) {
1863 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags);
1864 int res = REAL(pipe2)(pipefd, flags)
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_interceptors_posix.cpp 1784 TSAN_INTERCEPTOR(int, pipe, int *pipefd) {
1785 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd);
1786 int res = REAL(pipe)(pipefd);
1787 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1788 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);
1793 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) {
1794 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags);
1795 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];
  /src/external/bsd/nsd/dist/
server.c 1720 int pipefd[2]; local
1721 pipefd[0] = -1; /* For receiving by parent (xfrd) */
1722 pipefd[1] = -1; /* For sending by child (server childs) */
1723 if(pipe(pipefd) < 0) {
1728 nsd->serve2xfrd_fd_recv[i] = pipefd[0];
1729 nsd->serve2xfrd_fd_send[i] = pipefd[1];

Completed in 63 milliseconds