Lines Matching refs:CheckIndex
103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) { in CheckLoadStringByIdx()
171 if (UNLIKELY(!CheckIndex(type_idx.index_, dex_file_->NumTypeIds(), error_string))) { in CheckLoadStringByTypeIdx()
178 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { in CheckLoadFieldId()
185 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { in CheckLoadMethodId()
192 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumProtoIds(), err_string))) { in CheckLoadProtoId()
325 bool DexFileVerifier::CheckIndex(uint32_t field, uint32_t limit, const char* label) { in CheckIndex() function in art::DexFileVerifier
611 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { in CheckAndGetHandlerOffsets()
640 if (!CheckIndex(idx, header_->field_ids_size_, "class_data_item field_idx")) { in CheckClassDataItemField()
681 if (!CheckIndex(idx, header_->method_ids_size_, "class_data_item method_idx")) { in CheckClassDataItemMethod()
804 if (!CheckIndex(idx, header_->string_ids_size_, "encoded_value string")) { in CheckEncodedValue()
815 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_value type")) { in CheckEncodedValue()
827 if (!CheckIndex(idx, header_->field_ids_size_, "encoded_value field")) { in CheckEncodedValue()
838 if (!CheckIndex(idx, header_->method_ids_size_, "encoded_value method")) { in CheckEncodedValue()
879 if (!CheckIndex(idx, header_->proto_ids_size_, "method_type value")) { in CheckEncodedValue()
890 if (!CheckIndex(idx, dex_file_->NumMethodHandles(), "method_handle value")) { in CheckEncodedValue()
917 if (!CheckIndex(anno_idx, header_->type_ids_size_, "encoded_annotation type_idx")) { in CheckEncodedAnnotation()
926 if (!CheckIndex(idx, header_->string_ids_size_, "annotation_element name_idx")) { in CheckEncodedAnnotation()
1430 … if (!CheckIndex(parameter_name, header_->string_ids_size_, "debug_info_item parameter_name")) { in CheckIntraDebugInfoItem()
1459 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL name_idx")) { in CheckIntraDebugInfoItem()
1466 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL type_idx")) { in CheckIntraDebugInfoItem()
1490 … if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED name_idx")) { in CheckIntraDebugInfoItem()
1497 if (!CheckIndex(type_idx, header_->type_ids_size_, "DBG_START_LOCAL_EXTENDED type_idx")) { in CheckIntraDebugInfoItem()
1504 if (!CheckIndex(sig_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED sig_idx")) { in CheckIntraDebugInfoItem()
1514 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_SET_FILE name_idx")) { in CheckIntraDebugInfoItem()
2101 if (!CheckIndex(it.GetTypeIdx().index_, in CheckInterProtoIdItem()
2223 if (UNLIKELY(!CheckIndex(item->proto_idx_, dex_file_->NumProtoIds(), in CheckInterMethodIdItem()