Lines Matching refs:CheckIndex

236   ALWAYS_INLINE bool CheckIndex(uint32_t field, uint32_t limit, const char* label) {  in CheckIndex()  function in art::dex::DexFileVerifier
811 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { in CheckAndGetHandlerOffsets()
886 if (!CheckIndex(string_idx, header_->string_ids_size_, "method flags verification")) { in CheckClassDataItemMethod()
989 if (!CheckIndex(idx, header_->string_ids_size_, "encoded_value string")) { in CheckEncodedValue()
1000 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_value type")) { in CheckEncodedValue()
1012 if (!CheckIndex(idx, header_->field_ids_size_, "encoded_value field")) { in CheckEncodedValue()
1023 if (!CheckIndex(idx, header_->method_ids_size_, "encoded_value method")) { in CheckEncodedValue()
1064 if (!CheckIndex(idx, header_->proto_ids_size_, "method_type value")) { in CheckEncodedValue()
1075 if (!CheckIndex(idx, dex_file_->NumMethodHandles(), "method_handle value")) { in CheckEncodedValue()
1102 if (!CheckIndex(anno_idx, header_->type_ids_size_, "encoded_annotation type_idx")) { in CheckEncodedAnnotation()
1111 if (!CheckIndex(idx, header_->string_ids_size_, "annotation_element name_idx")) { in CheckEncodedAnnotation()
1233 if (!CheckIndex(type_id->descriptor_idx_.index_, in CheckIntraTypeIdItem()
1249 if (!CheckIndex(proto_id->shorty_idx_.index_, header_->string_ids_size_, "proto_id.shorty") || in CheckIntraProtoIdItem()
1250 !CheckIndex(proto_id->return_type_idx_.index_, in CheckIntraProtoIdItem()
1266 if (!CheckIndex(field_id->class_idx_.index_, header_->type_ids_size_, "field_id.class") || in CheckIntraFieldIdItem()
1267 !CheckIndex(field_id->type_idx_.index_, header_->type_ids_size_, "field_id.type") || in CheckIntraFieldIdItem()
1268 !CheckIndex(field_id->name_idx_.index_, header_->string_ids_size_, "field_id.name")) { in CheckIntraFieldIdItem()
1282 if (!CheckIndex(method_id->class_idx_.index_, header_->type_ids_size_, "method_id.class") || in CheckIntraMethodIdItem()
1283 !CheckIndex(method_id->proto_idx_.index_, header_->proto_ids_size_, "method_id.proto") || in CheckIntraMethodIdItem()
1284 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
1298 if (!CheckIndex(class_def->class_idx_.index_, header_->type_ids_size_, "class_def.class")) { in CheckIntraClassDefItem()
1310 } else if (!CheckIndex(class_def->superclass_idx_.index_, in CheckIntraClassDefItem()
1350 if (!CheckIndex(index, header_->field_ids_size_, "method_handle_item field_idx")) { in CheckIntraMethodHandleItem()
1359 if (!CheckIndex(index, header_->method_ids_size_, "method_handle_item method_idx")) { in CheckIntraMethodHandleItem()
1377 if (!CheckIndex(type_list->GetTypeItem(i).type_idx_.index_, in CheckIntraTypeList()
1405 if (!CheckIndex(curr_index, header_->field_ids_size_, "class_data_item field_idx")) { in CheckIntraClassDataItemFields()
1453 if (!CheckIndex(curr_index, header_->method_ids_size_, "class_data_item method_idx")) { in CheckIntraClassDataItemMethods()
1738 … if (!CheckIndex(parameter_name, header_->string_ids_size_, "debug_info_item parameter_name")) { in CheckIntraDebugInfoItem()
1767 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL name_idx")) { in CheckIntraDebugInfoItem()
1774 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL type_idx")) { in CheckIntraDebugInfoItem()
1798 … if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED name_idx")) { in CheckIntraDebugInfoItem()
1805 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL_EXTENDED type_idx")) { in CheckIntraDebugInfoItem()
1812 if (!CheckIndex(sig_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED sig_idx")) { in CheckIntraDebugInfoItem()
1822 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_SET_FILE name_idx")) { in CheckIntraDebugInfoItem()
1975 if (!CheckIndex(field_item->field_idx_, header_->field_ids_size_, "field annotation")) { in CheckIntraAnnotationsDirectoryItem()
2000 if (!CheckIndex(method_item->method_idx_, header_->method_ids_size_, "method annotation")) { in CheckIntraAnnotationsDirectoryItem()
2023 if (!CheckIndex(parameter_item->method_idx_, in CheckIntraAnnotationsDirectoryItem()
2554 if (!CheckIndex(it.GetTypeIdx().index_, in CheckInterProtoIdItem()
2675 if (UNLIKELY(!CheckIndex(item->proto_idx_.index_, dex_file_->NumProtoIds(), in CheckInterMethodIdItem()