Home
last modified time | relevance | path

Searched refs:prev_index (Results 1 – 3 of 3) 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.h97 bool CheckOrder(const char* type_descr, uint32_t curr_index, uint32_t prev_index);
Ddex_file_verifier.cc956 uint32_t prev_index) { in CheckOrder() argument
957 if (UNLIKELY(curr_index < prev_index)) { in CheckOrder()
960 prev_index, in CheckOrder()
1092 uint32_t prev_index = 0; in CheckIntraClassDataItemFields() local
1096 if (!CheckOrder(kTypeDescr, curr_index, prev_index)) { in CheckIntraClassDataItemFields()
1111 prev_index = curr_index; in CheckIntraClassDataItemFields()
1144 uint32_t prev_index = 0; in CheckIntraClassDataItemMethods() local
1147 if (!CheckOrder(kTypeDescr, curr_index, prev_index)) { in CheckIntraClassDataItemMethods()
1164 prev_index = curr_index; in CheckIntraClassDataItemMethods()