Searched refs:fd_read (Results 1 – 1 of 1) sorted by relevance
195 size_t cpioWriteFileContent(int fd_read, int out_fd, struct stat& st) { in cpioWriteFileContent() argument201 ssize_t bytes_read = read(fd_read, read_buf.data(), read_buf.size()); in cpioWriteFileContent()271 const int fd_read = open(cur_file_path.c_str(), O_RDONLY); in cpioArchiveFilesInDir() local272 if (fd_read == -1) { in cpioArchiveFilesInDir()278 unique_fd file_auto_closer(fd_read); in cpioArchiveFilesInDir()283 size_t write_error = cpioWriteFileContent(fd_read, out_fd, st); in cpioArchiveFilesInDir()