Searched refs:CentralDirectoryRecord (Results 1 – 4 of 4) sorted by relevance
75 struct CentralDirectoryRecord { struct119 CentralDirectoryRecord() = default; argument122 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
551 if (ptr > cd_end - sizeof(CentralDirectoryRecord)) { in ParseZipArchive()560 auto cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive()561 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()569 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive()613 ptr += sizeof(CentralDirectoryRecord) + file_name_length + extra_length + comment_length; in ParseZipArchive()629 auto cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive()791 ptr -= sizeof(CentralDirectoryRecord); in FindEntry()801 auto cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in FindEntry()825 const uint8_t* extra_field = ptr + sizeof(CentralDirectoryRecord) + cdr->file_name_length; in FindEntry()
519 CentralDirectoryRecord cdr = {}; in Finish()520 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()
1060 CentralDirectoryRecord cdr = {}; in ConstructCentralDirectoryRecord()1061 cdr.record_signature = CentralDirectoryRecord::kSignature; in ConstructCentralDirectoryRecord()1069 reinterpret_cast<uint8_t*>(&cdr) + sizeof(CentralDirectoryRecord)); in ConstructCentralDirectoryRecord()