Home
last modified time | relevance | path

Searched refs:GetStatus (Results 1 – 25 of 30) sorted by relevance

12

/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc39 ClassStatus status = klass->GetStatus(); in Java_Main_nativeSkipVerification()
62 << " status:" << as_class->GetStatus() in Java_Main_nativeDumpClasses()
/art/cmdline/
Dcmdline_parser_test.cc148 << result.GetStatus() << " with: " << result.GetMessage(); in IsResultSuccessful()
157 } else if (result.GetStatus() == failure_status) { in IsResultFailure()
162 << " but got " << result.GetStatus(); in IsResultFailure()
594 EXPECT_EQ(CmdlineResult::kOutOfRange, ct.Parse("1,10000000000000").GetStatus()); in TEST_F()
595 EXPECT_EQ(CmdlineResult::kOutOfRange, ct.Parse("-10000000000000,123").GetStatus()); in TEST_F()
Dcmdline_result.h47 Status GetStatus() const { return status_; } in GetStatus() function
Dcmdline_parse_result.h116 return CmdlineParseResult<T>(other.GetStatus()); in CastError()
/art/runtime/mirror/
Dclass.h103 ClassStatus GetStatus() REQUIRES_SHARED(Locks::mutator_lock_) { in GetStatus() function
130 return GetStatus<kVerifyFlags>() == ClassStatus::kRetired; in IsRetired()
136 return GetStatus<kVerifyFlags>() == ClassStatus::kErrorUnresolved; in IsErroneousUnresolved()
142 return GetStatus<kVerifyFlags>() == ClassStatus::kErrorResolved; in IsErroneousResolved()
153 return IsErroneous(GetStatus<kVerifyFlags>()); in IsErroneous()
159 return GetStatus<kVerifyFlags>() >= ClassStatus::kIdx; in IsIdxLoaded()
165 return GetStatus<kVerifyFlags>() >= ClassStatus::kLoaded; in IsLoaded()
171 ClassStatus status = GetStatus<kVerifyFlags>(); in IsResolved()
178 return GetStatus<kVerifyFlags>() == ClassStatus::kRetryVerificationAtRuntime; in ShouldVerifyAtRuntime()
185 return GetStatus<kVerifyFlags>() == ClassStatus::kVerifiedNeedsAccessChecks; in IsVerifiedNeedsAccessChecks()
[all …]
Dclass-refvisitor-inl.h60 << GetStatus() << field->GetDeclaringClass()->PrettyClass() << " != " << PrettyClass(); in VisitNativeRoots()
Dclass-inl.h134 DCHECK(IsLoaded() || IsErroneous()) << GetStatus(); in GetDirectMethodsSlice()
147 DCHECK(IsLoaded() || IsErroneous()) << GetStatus(); in GetDeclaredMethodsSlice()
160 DCHECK(IsLoaded() || IsErroneous()) << GetStatus(); in GetDeclaredVirtualMethodsSlice()
275 << Class::PrettyClass() << " status=" << GetStatus(); in GetVirtualMethod()
641 DCHECK(IsLoaded() || IsErroneous()) << GetStatus(); in GetIFieldsPtr()
695 DCHECK(IsLoaded() || IsErroneous()) << GetStatus(); in GetSFieldsPtr()
874 CHECK(IsInitializing()) << PrettyClass() << " is not initializing: " << GetStatus(); in AssertInitializedOrInitializingInThread()
Ddex_cache.cc219 DCHECK(resolved->IsResolved()) << resolved->GetStatus(); in SetResolvedType()
Dclass.cc206 ClassStatus old_status = GetStatus(); in SetStatusLocked()
212 ClassStatus old_status = h_this->GetStatus(); in SetStatus()
284 DCHECK(!IsErroneous(GetStatus<kVerifyNone>())); in SetStatusForPrimitiveOrArray()
285 DCHECK_GT(new_status, GetStatus<kVerifyNone>()); in SetStatusForPrimitiveOrArray()
379 os << ' ' << GetStatus(); in DumpClass()
2007 << " status= " << GetStatus<kVerifyFlags>() in GetAccessFlagsDCheck()
/art/dex2oat/driver/
Dcompiler_driver.cc757 << " " << cls->GetStatus(); in EnsureVerifiedOrVerifyAtRuntime()
1945 << klass->PrettyDescriptor() << ": state=" << klass->GetStatus(); in Visit()
1948 ClassStatus status = klass->GetStatus(); in Visit()
1967 << " failed to resolve/is erroneous: state= " << klass->GetStatus(); in Visit()
2046 if (klass->GetStatus() < ClassStatus::kVerified) { in Visit()
2058 manager_->GetCompiler()->RecordClassStatus(ref, klass->GetStatus()); in Visit()
2111 manager_->GetCompiler()->stats_->AddClassStatus(klass->GetStatus()); in Visit()
2146 ClassStatus old_status = klass->GetStatus(); in TryInitializeClass()
2153 old_status = klass->GetStatus(); in TryInitializeClass()
2177 old_status = klass->GetStatus(); in TryInitializeClass()
[all …]
/art/runtime/
Daot_class_linker.cc81 if (klass->GetSuperClass()->GetStatus() == ClassStatus::kInitializing) { in InitializeClass()
Dclass_table.cc59 CHECK_EQ(klass->GetStatus(), ClassStatus::kResolving) << descriptor; in UpdateClass()
Dparsed_options.cc662 if (parse_result.GetStatus() == CmdlineResult::kUsage) { in DoParse()
665 } else if (parse_result.GetStatus() == CmdlineResult::kUnknown && !ignore_unrecognized) { in DoParse()
Doat_file.h250 ClassStatus GetStatus() const { in GetStatus() function
Dclass_linker.cc254 DCHECK_EQ(klass->GetStatus(), ClassStatus::kInitialized); in AddClass()
510 CHECK(c->IsErroneous()) << c->PrettyClass() << " " << c->GetStatus(); in ThrowEarlierClassFailure()
3514 CHECK(h_new_class->IsResolved()) << descriptor << " " << h_new_class->GetStatus(); in DefineClass()
3701 CHECK_EQ(ClassStatus::kNotReady, klass->GetStatus()); in SetupClass()
4726 ClassStatus old_status = klass->GetStatus(); in VerifyClass()
4732 CHECK(klass->IsErroneous() || (klass->GetStatus() >= old_status)) in VerifyClass()
4735 << " to " << klass->GetStatus(); in VerifyClass()
4736 old_status = klass->GetStatus(); in VerifyClass()
4783 DCHECK_EQ(klass->GetStatus(), ClassStatus::kResolved); in VerifyClass()
4909 ClassReference(&klass->GetDexFile(), klass->GetDexClassDefIndex()), klass->GetStatus()); in VerifyClass()
[all …]
Dtransaction_test.cc74 ClassStatus old_status = h_klass->GetStatus(); in testTransactionAbort()
91 ASSERT_EQ(old_status, h_klass->GetStatus()); in testTransactionAbort()
Dart_field-inl.h55 DCHECK(result->IsIdxLoaded() || result->IsErroneous()) << result->GetStatus(); in GetDeclaringClass()
Dclass_linker_test.cc96 EXPECT_EQ(ClassStatus::kVisiblyInitialized, primitive->GetStatus()); in AssertPrimitiveClass()
142 EXPECT_EQ(ClassStatus::kVisiblyInitialized, JavaLangObject->GetStatus()); in AssertObjectClass()
208 EXPECT_EQ(ClassStatus::kVisiblyInitialized, array->GetStatus()); in AssertArrayClass()
958 EXPECT_EQ(ClassStatus::kResolved, MyClass->GetStatus()); in TEST_F()
Doat_file_manager.cc736 << h_class->PrettyDescriptor() << ": state=" << h_class->GetStatus(); in Run()
/art/dex2oat/
Dverifier_deps_test.cc228 ASSERT_EQ(cls->GetStatus(), ClassStatus::kVerifiedNeedsAccessChecks); in VerifyClassStatus()
230 ASSERT_LT(cls->GetStatus(), ClassStatus::kVerified); in VerifyClassStatus()
/art/imgdiag/
Dimgdiag.cc575 os_ << " class_status (remote): " << remote_klass->GetStatus() << ", "; in DumpDirtyEntries()
576 os_ << " class_status (local): " << local_klass->GetStatus(); in DumpDirtyEntries()
954 os_ << " class_status (local): " << declaring_class->GetStatus(); in DumpOneArtMethod()
957 os_ << ", class_status (remote): " << remote_declaring_class->GetStatus(); in DumpOneArtMethod()
/art/openjdkjvmti/
Dti_redefine.cc2126 << " status=" << old_class->GetStatus(); in AllocateNewClassObject()
2135 } else if (old_class->GetStatus() > linked_class->GetStatus()) { in AllocateNewClassObject()
2137 art::mirror::Class::SetStatus(linked_class, old_class->GetStatus(), driver_->self_); in AllocateNewClassObject()
2791 if (old_class->GetStatus() > new_class->GetStatus()) { in UpdateClassStructurally()
2794 new_class->SetStatusLocked(old_class->GetStatus()); in UpdateClassStructurally()
/art/test/common/
Druntime_state.cc255 CHECK_EQ(h_klass->GetStatus(), ClassStatus::kInitializing); in ForceJitCompiled()
/art/dex2oat/linker/
Doat_writer_test.cc482 CHECK_EQ(ClassStatus::kNotReady, oat_class.GetStatus()) << descriptor; in TEST_F()
/art/runtime/jni/
Djava_vm_ext.cc1166 << c->GetStatus() << " " << m->PrettyMethod(); in FindCodeForNativeMethod()

12