Searched refs:cdr (Results 1 – 2 of 2) sorted by relevance
483 CentralDirectoryRecord cdr = {}; in Finish() local484 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()486 cdr.gpb_flags |= kGPBDDFlagMask; in Finish()488 cdr.compression_method = file.compression_method; in Finish()489 cdr.last_mod_time = file.last_mod_time; in Finish()490 cdr.last_mod_date = file.last_mod_date; in Finish()491 cdr.crc32 = file.crc32; in Finish()492 cdr.compressed_size = file.compressed_size; in Finish()493 cdr.uncompressed_size = file.uncompressed_size; in Finish()494 cdr.file_name_length = file.path.size(); in Finish()[all …]
400 const CentralDirectoryRecord* cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive() local401 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()406 const off64_t local_header_offset = cdr->local_file_header_offset; in ParseZipArchive()413 const uint16_t file_name_length = cdr->file_name_length; in ParseZipArchive()414 const uint16_t extra_length = cdr->extra_field_length; in ParseZipArchive()415 const uint16_t comment_length = cdr->comment_length; in ParseZipArchive()568 const CentralDirectoryRecord* cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in FindEntry() local578 data->method = cdr->compression_method; in FindEntry()579 data->mod_time = cdr->last_mod_date << 16 | cdr->last_mod_time; in FindEntry()580 data->crc32 = cdr->crc32; in FindEntry()[all …]