Lines Matching refs:CheckIndex
128 bool DexFileVerifier::CheckIndex(uint32_t field, uint32_t limit, const char* label) const {
302 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) {
327 if (!CheckIndex(idx, header_->field_ids_size_, "class_data_item field_idx")) {
349 if (!CheckIndex(idx, header_->method_ids_size_, "class_data_item method_idx")) {
444 if (!CheckIndex(idx, header_->string_ids_size_, "encoded_value string")) {
455 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_value type")) {
467 if (!CheckIndex(idx, header_->field_ids_size_, "encoded_value field")) {
478 if (!CheckIndex(idx, header_->method_ids_size_, "encoded_value method")) {
535 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_annotation type_idx")) {
544 if (!CheckIndex(idx, header_->string_ids_size_, "annotation_element name_idx")) {
787 if (!CheckIndex(parameter_name, header_->string_ids_size_, "debug_info_item parameter_name")) {
816 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL name_idx")) {
823 if (!CheckIndex(type_idx, header_->string_ids_size_, "DBG_START_LOCAL type_idx")) {
847 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED name_idx")) {
854 if (!CheckIndex(type_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED type_idx")) {
861 if (!CheckIndex(sig_idx, header_->string_ids_size_, "DBG_START_LOCAL_EXTENDED sig_idx")) {
871 if (!CheckIndex(name_idx, header_->string_ids_size_, "DBG_SET_FILE name_idx")) {