/external/toybox/toys/posix/ |
D | cp.c | 145 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local 155 fdout = try->extra; in cp_node() 259 fdout = AT_FDCWD; in cp_node() 276 fdout = AT_FDCWD; in cp_node() 288 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node() 289 if (fdout >= 0) { in cp_node() 290 xsendfile(fdin, fdout); in cp_node() 309 if (fsetxattr(fdout, name, value, len, 0)) in cp_node() 324 if (fdout != -1) { in cp_node() 334 if (fdout == AT_FDCWD) in cp_node() [all …]
|
D | sed.c | 178 int fdout, noeol; 197 if (TT.noeol && !writeall(TT.fdout, "\n", 1)) return 1; in emit() 201 l = writeall(TT.fdout, line, len); in emit() 582 fd = TT.fdout; in walk_pattern() 587 memcpy(&TT.fdout, name, 4); in walk_pattern() 596 TT.fdout = fd; in walk_pattern() 637 if (TT.noeol) xwrite(TT.fdout, "\n", 1); in walk_pattern() 639 xsendfile(fd, TT.fdout); in walk_pattern() 685 TT.fdout = copy_tempfile(fd, name, &tmp); in do_sed() 693 replace_tempfile(-1, TT.fdout, &tmp); in do_sed() [all …]
|
/external/toybox/toys/pending/ |
D | crontab.c | 231 int fdin, fdout; in update_crontab() local 234 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600); in update_crontab() 236 xsendfile(fdin, fdout); in update_crontab() 239 fchown(fdout, getuid(), geteuid()); in update_crontab() 240 xclose(fdout); in update_crontab()
|
/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 136 if (ext2fs_llseek(fdout, off_out, SEEK_SET) < 0) in qcow2_copy_data() 146 size = write(fdout, buf, count); in qcow2_copy_data()
|
/external/toybox/lib/ |
D | lib.c | 647 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument 650 close(fdout); in delete_tempfile() 658 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument 664 xsendfile(fdin, fdout); in replace_tempfile() 667 xclose(fdout); in replace_tempfile()
|
D | lib.h | 193 void delete_tempfile(int fdin, int fdout, char **tempname); 194 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 110 el->el_outfd = fdout; 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() 334 fdout, vki_loff_t, sizeout, vki_size_t, len, int, flags); 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/toybox/generated/ |
D | globals.h | 1205 int fdout, noeol; member
|
/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 | 2662 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {} 2664 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}
|