Lines Matching defs:pipefd
1898 TSAN_INTERCEPTOR(int, pipe, int *pipefd) {
1899 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd);
1900 int res = REAL(pipe)(pipefd);
1901 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1902 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);
1907 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) {
1908 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags);
1909 int res = REAL(pipe2)(pipefd, flags);
1910 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0)
1911 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]);