/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
D | posix_filesystem_helper.cc | 40 int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode); in TransferFileContents() local 41 if (dst_fd < 0) { in TransferFileContents() 49 if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno; in TransferFileContents() 52 close(dst_fd); in TransferFileContents()
|
D | copy_file_linux.cc | 26 int CopyFileContents(int dst_fd, int src_fd, off_t size) { in CopyFileContents() argument 36 rc = sendfile(dst_fd, src_fd, &offset, static_cast<size_t>(chunk)); in CopyFileContents()
|
D | copy_file_portable.cc | 27 int CopyFileContents(int dst_fd, int src_fd, off_t size) { in CopyFileContents() argument 46 rc = write(dst_fd, buffer.get() + total_write, chunk - total_write); in CopyFileContents()
|
D | copy_file.h | 28 int CopyFileContents(int dst_fd, int src_fd, off_t size);
|
/external/icing/icing/legacy/index/ |
D | icing-filesystem.cc | 543 int dst_fd = -1; in CopyFile() local 550 if ((dst_fd = OpenForWrite(dst)) < 0) { in CopyFile() 558 success = Write(dst_fd, mapper.address(), mapper.len()); in CopyFile() 562 if (dst_fd > 0) close(dst_fd); in CopyFile()
|
/external/f2fs-tools/tools/f2fs_io/ |
D | f2fs_io.c | 861 int dst_fd; in do_copy() local 894 dst_fd = xopen(argv[1], O_WRONLY | O_CREAT | O_TRUNC | open_flags, 0644); in do_copy() 911 full_write(dst_fd, src_addr, stbuf.st_size); in do_copy() 915 while ((ret = sendfile(dst_fd, src_fd, NULL, INT_MAX)) > 0) in do_copy() 923 full_write(dst_fd, buf, ret); in do_copy() 927 close(dst_fd); in do_copy()
|
D | f2fs_io.h | 203 u32 dst_fd; /* destination fd */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | f2fs.h | 76 __u32 dst_fd; /* destination fd */ member
|
/external/toybox/toys/other/ |
D | bzcat.c | 643 static char *bunzipStream(int src_fd, int dst_fd) in bunzipStream() argument 650 i = write_bunzip_data(bd,bd->bwdata, dst_fd, 0, 0); in bunzipStream() 656 flush_bunzip_outbuf(bd, dst_fd); in bunzipStream()
|
/external/minijail/rust/minijail/src/ |
D | lib.rs | 701 for (src_fd, dst_fd) in inheritable_fds { in run_remap() 702 let ret = unsafe { minijail_preserve_fd(self.jail, *src_fd, *dst_fd) }; in run_remap() 782 for (src_fd, dst_fd) in inheritable_fds { in fork_remap() 783 let ret = minijail_preserve_fd(self.jail, *src_fd, *dst_fd); in fork_remap()
|
/external/icing/icing/file/ |
D | filesystem.cc | 474 ScopedFd dst_fd(OpenForWrite(dst)); in CopyFile() local 476 if (!src_fd.is_valid() || !dst_fd.is_valid()) { in CopyFile() 484 return Write(*dst_fd, buf.get(), size); in CopyFile()
|