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

  /system/netd/
TetherController.cpp 100 int pipefd[2]; local
102 if (pipe(pipefd) < 0) {
113 close(pipefd[0]);
114 close(pipefd[1]);
119 close(pipefd[1]);
120 if (pipefd[0] != STDIN_FILENO) {
121 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) {
125 close(pipefd[0]);
150 close(pipefd[0]);
152 mDaemonFd = pipefd[1]
    [all...]
  /bootable/recovery/
install.c 66 int pipefd[2]; local
67 pipe(pipefd);
107 sprintf(args[2], "%d", pipefd[1]);
113 close(pipefd[0]);
118 close(pipefd[1]);
121 FILE* from_child = fdopen(pipefd[0], "r");
  /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...]
  /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/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)
311 if (data->pipefd[0] > 0)
312 close(data->pipefd[0]);
314 if (data->pipefd[1] > 0)
315 close(data->pipefd[1]);
421 err = write(data->pipefd[1], &c, 1);
801 assert(data->pipefd[0] >= 0);
806 pfd[0].fd = data->pipefd[0];
    [all...]

Completed in 108 milliseconds