Searched refs:cdfh (Results 1 – 1 of 1) sorted by relevance
332 CentralDirectoryFileHeader cdfh; in AddFile() local333 cdfh.crc32 = file_header.crc32; in AddFile()334 cdfh.compressed_size = size; in AddFile()335 cdfh.uncompressed_size = size; in AddFile()336 cdfh.filename_length = file_header.filename_length; in AddFile()337 cdfh.relative_offset_of_local_file_header = offset; in AddFile()338 file_data_.push_back(FileData { cdfh, location }); in AddFile()350 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish()351 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish()354 central_directory_size += sizeof(file_data.cdfh) + file_data.cdfh.filename_length; in Finish()[all …]