Lines Matching refs:pipefd
1714 TSAN_INTERCEPTOR(int, pipe, int *pipefd) {
1715 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd);
1716 int res = REAL(pipe)(pipefd);
1717 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1718 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);
1723 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) {
1724 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags);
1725 int res = REAL(pipe2)(pipefd, flags);
1726 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1727 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);