Searched refs:CheckListSize (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | dex_file_verifier.cc | 173 bool DexFileVerifier::CheckListSize(const void* start, size_t count, size_t elem_size, in CheckListSize() function in art::DexFileVerifier 206 if (!CheckListSize(*ptr, 1, 4U, label)) { in CheckList() 212 if (!CheckListSize(*ptr + 4, count, element_size, label)) { in CheckList() 291 if (!CheckListSize(map, 1, sizeof(DexFile::MapList), "maplist content")) { in CheckMap() 304 if (!CheckListSize(item, count, sizeof(DexFile::MapItem), "map size")) { in CheckMap() 391 if (LIKELY(CheckListSize(ptr_, size, sizeof(uint8_t), "encoded_value"))) { in ReadUnsignedLittleEndian() 506 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding() 522 if (!CheckListSize(ptr_, 1, sizeof(uint8_t), "encoded_value header")) { in CheckEncodedValue() 744 if (!CheckListSize(code_item, 1, sizeof(DexFile::CodeItem), "code")) { in CheckIntraCodeItem() 769 if (!CheckListSize(insns, insns_size, sizeof(uint16_t), "insns size")) { in CheckIntraCodeItem() [all …]
|
D | dex_file_verifier.h | 45 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label);
|