Searched refs:EocdRecord (Results 1 – 4 of 4) sorted by relevance
31 struct EocdRecord { struct64 EocdRecord() = default; argument65 DISALLOW_COPY_AND_ASSIGN(EocdRecord);
65 static const uint32_t kMaxEOCDSearch = kMaxCommentLen + sizeof(EocdRecord);231 int32_t i = read_amount - sizeof(EocdRecord); in FindCentralDirectoryInfo()235 if (android::base::get_unaligned<uint32_t>(sig_addr) == EocdRecord::kSignature) { in FindCentralDirectoryInfo()247 auto eocd = reinterpret_cast<const EocdRecord*>(scan_buffer.data() + i); in FindCentralDirectoryInfo()252 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) + eocd->comment_length; in FindCentralDirectoryInfo()302 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()