Searched refs:cdr (Results 1 – 2 of 2) sorted by relevance
406 CentralDirectoryRecord cdr = {}; in Finish() local407 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()408 cdr.gpb_flags |= kGPBDDFlagMask; in Finish()409 cdr.compression_method = file.compression_method; in Finish()410 cdr.last_mod_time = file.last_mod_time; in Finish()411 cdr.last_mod_date = file.last_mod_date; in Finish()412 cdr.crc32 = file.crc32; in Finish()413 cdr.compressed_size = file.compressed_size; in Finish()414 cdr.uncompressed_size = file.uncompressed_size; in Finish()415 cdr.file_name_length = file.path.size(); in Finish()[all …]
384 const CentralDirectoryRecord* cdr = in ParseZipArchive() local386 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()396 const off64_t local_header_offset = cdr->local_file_header_offset; in ParseZipArchive()403 const uint16_t file_name_length = cdr->file_name_length; in ParseZipArchive()404 const uint16_t extra_length = cdr->extra_field_length; in ParseZipArchive()405 const uint16_t comment_length = cdr->comment_length; in ParseZipArchive()534 const CentralDirectoryRecord *cdr = in FindEntry() local545 data->method = cdr->compression_method; in FindEntry()546 data->mod_time = cdr->last_mod_date << 16 | cdr->last_mod_time; in FindEntry()547 data->crc32 = cdr->crc32; in FindEntry()[all …]