/art/libdexfile/dex/ |
D | dex_file-inl.h | 121 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()
|
D | dex_file_structs.h | 71 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
|
D | art_dex_file_loader_test.cc | 191 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()
|
D | dex_file.cc | 295 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()
|
D | dex_file_verifier.cc | 169 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 …]
|
D | dex_file_verifier_test.cc | 172 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/ |
D | dexdump.cc | 596 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/ |
D | art_method.cc | 249 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()
|
D | art_method-inl.h | 432 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this); 439 const dex::StringIndex name_idx = method_id.name_idx_;
|
D | art_field-inl.h | 385 return Runtime::Current()->GetClassLinker()->ResolveString(field_id.name_idx_, this); in ResolveNameString()
|
D | class_linker-inl.h | 422 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
|
D | class_linker.cc | 1232 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/ |
D | class.cc | 576 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/ |
D | dexlist.cc | 97 const char* methodName = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 223 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/ |
D | dex_ir_builder.cc | 465 header_->StringIds()[disk_field_id.name_idx_.index_]); in CreateFieldId() 475 header_->StringIds()[disk_method_id.name_idx_.index_]); in CreateMethodId()
|
/art/profman/ |
D | profman.cc | 1317 const dex::StringIndex& method_name = method_id.name_idx_; in ResolveMethod()
|
D | profile_assistant_test.cc | 1590 dex_file->GetStringId(super_method_id.name_idx_), in TEST_F()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 854 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()
|