Lines Matching refs:CheckIndex

247   ALWAYS_INLINE bool CheckIndex(uint32_t field, uint32_t limit, const char* label) {  in CheckIndex()  function in art::dex::DexFileVerifier
886 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { in CheckAndGetHandlerOffsets()
960 if (!CheckIndex(string_idx, header_->string_ids_size_, "method flags verification")) { in CheckClassDataItemMethod()
1086 if (!CheckIndex(idx, header_->string_ids_size_, "encoded_value string")) { in CheckEncodedValue()
1100 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_value type")) { in CheckEncodedValue()
1115 if (!CheckIndex(idx, header_->field_ids_size_, "encoded_value field")) { in CheckEncodedValue()
1129 if (!CheckIndex(idx, header_->method_ids_size_, "encoded_value method")) { in CheckEncodedValue()
1173 if (!CheckIndex(idx, header_->proto_ids_size_, "method_type value")) { in CheckEncodedValue()
1187 if (!CheckIndex(idx, dex_file_->NumMethodHandles(), "method_handle value")) { in CheckEncodedValue()
1217 if (!CheckIndex(anno_idx, header_->type_ids_size_, "encoded_annotation type_idx")) { in CheckEncodedAnnotation()
1229 if (!CheckIndex(idx, header_->string_ids_size_, "annotation_element name_idx")) { in CheckAnnotationElement()
1370 if (!CheckIndex(type_id->descriptor_idx_.index_, in CheckIntraTypeIdItem()
1386 if (!CheckIndex(proto_id->shorty_idx_.index_, header_->string_ids_size_, "proto_id.shorty") || in CheckIntraProtoIdItem()
1387 !CheckIndex(proto_id->return_type_idx_.index_, in CheckIntraProtoIdItem()
1403 if (!CheckIndex(field_id->class_idx_.index_, header_->type_ids_size_, "field_id.class") || in CheckIntraFieldIdItem()
1404 !CheckIndex(field_id->type_idx_.index_, header_->type_ids_size_, "field_id.type") || in CheckIntraFieldIdItem()
1405 !CheckIndex(field_id->name_idx_.index_, header_->string_ids_size_, "field_id.name")) { in CheckIntraFieldIdItem()
1419 if (!CheckIndex(method_id->class_idx_.index_, header_->type_ids_size_, "method_id.class") || in CheckIntraMethodIdItem()
1420 !CheckIndex(method_id->proto_idx_.index_, header_->proto_ids_size_, "method_id.proto") || in CheckIntraMethodIdItem()
1421 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
1435 if (!CheckIndex(class_def->class_idx_.index_, header_->type_ids_size_, "class_def.class")) { in CheckIntraClassDefItem()
1447 } else if (!CheckIndex(class_def->superclass_idx_.index_, in CheckIntraClassDefItem()
1487 if (!CheckIndex(index, header_->field_ids_size_, "method_handle_item field_idx")) { in CheckIntraMethodHandleItem()
1496 if (!CheckIndex(index, header_->method_ids_size_, "method_handle_item method_idx")) { in CheckIntraMethodHandleItem()
1514 if (!CheckIndex(type_list->GetTypeItem(i).type_idx_.index_, in CheckIntraTypeList()
1541 if (!CheckIndex(curr_index, header_->field_ids_size_, "class_data_item field_idx")) { in CheckIntraClassDataItemFields()
1588 if (!CheckIndex(curr_index, header_->method_ids_size_, "class_data_item method_idx")) { in CheckIntraClassDataItemMethods()
1895 … if (!CheckIndex(parameter_name, header_->string_ids_size_, "debug_info_item parameter_name")) { in CheckIntraDebugInfoItem()
1928 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL name_idx")) { in CheckIntraDebugInfoItem()
1935 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL type_idx")) { in CheckIntraDebugInfoItem()
1959 … if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED name_idx")) { in CheckIntraDebugInfoItem()
1966 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL_EXTENDED type_idx")) { in CheckIntraDebugInfoItem()
1973 if (!CheckIndex(sig_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED sig_idx")) { in CheckIntraDebugInfoItem()
1983 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_SET_FILE name_idx")) { in CheckIntraDebugInfoItem()
2068 if (!CheckIndex(field_item->field_idx_, header_->field_ids_size_, "field annotation")) { in CheckIntraAnnotationsDirectoryItem()
2093 if (!CheckIndex(method_item->method_idx_, header_->method_ids_size_, "method annotation")) { in CheckIntraAnnotationsDirectoryItem()
2116 if (!CheckIndex(parameter_item->method_idx_, in CheckIntraAnnotationsDirectoryItem()
2723 if (!CheckIndex(it.GetTypeIdx().index_, in CheckInterProtoIdItem()
2844 if (UNLIKELY(!CheckIndex(item->proto_idx_.index_, dex_file_->NumProtoIds(), in CheckInterMethodIdItem()