Searched refs:OatClassType (Results 1 – 7 of 7) sorted by relevance
/aosp12/art/test/661-oat-writer-layout/ |
H A D | oat_writer_layout.cc | 66 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()
|
/aosp12/art/runtime/ |
H A D | oat_file.h | 66 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_;
|
H A D | oat_file.cc | 2192 /* type= */ OatClassType::kNoneCompiled, 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() 2345 CHECK_EQ(OatClassType::kAllCompiled, type_); in GetOatMethodOffsets() [all …]
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer_test.cc | 480 CHECK_EQ(kCompile ? OatClassType::kAllCompiled : OatClassType::kNoneCompiled, in TEST_F()
|
H A D | oat_writer.cc | 223 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()
|
/aosp12/art/oatdump/ |
H A D | oatdump.cc | 253 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()
|
/aosp12/art/dex2oat/ |
H A D | dex2oat_test.cc | 524 EXPECT_EQ(oat_class.GetType(), OatClassType::kNoneCompiled); in CheckResult()
|