Home
last modified time | relevance | path

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

/art/dexlayout/
Ddex_writer.cc209 uint32_t prev_index = 0; in WriteEncodedFields() local
212 stream->WriteUleb128(index - prev_index); in WriteEncodedFields()
214 prev_index = index; in WriteEncodedFields()
219 uint32_t prev_index = 0; in WriteEncodedMethods() local
223 stream->WriteUleb128(index - prev_index); in WriteEncodedMethods()
226 prev_index = index; in WriteEncodedMethods()
/art/libdexfile/dex/
Ddex_file_verifier.cc269 bool CheckOrder(const char* type_descr, uint32_t curr_index, uint32_t prev_index) { in CheckOrder() argument
270 if (UNLIKELY(curr_index < prev_index)) { in CheckOrder()
273 prev_index, in CheckOrder()
1395 uint32_t prev_index = 0; in CheckIntraClassDataItemFields() local
1403 uint32_t curr_index = prev_index + field_idx_diff; in CheckIntraClassDataItemFields()
1408 if (!CheckOrder(kTypeDescr, curr_index, prev_index)) { in CheckIntraClassDataItemFields()
1418 prev_index = curr_index; in CheckIntraClassDataItemFields()
1442 uint32_t prev_index = 0; in CheckIntraClassDataItemMethods() local
1451 uint32_t curr_index = prev_index + method_idx_diff; in CheckIntraClassDataItemMethods()
1456 if (!CheckOrder(kTypeDescr, curr_index, prev_index)) { in CheckIntraClassDataItemMethods()
[all …]