Searched refs:file_header (Results 1 – 2 of 2) sorted by relevance
250 ZipFileHeader file_header; in AddFile() local251 file_header.crc32 = crc32(0u, reinterpret_cast<const Bytef*>(data), size); in AddFile()252 file_header.compressed_size = size; in AddFile()253 file_header.uncompressed_size = size; in AddFile()254 file_header.filename_length = strlen(location); in AddFile()256 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile()257 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile()263 cdfh.crc32 = file_header.crc32; in AddFile()266 cdfh.filename_length = file_header.filename_length; in AddFile()
554 file_header = """/* variable562 asm_fp.write(file_header)