Home
last modified time | relevance | path

Searched refs:DexFileReference (Results 1 – 7 of 7) sorted by relevance

/art/compiler/utils/
Datomic_dex_ref_map_test.cc38 EXPECT_FALSE(map.Get(DexFileReference(dex.get(), 1), &value)); in TEST_F()
41 EXPECT_TRUE(map.Insert(DexFileReference(dex.get(), 1), 0, 1) == Map::kInsertResultInvalidDexFile); in TEST_F()
46 EXPECT_TRUE(map.Get(DexFileReference(dex.get(), 1), &value)); in TEST_F()
50 EXPECT_TRUE(map.Insert(DexFileReference(dex.get(), 1), 0, kInsertValue) == in TEST_F()
52 EXPECT_TRUE(map.Get(DexFileReference(dex.get(), 1), &value)); in TEST_F()
55 EXPECT_TRUE(map.Insert(DexFileReference(dex.get(), 2), 0, kInsertValue2) == in TEST_F()
57 EXPECT_TRUE(map.Get(DexFileReference(dex.get(), 1), &value)); in TEST_F()
59 EXPECT_TRUE(map.Get(DexFileReference(dex.get(), 2), &value)); in TEST_F()
62 EXPECT_TRUE(map.Insert(DexFileReference(dex.get(), 1), 0, kInsertValue + 1) == in TEST_F()
65 EXPECT_TRUE(map.Insert(DexFileReference(dex.get(), 1), kInsertValue, kInsertValue + 1) == in TEST_F()
[all …]
Datomic_dex_ref_map.h41 InsertResult Insert(DexFileReference ref, const T& expected, const T& desired);
44 bool Get(DexFileReference ref, T* out) const;
Datomic_dex_ref_map-inl.h28 DexFileReference ref, in Insert()
42 inline bool AtomicDexRefMap<T>::Get(DexFileReference ref, T* out) const { in Get()
76 visitor(DexFileReference(dex_file, i), elements[i].LoadRelaxed()); in Visit()
/art/compiler/dex/
Dverification_results.cc41 atomic_verified_methods_.Visit([](const DexFileReference& ref ATTRIBUTE_UNUSED, in ~VerificationResults()
60 DexFileReference(ref.dex_file, ref.dex_method_index), in ProcessVerifiedMethod()
69 CHECK(atomic_verified_methods_.Get(DexFileReference(ref.dex_file, ref.dex_method_index), in ProcessVerifiedMethod()
108 if (atomic_verified_methods_.Get(DexFileReference(ref.dex_file, ref.dex_method_index), &ret)) { in GetVerifiedMethod()
122 if (atomic_verified_methods_.Insert(DexFileReference(ref.dex_file, ref.dex_method_index), in CreateVerifiedMethodFor()
165 CHECK(atomic_verified_methods_.Insert(DexFileReference(ref.dex_file, ref.dex_method_index), in AddDexFile()
/art/compiler/driver/
Dcompiler_driver.cc322 compiled_methods_.Visit([this](const DexFileReference& ref ATTRIBUTE_UNUSED, in ~CompilerDriver()
1944 DexFileReference ref(dex_file, i); in FastVerify()
2864 DexFileReference(method_ref.dex_file, method_ref.dex_method_index), in AddCompiledMethod()
2877 if (!compiled_classes_.Get(DexFileReference(ref.first, ref.second), status) || in GetCompiledClass()
2903 DexFileReference dex_ref(ref.first, ref.second); in RecordClassStatus()
2929 compiled_methods_.Get(DexFileReference(ref.dex_file, ref.dex_method_index), &compiled_method); in GetCompiledMethod()
3039 compiled_classes_.Get(DexFileReference(ref.first, ref.second), &existing); in CanAssumeVerified()
/art/runtime/
Ddex_file.h1241 struct DexFileReference { struct
1242 DexFileReference(const DexFile* file, uint32_t idx) : dex_file(file), index(idx) { } in DexFileReference() argument
/art/compiler/
Dverifier_deps_test.cc102 map->Visit([](const DexFileReference& ref ATTRIBUTE_UNUSED, const VerifiedMethod* method) { in VerifyWithCompilerDriver()