Searched refs:pipefd (Results 1 – 2 of 2) sorted by relevance
59 int pipefd[2]; in init() local60 if (pipe(pipefd) == -1) { in init()64 LOGD("pipe %d %d", pipefd[0], pipefd[1]); in init()65 mSocket = pipefd[0]; in init()66 mPipeWrFd = pipefd[1]; in init()
1162 int pipefd[PIPES]; variable1255 pipefd[i] = open_pipe(i); in open_pipes()1270 if (do_poll(pipefd[i], 0) & POLLHUP) { in find_bad_pipe()1272 bad_pipe = pipefd[i]; in find_bad_pipe()1282 if (close(pipefd[i]) < 0) in close_pipes()1283 fail("close pipe fail, i=%d fd=%d", i, pipefd[i]); in close_pipes()