Searched refs:CentralDirectoryRecord (Results 1 – 3 of 3) sorted by relevance
71 struct CentralDirectoryRecord { struct115 CentralDirectoryRecord() = default; argument116 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
389 if (ptr > cd_end - sizeof(CentralDirectoryRecord)) { in ParseZipArchive()397 const CentralDirectoryRecord* cdr = in ParseZipArchive()398 reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive()399 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()414 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive()437 ptr += sizeof(CentralDirectoryRecord) + file_name_length + extra_length + comment_length; in ParseZipArchive()525 ptr -= sizeof(CentralDirectoryRecord); in FindEntry()536 const CentralDirectoryRecord *cdr = in FindEntry()537 reinterpret_cast<const CentralDirectoryRecord*>(ptr); in FindEntry()
480 CentralDirectoryRecord cdr = {}; in Finish()481 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()