Home
last modified time | relevance | path

Searched refs:dst_fd (Results 1 - 3 of 3) sorted by relevance

/third_party/toybox/toys/other/
H A Dbzcat.c641 // Example usage: decompress src_fd to dst_fd. (Stops at end of bzip data,
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()
/third_party/f2fs-tools/tools/f2fs_io/
H A Df2fs_io.c941 int dst_fd; in do_copy() local
974 dst_fd = xopen(argv[1], O_WRONLY | O_CREAT | O_TRUNC | open_flags, 0644); in do_copy()
991 full_write(dst_fd, src_addr, stbuf.st_size); in do_copy()
995 while ((ret = sendfile(dst_fd, src_fd, NULL, INT_MAX)) > 0) in do_copy()
1003 full_write(dst_fd, buf, ret); in do_copy()
1007 close(dst_fd); in do_copy()
H A Df2fs_io.h204 u32 dst_fd; /* destination fd */ member
206 u64 pos_out; /* start position in dst_fd */

Completed in 4 milliseconds