Searched refs:CentralDirectoryRecord (Results 1 – 5 of 5) sorted by relevance
74 struct CentralDirectoryRecord { struct119 CentralDirectoryRecord() = default; argument120 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
465 if (ptr > cd_end - sizeof(CentralDirectoryRecord)) { in ParseZipArchive()474 auto cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive()475 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()483 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive()534 ptr += sizeof(CentralDirectoryRecord) + file_name_length + extra_length + comment_length; in ParseZipArchive()678 ptr -= sizeof(CentralDirectoryRecord); in FindEntry()688 auto cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in FindEntry()712 const uint8_t* extra_field = ptr + sizeof(CentralDirectoryRecord) + cdr->file_name_length; in FindEntry()
518 CentralDirectoryRecord cdr = {}; in Finish()519 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()
1050 CentralDirectoryRecord cdr = {}; in ConstructCentralDirectoryRecord()1051 cdr.record_signature = CentralDirectoryRecord::kSignature; in ConstructCentralDirectoryRecord()1059 reinterpret_cast<uint8_t*>(&cdr) + sizeof(CentralDirectoryRecord)); in ConstructCentralDirectoryRecord()
218 struct CentralDirectoryRecord { in ParseCentralDirectoryRecord() struct262 CentralDirectoryRecord() = default; in ParseCentralDirectoryRecord()263 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord); in ParseCentralDirectoryRecord()266 const CentralDirectoryRecord* cdr; in ParseCentralDirectoryRecord()272 cdr = reinterpret_cast<const CentralDirectoryRecord*>(begin); in ParseCentralDirectoryRecord()