Home
last modified time | relevance | path

Searched refs:name_idx_ (Results 1 – 11 of 11) sorted by relevance

/art/runtime/
Dart_method.cc64 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_, in GetNameAsString()
113 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
117 if (!DexFileStringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
177 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
Ddex_file_test.cc246 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
258 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
269 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
327 const DexFile::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
342 const DexFile::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file_verifier.cc1843 LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") in CheckInterFieldIdItem()
1856 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterFieldIdItem()
1859 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterFieldIdItem()
1884 LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") in CheckInterMethodIdItem()
1903 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterMethodIdItem()
1906 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterMethodIdItem()
2468 std::string field_name = GetStringOrError(begin, header, field_id->name_idx_); in GetFieldDescriptionOrError()
2485 std::string method_name = GetStringOrError(begin, header, method_id->name_idx_); in GetMethodDescriptionOrError()
2584 method_index)->name_idx_; in FindMethodName()
Ddex_file_verifier_test.cc243 method_id->name_idx_ = 0xFF; in TEST_F()
314 uint32_t name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
702 method_id->name_idx_ = dex_file->NumStringIds(); in TEST_F()
923 uint32_t name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
1502 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1503 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
Dart_field-inl.h325 auto* name = dex_cache->GetResolvedString(field_id.name_idx_); in GetStringName()
327 name = ResolveGetStringName(self, *dex_file, field_id.name_idx_, dex_cache); in GetStringName()
Ddex_file.h182 uint32_t name_idx_; // index into string_ids_ array for field name member
192 uint32_t name_idx_; // index into string_ids_ array for method name member
629 return StringDataByIdx(field_id.name_idx_); in GetFieldName()
671 return StringDataByIdx(method_id.name_idx_); in GetMethodName()
Ddex_file.cc567 if (name_idx > field.name_idx_) { in FindFieldId()
569 } else if (name_idx < field.name_idx_) { in FindFieldId()
602 if (name_idx > method.name_idx_) { in FindMethodId()
604 } else if (name_idx < method.name_idx_) { in FindMethodId()
Dclass_linker.cc3122 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); in LoadMethod()
5509 name_ = dex_file_->StringDataAndUtf16LengthByIdx(mid_->name_idx_, &name_len_); in GetName()
5520 return mid_->name_idx_ == other_mid.name_idx_ && mid_->proto_idx_ == other_mid.proto_idx_; in HasSameNameAndSignature()
5524 const char* other_name = other_dex_file->StringDataAndUtf16LengthByIdx(other_mid.name_idx_, in HasSameNameAndSignature()
7451 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
7487 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
7668 StringPiece name(dex_file.StringDataByIdx(field_id.name_idx_)); in ResolveFieldJLS()
/art/dexlist/
Ddexlist.cc104 const char* methodName = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
/art/dexdump/
Ddexdump.cc561 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
573 const char* name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in indexString()
857 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpBytecodes()
920 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
1146 const char* name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in dumpSField()
/art/runtime/verifier/
Dmethod_verifier.cc695 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); in Verify()
2879 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; in CodeFlowVerifyInstruction()