Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_common.h71 struct CentralDirectoryRecord { struct
115 CentralDirectoryRecord() = default; argument
116 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
Dzip_archive.cc389 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()
Dzip_writer.cc480 CentralDirectoryRecord cdr = {}; in Finish()
481 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()