Searched refs:fds (Results 1 - 5 of 5) sorted by relevance

/system/core/adb/
H A Dframebuffer_service.c62 int fds[2]; local
64 if (pipe(fds) < 0) goto done;
70 dup2(fds[1], STDOUT_FILENO);
71 close(fds[0]);
72 close(fds[1]);
79 fd_screencap = fds[0];
177 close(fds[0]);
178 close(fds[1]);
H A Dcommandline.c284 int *fds = (int*) x; local
285 fd = fds[0];
286 fdi = fds[1];
287 free(fds);
334 int *fds; local
343 fds = malloc(sizeof(int) * 2);
344 fds[0] = fd;
345 fds[1] = fdi;
350 adb_thread_create(&thr, stdin_read_thread, fds);
H A Djdwp_service.c405 int fds[2]; local
413 if (adb_socketpair(fds) < 0) {
419 proc->out_fds[ proc->out_count ] = fds[1];
423 return fds[0];
H A Dfdevent.c302 /* Looks at fd_table[] for bad FDs and sets bit in fds.
305 static int fdevent_fd_check(fd_set *fds) argument
314 FD_SET(i, fds);
/system/core/sh/
H A Deval.c133 sh_pipe(int fds[2]) argument
137 if (pipe(fds))
140 if (fds[0] < 3) {
141 nfd = fcntl(fds[0], F_DUPFD, 3);
143 close(fds[0]);
144 fds[0] = nfd;
148 if (fds[1] < 3) {
149 nfd = fcntl(fds[1], F_DUPFD, 3);
151 close(fds[1]);
152 fds[
[all...]

Completed in 103 milliseconds