Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file_verifier.cc515 bool DexFileVerifier::CheckListSize(const void* start, size_t count, size_t elem_size, in CheckListSize() argument
518 DCHECK_NE(elem_size, 0U); in CheckListSize()
528 size_t max_elements = (size_ - offset) / elem_size; in CheckListSize()
531 "List too large for %s: %zx+%zu*%zu > %zx", label, offset, count, elem_size, size_); in CheckListSize()
1864 uint32_t elem_size = sizeof(uint32_t); in CheckIntraHiddenapiClassData() local
1865 uint32_t header_size = num_header_elems * elem_size; in CheckIntraHiddenapiClassData()
1866 if (!CheckListSize(item, num_header_elems, elem_size, "hiddenapi class data section header")) { in CheckIntraHiddenapiClassData()