HomeSort by relevance Sort by last modified time
    Searched refs:pipefd (Results 1 - 25 of 26) sorted by null

1 2

  /bionic/libc/bionic/
pipe.cpp 31 int pipe(int pipefd[2]) {
32 return pipe2(pipefd, 0);
  /external/chromium_org/third_party/libusb/src/libusb/os/
poll_posix.c 28 int usbi_pipe(int pipefd[2])
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]);
poll_posix.h 9 int usbi_pipe(int pipefd[2]);
poll_windows.h 87 int usbi_pipe(int pipefd[2]);
  /development/ndk/sources/android/libportable/arch-mips/
pipe.c 63 int WRAP(pipe2)(int pipefd[2], int portable_flags) {
68 ALOGV("%s(pipefd[2]:%p, portable_flags:0x%x) {", __func__,
69 pipefd, portable_flags);
73 rv = REAL(pipe2)(pipefd, native_flags);
75 ALOGV("%s: pipe2() returned pipefd[0]:%d, pipefd[1]:%d", __func__,
76 pipefd[0], pipefd[1]);
79 filefd_CLOEXEC_enabled(pipefd[0]);
80 filefd_CLOEXEC_enabled(pipefd[1])
    [all...]
  /external/strace/test/
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]);
  /development/ndk/sources/android/libportable/common/include/
filefd_portable.h 42 extern int WRAP(pipe2)(int pipefd[2], int portable_flags);
  /external/chromium_org/net/test/spawned_test_server/
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]));
  /system/netd/server/
TetherController.cpp 115 int pipefd[2]; local
117 if (pipe(pipefd) < 0) {
128 close(pipefd[0]);
129 close(pipefd[1]);
134 close(pipefd[1]);
135 if (pipefd[0] != STDIN_FILENO) {
136 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) {
140 close(pipefd[0]);
169 close(pipefd[0]);
171 mDaemonFd = pipefd[1]
    [all...]
  /external/dnsmasq/src/
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[0])
    [all...]
dnsmasq.c 78 int piperead, pipefd[2], err_pipe[2]; local
274 safe_pipe(pipefd, 1);
276 piperead = pipefd[0];
277 pipewrite = pipefd[1];
    [all...]
  /bootable/recovery/
install.cpp 75 int pipefd[2]; local
76 pipe(pipefd);
116 sprintf(temp, "%d", pipefd[1]);
124 close(pipefd[0]);
129 close(pipefd[1]);
134 FILE* from_child = fdopen(pipefd[0], "r");
  /external/qemu/util/
oslib-posix.c 195 int qemu_pipe(int pipefd[2])
200 ret = pipe2(pipefd, O_CLOEXEC);
205 ret = pipe(pipefd);
207 qemu_set_cloexec(pipefd[0]);
208 qemu_set_cloexec(pipefd[1]);
  /cts/suite/audio_quality/test/
RemoteAudioFakeTcpTest.cpp 59 int pipefd[2]; local
60 if (pipe(pipefd) == -1) {
64 LOGD("pipe %d %d", pipefd[0], pipefd[1]);
65 mSocket = pipefd[0];
66 mPipeWrFd = pipefd[1];
  /external/chromium_org/chrome/browser/
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/
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/
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/
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/
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/
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
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
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/
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[1])
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/
tsan_interceptors.cc     [all...]
  /bionic/tests/
dlext_test.cpp 331 int pipefd[2]; local
332 ASSERT_NOERROR(pipe(pipefd));
  /external/qemu/include/
qemu-common.h 229 int qemu_eventfd(int pipefd[2]);
230 int qemu_pipe(int pipefd[2]);

Completed in 886 milliseconds

1 2