/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | poll_posix.c | 28 int usbi_pipe(int pipefd[2]) argument 30 int ret = pipe(pipefd); 34 ret = fcntl(pipefd[1], F_GETFL); 39 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK); 48 usbi_close(pipefd[0]); 49 usbi_close(pipefd[1]);
|
H A D | poll_posix.h | 9 int usbi_pipe(int pipefd[2]);
|
H A D | poll_windows.h | 87 int usbi_pipe(int pipefd[2]);
|
/external/strace/test/ |
H A D | wait_must_be_interruptible.c | 53 int pipefd[2]; local 57 pipe(pipefd); 60 if (pipefd[1] != 1) { 61 dup2(pipefd[1], 1); 62 close(pipefd[1]); 67 if (pipefd[0] != 0) { 68 dup2(pipefd[0], 0); 69 close(pipefd[0]);
|
/external/chromium_org/net/test/spawned_test_server/ |
H A D | local_test_server_posix.cc | 117 int pipefd[2]; local 118 if (pipe(pipefd) != 0) { 124 child_fd_.reset(pipefd[0]); 125 base::ScopedFD write_closer(pipefd[1]); 127 map_write_fd.push_back(std::make_pair(pipefd[1], pipefd[1])); 129 python_command.AppendArg("--startup-pipe=" + base::IntToString(pipefd[1]));
|
/external/dnsmasq/src/ |
H A D | helper.c | 56 int i, pipefd[2]; local 61 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1) 69 close(pipefd[0]); /* close reader side */ 70 return pipefd[1]; 106 max_fd != STDIN_FILENO && max_fd != pipefd[0] && max_fd != event_fd) 118 if (!read_write(pipefd[0], (unsigned char *)&data, sizeof(data), 1)) 142 if (!read_write(pipefd[0], buf, data.clid_len, 1)) 158 if (!read_write(pipefd[0], buf, 275 close(pipefd[ [all...] |
H A D | dnsmasq.c | 78 int piperead, pipefd[2], err_pipe[2]; local 274 safe_pipe(pipefd, 1); 276 piperead = pipefd[0]; 277 pipewrite = pipefd[1];
|
/external/qemu/util/ |
H A D | oslib-posix.c | 195 int qemu_pipe(int pipefd[2]) argument 200 ret = pipe2(pipefd, O_CLOEXEC); 205 ret = pipe(pipefd); 207 qemu_set_cloexec(pipefd[0]); 208 qemu_set_cloexec(pipefd[1]);
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_browser_main_posix.cc | 265 int pipefd[2]; local 266 int ret = pipe(pipefd); 271 g_shutdown_pipe_read_fd = pipefd[0]; 272 g_shutdown_pipe_write_fd = pipefd[1];
|
/external/chromium_org/components/nacl/loader/ |
H A D | nacl_helper_linux.cc | 59 int pipefd[2]; local 60 PCHECK(0 == pipe(pipefd)); 61 PCHECK(-1 != dup2(pipefd[0], file_descriptor)); 62 PCHECK(0 == IGNORE_EINTR(close(pipefd[0]))); 63 PCHECK(0 == IGNORE_EINTR(close(pipefd[1])));
|
/external/chromium_org/content/renderer/media/android/ |
H A D | audio_decoder_android.cc | 68 int pipefd[2]; local 70 if (pipe(pipefd)) 73 read_fd_ = pipefd[0]; 74 write_fd_ = pipefd[1];
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
H A D | baseline_policy_unittest.cc | 89 int pipefd[2]; local 90 int sys_ret = pipe(pipefd); 92 TestPipeOrSocketPair(base::ScopedFD(pipefd[0]), base::ScopedFD(pipefd[1]));
|
/external/libpcap/ |
H A D | pcap-canusb-linux.c | 290 int pipefd[2]; local 292 if (pipe(pipefd) == -1) 295 this->rdpipe = pipefd[0]; 296 this->wrpipe = pipefd[1];
|
/external/ppp/pppd/ |
H A D | main.c | 798 int pipefd[2]; local 802 if (pipe(pipefd) == -1) 803 pipefd[0] = pipefd[1] = -1; 830 close(pipefd[1]); 831 complete_read(pipefd[0], numbuf, 1); 832 close(pipefd[0]); 1513 int fd, pipefd[2]; local 1524 if (pipe(pipefd) == -1) 1525 pipefd[ [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | code-reading.c | 333 int pipefd[2]; local 337 if (pipe(pipefd) < 0) { 341 close(pipefd[1]); 342 close(pipefd[0]);
|
/external/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cc | 718 int* pipefd = new int[2]; local 719 int res = pipe(pipefd); 721 EXPECT_NOT_POISONED(pipefd[0]); 722 EXPECT_NOT_POISONED(pipefd[1]); 723 close(pipefd[0]); 724 close(pipefd[1]); 728 int* pipefd = new int[2]; local 729 int res = pipe2(pipefd, O_NONBLOCK); 731 EXPECT_NOT_POISONED(pipefd[0]); 732 EXPECT_NOT_POISONED(pipefd[ 748 int* pipefd = new int[2]; local 771 int* pipefd = new int[2]; local 796 int* pipefd = new int[2]; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors.cc | 1541 TSAN_INTERCEPTOR(int, pipe, int *pipefd) { argument 1542 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd); 1543 int res = REAL(pipe)(pipefd); 1544 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0) 1545 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]); 1549 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { argument 1550 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); 1551 int res = REAL(pipe2)(pipefd, flag [all...] |
/external/qemu/include/ |
H A D | qemu-common.h | 229 int qemu_eventfd(int pipefd[2]); 230 int qemu_pipe(int pipefd[2]);
|
/external/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 686 INTERCEPTOR(int, pipe, int pipefd[2]) { argument 688 return REAL(pipe)(pipefd); 690 int res = REAL(pipe)(pipefd); 692 __msan_unpoison(pipefd, sizeof(int[2])); 696 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { argument 698 int res = REAL(pipe2)(pipefd, flags); 700 __msan_unpoison(pipefd, sizeof(int[2]));
|