Home
last modified time | relevance | path

Searched refs:CentralDirectoryRecord (Results 1 – 3 of 3) sorted by relevance

/system/core/libziparchive/
Dzip_archive_common.h72 struct CentralDirectoryRecord { struct
117 CentralDirectoryRecord() = default; argument
118 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
Dzip_archive.cc392 if (ptr > cd_end - sizeof(CentralDirectoryRecord)) { in ParseZipArchive()
400 const CentralDirectoryRecord* cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in ParseZipArchive()
401 if (cdr->record_signature != CentralDirectoryRecord::kSignature) { in ParseZipArchive()
416 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive()
441 ptr += sizeof(CentralDirectoryRecord) + file_name_length + extra_length + comment_length; in ParseZipArchive()
557 ptr -= sizeof(CentralDirectoryRecord); in FindEntry()
568 const CentralDirectoryRecord* cdr = reinterpret_cast<const CentralDirectoryRecord*>(ptr); in FindEntry()
Dzip_writer.cc483 CentralDirectoryRecord cdr = {}; in Finish()
484 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()