/external/linux-tools-perf/src/tools/perf/util/ |
run-command.c | 21 int fdin[2], fdout[2], fderr[2]; local 42 if (pipe(fdout) < 0) { 49 cmd->out = fdout[0]; 60 close_pair(fdout); 93 dup2(fdout[1], 1); 94 close_pair(fdout); 128 close_pair(fdout); 144 close(fdout[1]);
|
/external/toybox/toys/posix/ |
cp.c | 106 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, local 116 fdout = try->extra; 220 fdout = AT_FDCWD; 237 fdout = AT_FDCWD; 249 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); 250 if (fdout >= 0) { 251 xsendfile(fdin, fdout); 260 if (fdout != -1) { 271 if (fdout == AT_FDCWD) 274 else rc = fchown(fdout, try->st.st_uid, try->st.st_gid) [all...] |
/external/toybox/toys/pending/ |
crontab.c | 231 int fdin, fdout; local 234 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600); 236 xsendfile(fdin, fdout); 239 fchown(fdout, getuid(), geteuid()); 240 xclose(fdout);
|
/external/openssh/ |
serverloop.c | 94 static int fdout; /* Descriptor for stdout (for reading); variable 102 static int fdout_eof = 0; /* EOF encountered reading from fdout. */ 332 FD_SET(fdout, *readsetp); 381 FD_SET(fdout, *readsetp); 430 if (!fdout_eof && FD_ISSET(fdout, readset)) { 432 len = read(fdout, buf, sizeof(buf)); 439 } else if ((!isatty(fdout) && len <= 0) || 440 (isatty(fdout) && (len < 0 || (len == 0 && errno != 0)))) { 488 if (fdin != fdout) 586 fdout = fdout_arg [all...] |
session.c | 610 * handle the case that fdin and fdout are the same. 632 int fdout, ptyfd, ttyfd, ptymaster; local 647 if ((fdout = dup(ptyfd)) < 0) { 658 close(fdout); 666 close(fdout); 674 close(fdout); 737 session_set_fds(s, ptyfd, fdout, -1, 1, 1); 739 server_loop(pid, ptyfd, fdout, -1); 740 /* server_loop _has_ closed ptyfd and fdout. */ [all...] |
/external/libvncserver/x11vnc/ |
user.c | 2494 char fdout[128]; local [all...] |
/system/core/adb/ |
sysdeps_win32.cpp | 878 int fdout; member in struct:BipBufferRec_ 899 buffer->fdout = 0; 922 BIPD(( "bip_buffer_done: %d->%d\n", bip->fdin, bip->fdout )); 936 BIPD(( "bip_buffer_write: enter %d->%d len %d\n", bip->fdin, bip->fdout, len )); 952 D( "bip_buffer_write: error %d->%d WaitForSingleObject returned %d, error %ld\n", bip->fdin, bip->fdout, ret, GetLastError() ); 962 BIPD(( "bip_buffer_write: exec %d->%d len %d\n", bip->fdin, bip->fdout, len )); 1011 bip->fdin, bip->fdout, count, bip->a_start, bip->a_end, bip->b_end, bip->can_write, bip->can_read )); 1025 BIPD(( "bip_buffer_read: enter %d->%d len %d\n", bip->fdin, bip->fdout, len )); 1045 D( "bip_buffer_read: error %d->%d WaitForSingleObject returned %d, error %ld\n", bip->fdin, bip->fdout, ret, GetLastError()); 1056 BIPD(( "bip_buffer_read: exec %d->%d len %d\n", bip->fdin, bip->fdout, len )) [all...] |
/external/toybox/generated/ |
globals.h | 1089 int fdout, noeol; member in struct:sed_data
|