/external/linux-tools-perf/src/tools/perf/util/ |
D | run-command.c | 21 int fdin[2], fdout[2], fderr[2]; in start_command() local 30 if (pipe(fdin) < 0) { in start_command() 35 cmd->in = fdin[1]; in start_command() 44 close_pair(fdin); in start_command() 56 close_pair(fdin); in start_command() 74 dup2(fdin[0], 0); in start_command() 75 close_pair(fdin); in start_command() 124 close_pair(fdin); in start_command() 139 close(fdin[0]); in start_command()
|
/external/openssh/ |
D | serverloop.c | 93 static int fdin; /* Descriptor for stdin (for writing) */ variable 340 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something() 341 FD_SET(fdin, *writesetp); in wait_until_can_do_something() 480 if (!compat20 && fdin != -1 && FD_ISSET(fdin, writeset)) { in process_output() 483 len = write(fdin, data, dlen); in process_output() 488 if (fdin != fdout) in process_output() 489 close(fdin); in process_output() 491 shutdown(fdin, SHUT_WR); /* We will no longer send. */ in process_output() 492 fdin = -1; in process_output() 496 tcgetattr(fdin, &tio) == 0 && in process_output() [all …]
|
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) in do_cmd() argument 291 *fdin = pout[0]; in do_cmd() 304 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) in do_cmd2() argument 318 dup2(fdin, 0); in do_cmd2()
|
D | session.c | 2327 session_set_fds(Session *s, int fdin, int fdout, int fderr, int ignore_fderr, in session_set_fds() argument 2339 fdout, fdin, fderr, in session_set_fds()
|
/external/toybox/toys/pending/ |
D | crontab.c | 213 int fdin; in do_list() local 216 if ((fdin = open(toybuf, O_RDONLY)) == -1) in do_list() 218 xsendfile(fdin, 1); in do_list() 219 xclose(fdin); in do_list() 231 int fdin, fdout; in update_crontab() local 235 fdin = xopen(src, O_RDONLY); in update_crontab() 236 xsendfile(fdin, fdout); in update_crontab() 237 xclose(fdin); in update_crontab()
|
/external/toybox/toys/posix/ |
D | cp.c | 242 int fdin; local 244 fdin = openat(tfd, try->name, O_RDONLY); 245 if (fdin < 0) { 251 xsendfile(fdin, fdout); 254 close(fdin);
|
/external/e2fsprogs/lib/ext2fs/ |
D | qcow2.c | 129 static int qcow2_copy_data(int fdin, int fdout, ext2_off64_t off_in, in qcow2_copy_data() argument 139 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data() 142 size = read(fdin, buf, count); in qcow2_copy_data()
|
/external/toybox/lib/ |
D | lib.c | 520 int copy_tempfile(int fdin, char *name, char **tempname) in copy_tempfile() argument 532 fstat(fdin, &statbuf); in copy_tempfile() 539 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument 541 close(fdin); in delete_tempfile() 550 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument 555 if (fdin != -1) { in replace_tempfile() 556 xsendfile(fdin, fdout); in replace_tempfile() 557 xclose(fdin); in replace_tempfile()
|
D | lib.h | 173 int copy_tempfile(int fdin, char *name, char **tempname); 174 void delete_tempfile(int fdin, int fdout, char **tempname); 175 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/external/libedit/src/ |
D | el.c | 96 int fdin, int fdout, int fderr) in el_init_fd() argument 109 el->el_infd = fdin; in el_init_fd()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-mips64-linux.c | 324 PRE_REG_READ4(long, "sys_tee", int, fdin, int, fdout, vki_size_t, len, in PRE() 333 PRE_REG_READ6(long, "sys_splice", int, fdin, vki_loff_t, sizein, int, in PRE() 340 PRE_REG_READ4(long, "sys_vmsplice", int, fdin, struct vki_iovec *, v, in PRE()
|
/external/fio/engines/ |
D | net.c | 349 static int splice_io_u(int fdin, int fdout, unsigned int len) in splice_io_u() argument 354 int ret = splice(fdin, NULL, fdout, NULL, len, 0); in splice_io_u()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1684 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \ argument 1685 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \ 1687 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \ argument 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,
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2660 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {} 2662 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}
|