Home
last modified time | relevance | path

Searched refs:file_header (Results 1 – 1 of 1) sorted by relevance

/art/dex2oat/linker/
Doat_writer_test.cc321 ZipFileHeader file_header; in AddFile() local
322 file_header.crc32 = crc32(0u, reinterpret_cast<const Bytef*>(data), size); in AddFile()
323 file_header.compressed_size = size; in AddFile()
324 file_header.uncompressed_size = size; in AddFile()
325 file_header.filename_length = strlen(location); in AddFile()
327 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile()
328 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile()
334 cdfh.crc32 = file_header.crc32; in AddFile()
337 cdfh.filename_length = file_header.filename_length; in AddFile()