Home
last modified time | relevance | path

Searched refs:GetStringFromId (Results 1 – 3 of 3) sorted by relevance

/art/runtime/verifier/
Dverifier_deps.cc252 DCHECK_EQ(str, singleton->GetStringFromId(dex_file, new_id)); in GetIdFromString()
257 std::string VerifierDeps::GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) in GetStringFromId() function in art::verifier::VerifierDeps
861 << GetStringFromId(dex_file, entry.GetSource()) in Dump()
863 << GetStringFromId(dex_file, entry.GetDestination()) in Dump()
869 << GetStringFromId(dex_file, entry.GetSource()) in Dump()
871 << GetStringFromId(dex_file, entry.GetDestination()) in Dump()
895 << GetStringFromId(dex_file, entry.GetDeclaringClassIndex()) in Dump()
913 << GetStringFromId(dex_file, method.GetDeclaringClassIndex()) in Dump()
968 const std::string& destination_desc = GetStringFromId(dex_file, entry.GetDestination()); in VerifyAssignability()
971 const std::string& source_desc = GetStringFromId(dex_file, entry.GetSource()); in VerifyAssignability()
[all …]
Dverifier_deps.h275 std::string GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) const;
/art/dex2oat/
Dverifier_deps_test.cc284 verifier_deps_->GetStringFromId(dex_file, entry.GetDestination()); in HasAssignable()
285 std::string actual_source = verifier_deps_->GetStringFromId(dex_file, entry.GetSource()); in HasAssignable()
364 std::string actual_decl_klass = verifier_deps_->GetStringFromId( in HasField()
416 std::string actual_decl_klass = verifier_deps_->GetStringFromId( in HasMethod()
511 ASSERT_EQ("LMain;", verifier_deps_->GetStringFromId(*primary_dex_file_, id_Main1)); in TEST_F()
515 ASSERT_EQ("LMain;", verifier_deps_->GetStringFromId(*primary_dex_file_, id_Main2)); in TEST_F()
519 ASSERT_EQ("Lorem ipsum", verifier_deps_->GetStringFromId(*primary_dex_file_, id_Lorem1)); in TEST_F()
523 ASSERT_EQ("Lorem ipsum", verifier_deps_->GetStringFromId(*primary_dex_file_, id_Lorem2)); in TEST_F()