Home
last modified time | relevance | path

Searched refs:CheckListSize (Results 1 – 2 of 2) sorted by relevance

/art/libdexfile/dex/
Ddex_file_verifier.cc277 bool DexFileVerifier::CheckListSize(const void* start, size_t count, size_t elem_size, in CheckListSize() function in art::DexFileVerifier
310 if (!CheckListSize(*ptr, 1, 4U, label)) { in CheckList()
316 if (!CheckListSize(*ptr + 4, count, element_size, label)) { in CheckList()
447 if (!CheckListSize(map, 1, sizeof(DexFile::MapList), "maplist content")) { in CheckMap()
461 if (!CheckListSize(item, count, sizeof(DexFile::MapItem), "map size")) { in CheckMap()
556 if (LIKELY(CheckListSize(ptr_, size, sizeof(uint8_t), "encoded_value"))) { in ReadUnsignedLittleEndian()
743 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding()
762 if (!CheckListSize(ptr_, 1, sizeof(uint8_t), "encoded_value header")) { in CheckEncodedValue()
1236 if (!CheckListSize(code_item, 1, sizeof(DexFile::CodeItem), "code")) { in CheckIntraCodeItem()
1261 if (!CheckListSize(insns, insns_size, sizeof(uint16_t), "insns size")) { in CheckIntraCodeItem()
[all …]
Ddex_file_verifier.h61 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label);