Searched refs:fd_read (Results 1 – 1 of 1) sorted by relevance
69 size_t cpioWriteFileContent(int fd_read, int out_fd, struct stat& st) { in cpioWriteFileContent() argument75 ssize_t bytes_read = read(fd_read, read_buf.data(), read_buf.size()); in cpioWriteFileContent()139 const int fd_read = open(cur_file_path.c_str(), O_RDONLY); in cpioArchiveFilesInDir() local140 if (fd_read == -1) { in cpioArchiveFilesInDir()150 unique_fd file_auto_closer(fd_read); in cpioArchiveFilesInDir()155 size_t write_error = cpioWriteFileContent(fd_read, out_fd, st); in cpioArchiveFilesInDir()