/system/netd/ |
TetherController.cpp | 109 int pipefd[2]; local 111 if (pipe(pipefd) < 0) { 122 close(pipefd[0]); 123 close(pipefd[1]); 128 close(pipefd[1]); 129 if (pipefd[0] != STDIN_FILENO) { 130 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) { 134 close(pipefd[0]); 161 close(pipefd[0]); 163 mDaemonFd = pipefd[1] [all...] |
/external/qemu/ |
oslib-posix.c | 94 int qemu_pipe(int pipefd[2]) 99 ret = pipe2(pipefd, O_CLOEXEC); 104 ret = pipe(pipefd); 106 qemu_set_cloexec(pipefd[0]); 107 qemu_set_cloexec(pipefd[1]);
|
qemu-common.h | 226 int qemu_eventfd(int pipefd[2]); 227 int qemu_pipe(int pipefd[2]);
|
/external/chromium/net/test/ |
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]));
|
/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];
|
/frameworks/base/core/java/com/android/internal/os/ |
WrapperInit.java | 97 * @param pipeFd The pipe to which the application's pid should be written, or null if none. 101 int targetSdkVersion, FileDescriptor pipeFd, String[] args) { 108 command.append(pipeFd != null ? pipeFd.getInt$() : 0);
|
ZygoteConnection.java | 787 * @param pipeFd null-ok; pipe for communication back to Zygote. 795 FileDescriptor[] descriptors, FileDescriptor pipeFd, PrintStream newStderr) 838 pipeFd, parsedArgs.remainingArgs); [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]); 123 close(pipefd[0]); 128 close(pipefd[1]); 133 FILE* from_child = fdopen(pipefd[0], "r");
|
/external/chromium/chrome/browser/ |
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/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 142 int pipefd[2]; /* Inter thread communication */ member in struct:bluetooth_data 221 if (write(data->pipefd[1], &c, 1) < 0) 313 if (data->pipefd[0] > 0) 314 close(data->pipefd[0]); 316 if (data->pipefd[1] > 0) 317 close(data->pipefd[1]); 423 err = write(data->pipefd[1], &c, 1); 803 assert(data->pipefd[0] >= 0); 808 pfd[0].fd = data->pipefd[0]; [all...] |
/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/dnsmasq/contrib/lease-access/ |
lease.access.patch | 14 piperead = pipefd[0]; 15 pipewrite = pipefd[1]; 196 +size_t dhcp_reply(int pipefd, struct dhcp_context *context, char *iface_name, int int_index, 302 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1)
|