Searched refs:cdfh (Results 1 – 1 of 1) sorted by relevance
298 CentralDirectoryFileHeader cdfh; in AddFile() local299 cdfh.crc32 = file_header.crc32; in AddFile()300 cdfh.compressed_size = size; in AddFile()301 cdfh.uncompressed_size = size; in AddFile()302 cdfh.filename_length = file_header.filename_length; in AddFile()303 cdfh.relative_offset_of_local_file_header = offset; in AddFile()304 file_data_.push_back(FileData { cdfh, location }); in AddFile()316 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish()317 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish()320 central_directory_size += sizeof(file_data.cdfh) + file_data.cdfh.filename_length; in Finish()[all …]