Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive_common.h74 struct CentralDirectoryRecord { struct
119 CentralDirectoryRecord() = default; argument
120 DISALLOW_COPY_AND_ASSIGN(CentralDirectoryRecord);
Dzip_archive.cc465 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()
Dzip_writer.cc518 CentralDirectoryRecord cdr = {}; in Finish()
519 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()
Dzip_archive_test.cc1050 CentralDirectoryRecord cdr = {}; in ConstructCentralDirectoryRecord()
1051 cdr.record_signature = CentralDirectoryRecord::kSignature; in ConstructCentralDirectoryRecord()
1059 reinterpret_cast<uint8_t*>(&cdr) + sizeof(CentralDirectoryRecord)); in ConstructCentralDirectoryRecord()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp218 struct CentralDirectoryRecord { in ParseCentralDirectoryRecord() struct
262 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()