Home
last modified time | relevance | path

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

/art/test/661-oat-writer-layout/
Doat_writer_layout.cc66 OatClassType type = oat_class.GetType(); in Java_Main_hasOatCompiledCode()
68 case OatClassType::kAllCompiled: in Java_Main_hasOatCompiledCode()
69 case OatClassType::kSomeCompiled: in Java_Main_hasOatCompiledCode()
72 case OatClassType::kNoneCompiled: in Java_Main_hasOatCompiledCode()
73 case OatClassType::kOatClassMax: in Java_Main_hasOatCompiledCode()
/art/runtime/
Doat_file.h66 enum class OatClassType : uint8_t { enum
73 std::ostream& operator<<(std::ostream& os, OatClassType rhs);
251 OatClassType GetType() const { in GetType()
276 OatClassType::kNoneCompiled, in Invalid()
285 OatClassType type,
292 const OatClassType type_;
Doat_file.cc2192 /* type= */ OatClassType::kNoneCompiled, in GetOatClass()
2211 CHECK_LT(type_value, enum_cast<uint8_t>(OatClassType::kOatClassMax)) << oat_file_->GetLocation(); in GetOatClass()
2213 OatClassType type = enum_cast<OatClassType>(type_value); in GetOatClass()
2218 if (type != OatClassType::kNoneCompiled) { in GetOatClass()
2225 if (type == OatClassType::kSomeCompiled) { in GetOatClass()
2312 OatClassType type, in OatClass()
2322 DCHECK_EQ(num_methods != 0u, type != OatClassType::kNoneCompiled); in OatClass()
2323 DCHECK_EQ(bitmap_pointer != nullptr, type == OatClassType::kSomeCompiled); in OatClass()
2324 DCHECK_EQ(methods_pointer != nullptr, type != OatClassType::kNoneCompiled); in OatClass()
2339 CHECK_EQ(OatClassType::kNoneCompiled, type_); in GetOatMethodOffsets()
[all …]
/art/dex2oat/linker/
Doat_writer_test.cc480 CHECK_EQ(kCompile ? OatClassType::kAllCompiled : OatClassType::kNoneCompiled, in TEST_F()
Doat_writer.cc223 type_ = enum_cast<uint16_t>(OatClassType::kNoneCompiled); in OatClassHeader()
225 type_ = enum_cast<uint16_t>(OatClassType::kAllCompiled); in OatClassHeader()
227 type_ = enum_cast<uint16_t>(OatClassType::kSomeCompiled); in OatClassHeader()
241 static_assert(sizeof(OatClassType) <= sizeof(uint16_t), "oat_class type won't fit in 16bits");
4000 if (oat_class_type != enum_cast<uint16_t>(OatClassType::kNoneCompiled)) { in OatClass()
4003 if (oat_class_type == enum_cast<uint16_t>(OatClassType::kSomeCompiled)) { in OatClass()
4016 if (oat_class_type == enum_cast<uint16_t>(OatClassType::kSomeCompiled)) { in OatClass()
/art/oatdump/
Doatdump.cc253 OatClassType type = oat_class.GetType(); in WalkOatDexFile()
255 case OatClassType::kAllCompiled: in WalkOatDexFile()
256 case OatClassType::kSomeCompiled: in WalkOatDexFile()
260 case OatClassType::kNoneCompiled: in WalkOatDexFile()
261 case OatClassType::kOatClassMax: in WalkOatDexFile()
/art/dex2oat/
Ddex2oat_test.cc524 EXPECT_EQ(oat_class.GetType(), OatClassType::kNoneCompiled); in CheckResult()