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

  /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/gpl3/gcc/dist/gcc/
opts-jobserver.h 55 int pipefd = -1; member in struct:jobserver_info
  /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/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/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/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/crypto/external/bsd/openssh/dist/
sshd.c 183 int pipefd; member in struct:early_child
229 children[i].pipefd = -1;
236 child_register(int pipefd, int sockfd)
246 if (children[i].pipefd != -1 ||
258 child->pipefd = pipefd;
293 if (child->pipefd != -1) {
294 srclimit_done(child->pipefd);
295 close(child->pipefd);
301 child->pipefd = -1
    [all...]
  /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/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];
  /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...]

Completed in 64 milliseconds