Lines Matching refs:pipefd
761 int* pipefd = new int[2]; in TEST() local
762 int res = pipe(pipefd); in TEST()
764 EXPECT_NOT_POISONED(pipefd[0]); in TEST()
765 EXPECT_NOT_POISONED(pipefd[1]); in TEST()
766 close(pipefd[0]); in TEST()
767 close(pipefd[1]); in TEST()
771 int* pipefd = new int[2]; in TEST() local
772 int res = pipe2(pipefd, O_NONBLOCK); in TEST()
774 EXPECT_NOT_POISONED(pipefd[0]); in TEST()
775 EXPECT_NOT_POISONED(pipefd[1]); in TEST()
776 close(pipefd[0]); in TEST()
777 close(pipefd[1]); in TEST()
791 int* pipefd = new int[2]; in TEST() local
792 int res = pipe(pipefd); in TEST()
796 res = write(pipefd[1], &data, 1); in TEST()
800 fds[0].fd = pipefd[0]; in TEST()
802 fds[1].fd = pipefd[1]; in TEST()
809 close(pipefd[0]); in TEST()
810 close(pipefd[1]); in TEST()
816 int* pipefd = new int[2]; in TEST() local
817 int res = pipe(pipefd); in TEST()
821 res = write(pipefd[1], &data, 1); in TEST()
825 fds[0].fd = pipefd[0]; in TEST()
827 fds[1].fd = pipefd[1]; in TEST()
836 close(pipefd[0]); in TEST()
837 close(pipefd[1]); in TEST()
842 int* pipefd = new int[2]; in TEST() local
843 int res = pipe(pipefd); in TEST()
847 fds[0].fd = pipefd[0]; in TEST()
853 close(pipefd[0]); in TEST()
854 close(pipefd[1]); in TEST()