Home
last modified time | relevance | path

Searched refs:fdin (Results 1 – 14 of 14) sorted by relevance

/external/toybox/toys/pending/
Dcrontab.c217 int fdin; in do_list() local
220 fdin = xopenro(toybuf); in do_list()
221 xsendfile(fdin, 1); in do_list()
222 xclose(fdin); in do_list()
234 int fdin, fdout; in update_crontab() local
238 fdin = xopenro(src); in update_crontab()
239 xsendfile(fdin, fdout); in update_crontab()
240 xclose(fdin); in update_crontab()
/external/oss-fuzz/projects/mysql-server/targets/
Dutil_fuzz.cc36 int fdin = open(fpath, O_RDONLY); in cp_cb() local
38 int nb = read(fdin, buf, CP_BUF_SIZE); in cp_cb()
41 nb = read(fdin, buf, CP_BUF_SIZE); in cp_cb()
/external/toybox/toys/posix/
Dcp.c264 int fdin; in cp_node() local
266 fdin = openat(tfd, try->name, O_RDONLY); in cp_node()
267 if (fdin < 0) { in cp_node()
272 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node()
275 xsendfile(fdin, fdout); in cp_node()
281 ssize_t listlen = xattr_flist(fdin, 0, 0), len; in cp_node()
286 xattr_flist(fdin, list, listlen); in cp_node()
291 if ((len = xattr_fget(fdin, name, 0, 0))>0) { in cp_node()
293 if (len == xattr_fget(fdin, name, value, len)) in cp_node()
303 close(fdin); in cp_node()
/external/ltp/testcases/kernel/syscalls/tee/
Dtee02.c36 int *fdin; member
56 TEST(tee(*(tc->fdin), *(tc->fdout), TEE_TEST_LEN, 0)); in tee_verify()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c50 int *fdin; member
83 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), in splice_verify()
/external/e2fsprogs/lib/ext2fs/
Dqcow2.c134 static int qcow2_copy_data(int fdin, int fdout, ext2_off64_t off_in, in qcow2_copy_data() argument
144 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data()
147 size = read(fdin, buf, count); in qcow2_copy_data()
/external/toybox/lib/
Dlib.c793 int copy_tempfile(int fdin, char *name, char **tempname) in copy_tempfile() argument
803 if (!fstat(fdin, &statbuf)) fchmod(fd, statbuf.st_mode); in copy_tempfile()
816 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument
818 close(fdin); in delete_tempfile()
827 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument
832 if (fdin != -1) { in replace_tempfile()
833 xsendfile(fdin, fdout); in replace_tempfile()
834 xclose(fdin); in replace_tempfile()
Dlib.h253 int copy_tempfile(int fdin, char *name, char **tempname);
254 void delete_tempfile(int fdin, int fdout, char **tempname);
255 void replace_tempfile(int fdin, int fdout, char **tempname);
/external/openssh/
Dscp.c130 int do_cmd(char *host, char *remuser, int port, char *cmd, int *fdin, int *fdout);
131 int do_cmd2(char *host, char *remuser, int port, char *cmd, int fdin, int fdout);
241 do_cmd(char *host, char *remuser, int port, char *cmd, int *fdin, int *fdout) in do_cmd() argument
309 *fdin = pout[0]; in do_cmd()
322 do_cmd2(char *host, char *remuser, int port, char *cmd, int fdin, int fdout) in do_cmd2() argument
339 dup2(fdin, 0); in do_cmd2()
Dsession.c2252 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) in session_set_fds() argument
2261 fdout, fdin, fderr, in session_set_fds()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1684 #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), \
2969 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2971 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
/external/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1683 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \ argument
1684 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1686 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \ argument
1687 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2970 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2972 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2658 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {}
2660 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2659 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {}
2661 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}