/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]);
|
/external/chromium/net/test/ |
H A D | test_server_posix.cc | 102 int pipefd[2]; local 103 if (pipe(pipefd) != 0) { 109 child_fd_ = pipefd[0]; 111 file_util::ScopedFD write_closer(&pipefd[1]); 113 map_write_fd.push_back(std::make_pair(pipefd[1], pipefd[1])); 116 base::IntToString(pipefd[1]));
|
/external/chromium_org/net/test/spawned_test_server/ |
H A D | local_test_server_posix.cc | 116 int pipefd[2]; local 117 if (pipe(pipefd) != 0) { 123 child_fd_ = pipefd[0]; 125 file_util::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/qemu/ |
H A D | oslib-posix.c | 94 int qemu_pipe(int pipefd[2]) argument 99 ret = pipe2(pipefd, O_CLOEXEC); 104 ret = pipe(pipefd); 106 qemu_set_cloexec(pipefd[0]); 107 qemu_set_cloexec(pipefd[1]);
|
/external/chromium/chrome/browser/ |
H A D | browser_main_posix.cc | 241 int pipefd[2]; local 242 int ret = pipe(pipefd); 246 g_shutdown_pipe_read_fd = pipefd[0]; 247 g_shutdown_pipe_write_fd = pipefd[1];
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_browser_main_posix.cc | 308 int pipefd[2]; local 309 int ret = pipe(pipefd); 314 g_shutdown_pipe_read_fd = pipefd[0]; 315 g_shutdown_pipe_write_fd = 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/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/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 606 INTERCEPTOR(int, pipe, int pipefd[2]) { argument 608 return REAL(pipe)(pipefd); 610 int res = REAL(pipe)(pipefd); 612 __msan_unpoison(pipefd, sizeof(int[2])); 616 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { argument 618 int res = REAL(pipe2)(pipefd, flags); 620 __msan_unpoison(pipefd, sizeof(int[2]));
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors.cc | 1443 TSAN_INTERCEPTOR(int, pipe, int *pipefd) { argument 1444 SCOPED_TSAN_INTERCEPTOR(pipe, pipefd); 1445 int res = REAL(pipe)(pipefd); 1446 if (res == 0 && pipefd[0] >= 0 && pipefd[1] >= 0) 1447 FdPipeCreate(thr, pc, pipefd[0], pipefd[1]); 1451 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { argument 1452 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); 1453 int res = REAL(pipe2)(pipefd, flag [all...] |
/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/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cc | 665 int* pipefd = new int[2]; local 666 int res = pipe(pipefd); 668 EXPECT_NOT_POISONED(pipefd[0]); 669 EXPECT_NOT_POISONED(pipefd[1]); 670 close(pipefd[0]); 671 close(pipefd[1]); 675 int* pipefd = new int[2]; local 676 int res = pipe2(pipefd, O_NONBLOCK); 678 EXPECT_NOT_POISONED(pipefd[0]); 679 EXPECT_NOT_POISONED(pipefd[ [all...] |