Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file-inl.h121 return StringDataByIdx(field_id.name_idx_); in GetFieldName()
125 return StringViewByIdx(field_id.name_idx_); in GetFieldNameView()
143 return StringDataByIdx(method_id.name_idx_); in GetMethodName()
148 return StringDataAndUtf16LengthByIdx(method_id.name_idx_, utf_length); in GetMethodName()
152 return StringDataByIdx(GetMethodId(idx).name_idx_); in GetMethodName()
156 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
161 return StringViewByIdx(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.cc191 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
266 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
329 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
344 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file.cc295 if (name_idx > field.name_idx_) { in FindFieldId()
297 } else if (name_idx < field.name_idx_) { in FindFieldId()
337 if (name_idx > method.name_idx_) { in FindMethodIdByIndex()
339 } else if (name_idx < method.name_idx_) { in FindMethodIdByIndex()
349 DCHECK_EQ(name_idx, method.name_idx_); in FindMethodIdByIndex()
Ddex_file_verifier.cc169 std::string field_name = GetString(begin, header, field_id->name_idx_); in GetFieldDescription()
184 std::string method_name = GetString(begin, header, method_id->name_idx_); in GetMethodDescription()
880 uint32_t string_idx = method_id.name_idx_.index_; in CheckClassDataItemMethod()
1263 !CheckIndex(field_id->name_idx_.index_, header_->string_ids_size_, "field_id.name")) { in CheckIntraFieldIdItem()
1279 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
2623 const char* field_name = dex_file_->StringDataByIdx(item->name_idx_); in CheckInterFieldIdItem()
2636 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterFieldIdItem()
2639 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterFieldIdItem()
2663 const char* method_name = dex_file_->StringDataByIdx(item->name_idx_); in CheckInterMethodIdItem()
2682 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->StringDataByIdx(pFieldId.name_idx_), gOutFile); in dumpEncodedValue()
602 fputs(pDexFile->StringDataByIdx(pMethodId.name_idx_), gOutFile); in dumpEncodedValue()
775 const char* field_name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in dumpClassAnnotations()
786 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
797 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
936 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
948 const char* name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in indexString()
969 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
1240 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpBytecodes()
1356 const char* name = dex_file.StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
[all …]
/art/runtime/
Dart_method.cc249 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
253 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
310 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
Dart_method-inl.h432 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this);
439 const dex::StringIndex name_idx = method_id.name_idx_;
Dart_field-inl.h385 return Runtime::Current()->GetClassLinker()->ResolveString(field_id.name_idx_, this); in ResolveNameString()
Dclass_linker-inl.h422 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
Dclass_linker.cc1232 return lhs_mid.name_idx_ == rhs_mid.name_idx_ && in MethodSignatureEquals()
3909 const char* method_name = dex_file.StringDataAndUtf16LengthByIdx(method_id.name_idx_, in LoadMethod()
6413 name_view_ = dex_file_->StringViewByIdx(mid_->name_idx_); in GetNameView()
6424 return mid_->name_idx_ == other_mid.name_idx_ && mid_->proto_idx_ == other_mid.proto_idx_; in HasSameNameAndSignature()
6426 return GetNameView() == other_dex_file->StringViewByIdx(other_mid.name_idx_) && in HasSameNameAndSignature()
7090 PairType pair = std::make_pair(m_mid->name_idx_.index_, m_mid->proto_idx_.index_); in CheckVTableHasNoDuplicates()
7128 name(dex_file->StringDataAndUtf16LengthByIdx(mid.name_idx_, &name_len)), in CheckVTableHasNoDuplicates()
/art/runtime/mirror/
Dclass.cc576 std::string_view name = dex_file.StringViewByIdx(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()
916 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
1065 return field_id.name_idx_; in FindFieldByNameAndType()
1382 if (other_field_id.name_idx_ == field_id.name_idx_ && in FindFieldImpl()
1391 if (other_field_id.name_idx_ == field_id.name_idx_ && in FindFieldImpl()
/art/dexlist/
Ddexlist.cc97 const char* methodName = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc223 unique_field_names.insert(dex_file->StringDataByIdx(dex_file->GetFieldId(i).name_idx_)); in ProcessDexFiles()
226 unique_method_names.insert(dex_file->StringDataByIdx(dex_file->GetMethodId(i).name_idx_)); in ProcessDexFiles()
/art/dexlayout/
Ddex_ir_builder.cc465 header_->StringIds()[disk_field_id.name_idx_.index_]); in CreateFieldId()
475 header_->StringIds()[disk_method_id.name_idx_.index_]); in CreateMethodId()
/art/profman/
Dprofman.cc1317 const dex::StringIndex& method_name = method_id.name_idx_; in ResolveMethod()
Dprofile_assistant_test.cc1590 dex_file->GetStringId(super_method_id.name_idx_), in TEST_F()
/art/runtime/verifier/
Dmethod_verifier.cc854 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); in Verify()
2901 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; in CodeFlowVerifyInstruction()