Searched refs:EocdRecord (Results 1 – 4 of 4) sorted by relevance
31 struct EocdRecord { struct63 EocdRecord() = default; argument66 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
68 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);236 int32_t i = read_amount - sizeof(EocdRecord); in FindCentralDirectoryInfo()240 if (android::base::get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in FindCentralDirectoryInfo()252 auto eocd = reinterpret_cast<const EocdRecord*>(scan_buffer.data() + i); in FindCentralDirectoryInfo()257 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in FindCentralDirectoryInfo()307 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
546 EocdRecord er = {}; in Finish()547 er.eocd_signature = EocdRecord::kSignature; in Finish()
1149 EocdRecord eocd = {}; in ConstructEocd()1150 eocd.eocd_signature = EocdRecord::kSignature, in ConstructEocd()1157 reinterpret_cast<uint8_t*>(&eocd) + sizeof(EocdRecord)); in ConstructEocd()