Searched refs:file_header (Results 1 – 2 of 2) sorted by relevance
292 ZipFileHeader file_header; in AddFile() local293 file_header.crc32 = crc32(0u, reinterpret_cast<const Bytef*>(data), size); in AddFile()294 file_header.compressed_size = size; in AddFile()295 file_header.uncompressed_size = size; in AddFile()296 file_header.filename_length = strlen(location); in AddFile()298 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile()299 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile()305 cdfh.crc32 = file_header.crc32; in AddFile()308 cdfh.filename_length = file_header.filename_length; in AddFile()
548 file_header = """/* variable556 asm_fp.write(file_header)