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.h106 return StringDataByIdx(field_id.name_idx_); in GetFieldName()
124 return StringDataByIdx(method_id.name_idx_); in GetMethodName()
129 return StringDataAndUtf16LengthByIdx(method_id.name_idx_, utf_length); in GetMethodName()
133 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
Ddex_file.cc256 if (name_idx > field.name_idx_) { in FindFieldId()
258 } else if (name_idx < field.name_idx_) { in FindFieldId()
291 if (name_idx > method.name_idx_) { in FindMethodId()
293 } else if (name_idx < method.name_idx_) { in FindMethodId()
Ddex_file_verifier.cc665 uint32_t string_idx = method_id.name_idx_.index_; in CheckClassDataItemMethod()
2320 LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") in CheckInterFieldIdItem()
2333 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterFieldIdItem()
2336 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterFieldIdItem()
2361 LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") in CheckInterMethodIdItem()
2380 if (UNLIKELY(prev_item->name_idx_ > item->name_idx_)) { in CheckInterMethodIdItem()
2383 } else if (prev_item->name_idx_ == item->name_idx_) { in CheckInterMethodIdItem()
3104 std::string field_name = GetStringOrError(begin, header, field_id->name_idx_); in GetFieldDescriptionOrError()
3121 std::string method_name = GetStringOrError(begin, header, method_id->name_idx_); in GetMethodDescriptionOrError()
Ddex_file_verifier_test.cc177 method_id->name_idx_ = dex::StringIndex(0xFF); in TEST_F()
246 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
839 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
1412 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1413 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
/art/dexdump/
Ddexdump.cc496 fputs(pDexFile->StringDataByIdx(pFieldId.name_idx_), gOutFile); in dumpEncodedValue()
502 fputs(pDexFile->StringDataByIdx(pMethodId.name_idx_), gOutFile); in dumpEncodedValue()
675 const char* field_name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in dumpClassAnnotations()
686 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
697 const char* method_name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpClassAnnotations()
830 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
842 const char* name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in indexString()
863 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in indexString()
1134 const char* name = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpBytecodes()
1227 const char* name = dex_file.StringDataByIdx(pMethodId.name_idx_); in dumpMethod()
[all …]
/art/runtime/
Dart_method.cc187 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
191 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
248 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
Dart_method-inl.h220 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this); in ResolveNameString()
Dart_field-inl.h348 return Runtime::Current()->GetClassLinker()->ResolveString(field_id.name_idx_, this); in ResolveNameString()
Dclass_linker.cc3738 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); in LoadMethod()
6138 name_ = dex_file_->StringDataAndUtf16LengthByIdx(mid_->name_idx_, &name_len_); in GetName()
6149 return mid_->name_idx_ == other_mid.name_idx_ && mid_->proto_idx_ == other_mid.proto_idx_; in HasSameNameAndSignature()
6153 const char* other_name = other_dex_file->StringDataAndUtf16LengthByIdx(other_mid.name_idx_, in HasSameNameAndSignature()
7272 PairType pair = std::make_pair(m_mid->name_idx_.index_, m_mid->proto_idx_.index_); in CheckVTableHasNoDuplicates()
7302 : name(dex_file->StringDataAndUtf16LengthByIdx(mid.name_idx_, &name_len)), in CheckVTableHasNoDuplicates()
8657 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.cc499 std::string_view name = dex_file.StringViewByIdx(method_id.name_idx_); in FindInterfaceMethod()
657 if (cmp_method_id.name_idx_ == method_id.name_idx_ && in FindClassMethod()
665 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
693 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.cc464 header_->StringIds()[disk_field_id.name_idx_.index_]); in CreateFieldId()
474 header_->StringIds()[disk_method_id.name_idx_.index_]); in CreateMethodId()
/art/runtime/verifier/
Dverifier_deps.cc1031 std::string_view name(dex_file.StringDataByIdx(field_id.name_idx_)); in VerifyFields()
Dmethod_verifier.cc745 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); in Verify()
2989 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0; in CodeFlowVerifyInstruction()