Searched refs:cdfh (Results 1 – 1 of 1) sorted by relevance
348 CentralDirectoryFileHeader cdfh; in AddFile() local349 cdfh.crc32 = file_header.crc32; in AddFile()350 cdfh.compressed_size = size; in AddFile()351 cdfh.uncompressed_size = size; in AddFile()352 cdfh.filename_length = file_header.filename_length; in AddFile()353 cdfh.relative_offset_of_local_file_header = offset; in AddFile()354 file_data_.push_back(FileData { cdfh, location }); in AddFile()366 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish()367 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish()370 central_directory_size += sizeof(file_data.cdfh) + file_data.cdfh.filename_length; in Finish()[all …]