Lines Matching refs:pipefd
88 int pipefd[2]; in start_server_process() local
102 ret = pipe(pipefd); in start_server_process()
107 snprintf(strpipefd1, sizeof(strpipefd1), "%d", pipefd[1]); in start_server_process()
115 close(pipefd[0]); in start_server_process()
118 write(pipefd[1], &status, sizeof(status)); in start_server_process()
122 close(pipefd[1]); in start_server_process()
123 ret = read(pipefd[0], &status, sizeof(status)); in start_server_process()
125 close(pipefd[0]); in start_server_process()
696 int pipefd[2]; in TEST_F() local
700 ret = pipe2(pipefd, O_NONBLOCK); in TEST_F()
707 ret = data.writeFileDescriptor(pipefd[1], true); in TEST_F()
720 ret = read(pipefd[0], buf, sizeof(buf)); in TEST_F()
724 waitForReadData(pipefd[0], 5000); /* wait for other proccess to close pipe */ in TEST_F()
726 ret = read(pipefd[0], buf, sizeof(buf)); in TEST_F()
729 close(pipefd[0]); in TEST_F()
741 int pipefd[2]; in TEST_F() local
742 ASSERT_EQ(0, pipe2(pipefd, O_NONBLOCK)); in TEST_F()
743 read_end.reset(pipefd[0]); in TEST_F()
744 write_end.reset(pipefd[1]); in TEST_F()