/external/linux-tools-perf/src/tools/perf/util/ |
H A D | 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/ |
H A D | 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, tr [all...] |
H A D | sed.c | 178 int fdout, noeol; 197 if (TT.noeol && !writeall(TT.fdout, "\n", 1)) return 1; 201 l = writeall(TT.fdout, line, len); 582 fd = TT.fdout; 587 memcpy(&TT.fdout, name, 4); 596 TT.fdout = fd; 637 if (TT.noeol) xwrite(TT.fdout, "\n", 1); 639 xsendfile(fd, TT.fdout); 684 TT.fdout = copy_tempfile(fd, name, &tmp); 692 replace_tempfile(-1, TT.fdout, [all...] |
/external/openssh/ |
H A D | 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 [all...] |
H A D | scp.c | 122 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout); 123 int do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout); 230 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument 289 *fdout = pin[1]; 304 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) argument 319 dup2(fdout, 1);
|
H A D | 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. */ 2327 session_set_fds(Session *s, int fdin, int fdout, in argument [all...] |
/external/toybox/toys/pending/ |
H A D | 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/e2fsprogs/lib/ext2fs/ |
H A D | qcow2.c | 129 static int qcow2_copy_data(int fdin, int fdout, ext2_off64_t off_in, argument 136 if (ext2fs_llseek(fdout, off_out, SEEK_SET) < 0) 146 size = write(fdout, buf, count);
|
/external/toybox/lib/ |
H A D | lib.h | 174 void delete_tempfile(int fdin, int fdout, char **tempname); 175 void replace_tempfile(int fdin, int fdout, char **tempname);
|
H A D | lib.c | 539 void delete_tempfile(int fdin, int fdout, char **tempname) argument 542 close(fdout); 550 void replace_tempfile(int fdin, int fdout, char **tempname) argument 556 xsendfile(fdin, fdout); 559 xclose(fdout);
|
/external/libedit/src/ |
H A D | el.c | 96 int fdin, int fdout, int fderr) 110 el->el_outfd = fdout; 95 el_init_fd(const char *prog, FILE *fin, FILE *fout, FILE *ferr, int fdin, int fdout, int fderr) argument
|
/external/libvncserver/x11vnc/ |
H A D | user.c | 2494 char fdout[128]; local 2524 fdout[0] = '\0'; 2526 snprintf(fdout, 120, " FIND_DISPLAY_OUTPUT='%s' ", getenv("FIND_DISPLAY_OUTPUT")); 2530 + strlen(nd) + strlen(" FD_TAG='' ") + strlen(tag) + strlen(tmp) + strlen("/bin/sh ") + strlen(fdout) + 1); 2533 sprintf(cmd, "env X11VNC_SKIP_DISPLAY='%s' FD_TAG='%s' %s /bin/sh %s", nd, tag, fdout, tmp); 2535 sprintf(cmd, "env X11VNC_SKIP_DISPLAY='%s' %s /bin/sh %s", nd, fdout, tmp);
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-mips64-linux.c | 324 PRE_REG_READ4(long, "sys_tee", int, fdin, int, fdout, vki_size_t, len, 334 fdout, vki_loff_t, sizeout, vki_size_t, len, int, flags);
|
/external/toybox/generated/ |
H A D | globals.h | 1089 int fdout, noeol; member in struct:sed_data
|
/external/fio/engines/ |
H A D | net.c | 349 static int splice_io_u(int fdin, int fdout, unsigned int len) argument 354 int ret = splice(fdin, NULL, fdout, NULL, len, 0);
|
/external/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1684 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \ 1685 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \ 1687 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \ 1688 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \ 2962 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len, 2964 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
|