Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dart_dex_file_loader_test.cc129 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
204 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F()
267 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
282 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
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
Ddex_file-inl.h107 return StringDataByIdx(field_id.name_idx_); in GetFieldName()
125 return StringDataByIdx(method_id.name_idx_); in GetMethodName()
130 return StringDataAndUtf16LengthByIdx(method_id.name_idx_, utf_length); in GetMethodName()
134 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
Ddex_file.cc257 if (name_idx > field.name_idx_) { in FindFieldId()
259 } else if (name_idx < field.name_idx_) { in FindFieldId()
292 if (name_idx > method.name_idx_) { in FindMethodId()
294 } else if (name_idx < method.name_idx_) { in FindMethodId()
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()
885 uint32_t string_idx = method_id.name_idx_.index_; in CheckClassDataItemMethod()
1268 !CheckIndex(field_id->name_idx_.index_, header_->string_ids_size_, "field_id.name")) { in CheckIntraFieldIdItem()
1284 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
2628 const char* field_name = dex_file_->StringDataByIdx(item->name_idx_); in CheckInterFieldIdItem()
2641 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterFieldIdItem()
2644 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterFieldIdItem()
2668 const char* method_name = dex_file_->StringDataByIdx(item->name_idx_); in CheckInterMethodIdItem()
2687 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterMethodIdItem()
[all …]
Ddex_file_verifier_test.cc179 method_id->name_idx_ = dex::StringIndex(0xFF); in TEST_F()
248 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
841 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
1414 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1415 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
/art/dexdump/
Ddexdump.cc535 fputs(pDexFile->StringDataByIdx(pFieldId.name_idx_), gOutFile); in dumpEncodedValue()
541 fputs(pDexFile->StringDataByIdx(pMethodId.name_idx_), gOutFile); in dumpEncodedValue()
714 const char* field_name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in dumpClassAnnotations()
725 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
736 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
869 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
881 const char* name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in indexString()
902 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
1173 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpBytecodes()
1266 const char* name = dex_file.StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
[all …]
/art/runtime/
Dart_method.cc196 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
200 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
257 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
Dart_method-inl.h222 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this); in ResolveNameString()
Dart_field-inl.h359 return Runtime::Current()->GetClassLinker()->ResolveString(field_id.name_idx_, this); in ResolveNameString()
Dclass_linker.cc3975 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); in LoadMethod()
6403 name_ = dex_file_->StringDataAndUtf16LengthByIdx(mid_->name_idx_, &name_len_); in GetName()
6414 return mid_->name_idx_ == other_mid.name_idx_ && mid_->proto_idx_ == other_mid.proto_idx_; in HasSameNameAndSignature()
6418 const char* other_name = other_dex_file->StringDataAndUtf16LengthByIdx(other_mid.name_idx_, in HasSameNameAndSignature()
7553 PairType pair = std::make_pair(m_mid->name_idx_.index_, m_mid->proto_idx_.index_); in CheckVTableHasNoDuplicates()
7583 : name(dex_file->StringDataAndUtf16LengthByIdx(mid.name_idx_, &name_len)), in CheckVTableHasNoDuplicates()
8947 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
/art/dexlist/
Ddexlist.cc96 const char* methodName = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
/art/runtime/mirror/
Dclass.cc620 std::string_view name = dex_file.StringViewByIdx(method_id.name_idx_); in FindInterfaceMethod()
778 if (cmp_method_id.name_idx_ == method_id.name_idx_ && in FindClassMethod()
786 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
814 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
/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/dex2oat/
Dverifier_deps_test.cc346 std::string actual_name = dex_dep.first->StringDataByIdx(field_id.name_idx_); in HasField()
398 std::string actual_name = dex_dep.first->StringDataByIdx(method_id.name_idx_); in HasMethod()
/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/runtime/verifier/
Dverifier_deps.cc1097 std::string_view name(dex_file.StringDataByIdx(field_id.name_idx_)); in VerifyFields()
Dmethod_verifier.cc905 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); in Verify()
2997 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; in CodeFlowVerifyInstruction()