Searched refs:pipefd (Results 1 – 2 of 2) sorted by relevance
34 int pipefd[2]; in WritePolicyToPipe() local35 if (pipe(pipefd) == -1) { in WritePolicyToPipe()40 base::unique_fd write_end(pipefd[1]); in WritePolicyToPipe()53 return pipefd[0]; in WritePolicyToPipe()
80 int pipefd[2]; in start_server_process() local94 ret = pipe(pipefd); in start_server_process()99 snprintf(strpipefd1, sizeof(strpipefd1), "%d", pipefd[1]); in start_server_process()106 close(pipefd[0]); in start_server_process()109 write(pipefd[1], &status, sizeof(status)); in start_server_process()113 close(pipefd[1]); in start_server_process()114 ret = read(pipefd[0], &status, sizeof(status)); in start_server_process()116 close(pipefd[0]); in start_server_process()730 int pipefd[2]; in TEST_F() local734 ret = pipe2(pipefd, O_NONBLOCK); in TEST_F()[all …]