Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file-inl.h152 return GetStringData(field_id.name_idx_); in GetFieldName()
160 return GetStringView(field_id.name_idx_); in GetFieldNameView()
194 return GetStringData(method_id.name_idx_); in GetMethodName()
199 return GetStringDataAndUtf16Length(method_id.name_idx_, utf_length); in GetMethodName()
203 return GetStringData(GetMethodId(method_idx).name_idx_); in GetMethodName()
207 return GetStringDataAndUtf16Length(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
212 return GetStringView(method_id.name_idx_); in GetMethodNameView()
Ddex_file_structs.h71 dex::StringIndex name_idx_; // index into string_ids_ array for field name member
92 dex::StringIndex name_idx_; // index into string_ids_ array for method name member
Dart_dex_file_loader_test.cc178 const char* name = raw->GetStringData(method_id.name_idx_); in TEST_F()
253 const char* name = raw->GetStringData(method_id.name_idx_); in TEST_F()
316 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
331 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file.cc384 if (name_idx > field.name_idx_) { in FindFieldId()
386 } else if (name_idx < field.name_idx_) { in FindFieldId()
426 if (name_idx > method.name_idx_) { in FindMethodIdByIndex()
428 } else if (name_idx < method.name_idx_) { in FindMethodIdByIndex()
438 DCHECK_EQ(name_idx, method.name_idx_); in FindMethodIdByIndex()
Ddex_file_verifier.cc212 std::string field_name = GetString(field_id.name_idx_); in GetFieldDescription()
224 std::string method_name = GetString(method_id.name_idx_); in GetMethodDescription()
959 uint32_t string_idx = method_id.name_idx_.index_; in CheckClassDataItemMethod()
1405 !CheckIndex(field_id->name_idx_.index_, header_->string_ids_size_, "field_id.name")) { in CheckIntraFieldIdItem()
1421 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
2797 const char* field_name = dex_file_->GetStringData(item->name_idx_); in CheckInterFieldIdItem()
2810 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterFieldIdItem()
2813 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterFieldIdItem()
2837 const char* method_name = dex_file_->GetStringData(item->name_idx_); in CheckInterMethodIdItem()
2856 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterMethodIdItem()
[all …]
Ddex_file_verifier_test.cc172 method_id->name_idx_ = dex::StringIndex(0xFF); in TEST_F()
241 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
834 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
1407 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1408 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
/art/dexdump/
Ddexdump.cc596 fputs(pDexFile->GetStringData(pFieldId.name_idx_), gOutFile); in dumpEncodedValue()
602 fputs(pDexFile->GetStringData(pMethodId.name_idx_), gOutFile); in dumpEncodedValue()
775 const char* field_name = pDexFile->GetStringData(pFieldId.name_idx_); in dumpClassAnnotations()
786 const char* method_name = pDexFile->GetStringData(pMethodId.name_idx_); in dumpClassAnnotations()
797 const char* method_name = pDexFile->GetStringData(pMethodId.name_idx_); in dumpClassAnnotations()
936 const char* name = pDexFile->GetStringData(pMethodId.name_idx_); in indexString()
948 const char* name = pDexFile->GetStringData(pFieldId.name_idx_); in indexString()
969 const char* name = pDexFile->GetStringData(pMethodId.name_idx_); in indexString()
1240 const char* name = pDexFile->GetStringData(pMethodId.name_idx_); in dumpBytecodes()
1356 const char* name = dex_file.GetStringData(pMethodId.name_idx_); in dumpMethod()
[all …]
/art/runtime/
Dart_method.cc248 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
252 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
309 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
Dart_method-inl.h445 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this);
452 const dex::StringIndex name_idx = method_id.name_idx_;
Dart_field-inl.h420 return Runtime::Current()->GetClassLinker()->ResolveString(field_id.name_idx_, this); in ResolveNameString()
Dclass_linker-inl.h421 const char* name = dex_file.GetStringData(method_id.name_idx_); in ResolveMethod()
Dclass_linker.cc1288 return lhs_mid.name_idx_ == rhs_mid.name_idx_ && in MethodSignatureEquals()
4084 const char* method_name = dex_file.GetStringDataAndUtf16Length(method_id.name_idx_, in LoadMethod()
6601 name_view_ = dex_file_->GetStringView(mid_->name_idx_); in GetNameView()
6612 return mid_->name_idx_ == other_mid.name_idx_ && mid_->proto_idx_ == other_mid.proto_idx_; in HasSameNameAndSignature()
6614 return GetNameView() == other_dex_file->GetStringView(other_mid.name_idx_) && in HasSameNameAndSignature()
7289 PairType pair = std::make_pair(m_mid->name_idx_.index_, m_mid->proto_idx_.index_); in CheckVTableHasNoDuplicates()
7327 name(dex_file->GetStringDataAndUtf16Length(mid.name_idx_, &name_len)), in CheckVTableHasNoDuplicates()
/art/dexlist/
Ddexlist.cc100 const char* methodName = pDexFile->GetStringData(pMethodId.name_idx_); in dumpMethod()
/art/runtime/mirror/
Dclass.cc576 std::string_view name = dex_file.GetStringView(method_id.name_idx_); in FindInterfaceMethod()
806 return method_id.name_idx_; in FindDeclaredClassMethod()
880 if (cmp_method_id.name_idx_ == method_id.name_idx_ && in FindClassMethod()
1066 return field_id.name_idx_; in FindFieldByNameAndType()
1383 if (other_field_id.name_idx_ == field_id.name_idx_ && in FindFieldImpl()
1392 if (other_field_id.name_idx_ == field_id.name_idx_ && in FindFieldImpl()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc223 unique_field_names.insert(dex_file->GetStringData(dex_file->GetFieldId(i).name_idx_)); in ProcessDexFiles()
226 unique_method_names.insert(dex_file->GetStringData(dex_file->GetMethodId(i).name_idx_)); in ProcessDexFiles()
/art/profman/
Dprofman.cc1343 const dex::StringIndex& method_name = method_id.name_idx_; in ResolveMethod()
Dprofile_assistant_test.cc1571 dex_file->GetStringId(super_method_id.name_idx_), in TEST_F()
/art/runtime/verifier/
Dmethod_verifier.cc854 const std::string_view method_name = dex_file_->GetStringView(method_id.name_idx_); in Verify()
2900 is_constructor = dex_file_->GetStringView(method_id.name_idx_) == "<init>"; in CodeFlowVerifyInstruction()