Home
last modified time | relevance | path

Searched refs:pipe_fds (Results 1 – 2 of 2) sorted by relevance

/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc47 int pipe_fds[2]; in main() local
48 if (pipe(pipe_fds) == -1) { in main()
66 if (close(pipe_fds[1]) != 0 && errno != EINTR) { in main()
70 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[0], STDIN_FILENO)) != 0) { in main()
79 if (close(pipe_fds[0]) != 0 && errno != EINTR) { in main()
83 if (!android::base::WriteFully(pipe_fds[1], buf_head, sizeof(buf_head))) { in main()
97 if (!android::base::WriteFully(pipe_fds[1], buf, rv)) { in main()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc73 int pipe_fds[2]; in tryStartThread() local
74 if (pipe2(pipe_fds, O_NONBLOCK)) return -1; in tryStartThread()
76 notification_listen_fd_ = pipe_fds[0]; in tryStartThread()
77 notification_write_fd_ = pipe_fds[1]; in tryStartThread()