Home
last modified time | relevance | path

Searched refs:EnsureInitialized (Results 1 – 25 of 35) sorted by relevance

12

/art/runtime/
Dsubtype_check_test.cc228 SubtypeCheckInfo::State EnsureInitialized() in EnsureInitialized() function
231 return SC::EnsureInitialized(klass_); in EnsureInitialized()
361 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
371 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
383 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child_tree.EnsureInitialized()); in TEST_F()
396 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
421 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
432 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child_tree.EnsureInitialized()) << *child; in TEST_F()
450 EXPECT_EQ(SubtypeCheckInfo::kInitialized, child2_tree.EnsureInitialized()) << *child2; in TEST_F()
471 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
[all …]
Dtransaction_test.cc53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
59 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
79 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
178 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
274 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
374 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
515 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
550 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
573 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
Dsubtype_check.h237 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized() function
Druntime.cc801 CHECK(cl->EnsureInitialized(soa.Self(), class_loader_class, true, true)); in CreateSystemClassLoader()
820 CHECK(cl->EnsureInitialized(soa.Self(), thread_class, true, true)); in CreateSystemClassLoader()
860 class_linker_->EnsureInitialized(self, klass, true, true); in RunRootClinits()
896 class_linker_->EnsureInitialized(soa.Self(), class_class, true, true); in Start()
897 class_linker_->EnsureInitialized(soa.Self(), string_class, true, true); in Start()
900 class_linker_->EnsureInitialized(soa.Self(), field_class, true, true); in Start()
Dreference_table_test.cc58 CHECK(class_linker->EnsureInitialized(self, h_ref_class, true, true)); in CreateWeakReference()
Dclass_linker_test.cc1054 bool initialized = class_linker_->EnsureInitialized(soa.Self(), in TEST_F()
1175 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1479 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1494 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1565 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
Druntime_callbacks_test.cc325 ASSERT_TRUE(class_linker_->EnsureInitialized(Thread::Current(), h_Y, true, true)); in TEST_F()
Dreflection_test.cc124 bool initialized = class_linker_->EnsureInitialized(self, h_class, true, true); in ReflectionTestMakeInterpreted()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc97 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), c, true, true)) { in Constructor_newInstance0()
Djava_lang_Class.cc218 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
966 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in Class_newInstance()
Djava_lang_reflect_Field.cc151 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in CheckReceiver()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc947 ASSERT_TRUE(class_linker->EnsureInitialized(self, floating_decimal, true, true)); in TEST_F()
1000 ASSERT_TRUE(class_linker->EnsureInitialized(self, double_class, true, true)); in TEST_F()
1041 ASSERT_TRUE(class_linker->EnsureInitialized(self, thread_class, true, true)); in TEST_F()
1068 ASSERT_TRUE(class_linker->EnsureInitialized(self, log_manager_class, true, true)); in TEST_F()
1083 CHECK(class_linker->EnsureInitialized(self, h_class, true, true)); in RunTest()
1155 CHECK(class_linker->EnsureInitialized(self, boot_cp_class, true, true)); in GetBootClassLoader()
1281 ASSERT_TRUE(class_linker->EnsureInitialized(self, list_class, true, true)); in TEST_F()
1314 ASSERT_TRUE(class_linker->EnsureInitialized(self, throw_class, true, true)); in TEST_F()
Dinterpreter.cc487 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in EnterInterpreterFromInvoke()
669 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in ArtInterpreterToInterpreterBridge()
Dunstarted_runtime.cc144 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in UnstartedRuntimeFindClass()
312 if (cl->EnsureInitialized(self, h_klass, true, true)) { in UnstartedClassNewInstance()
586 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in GetResourceAsStream()
664 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, c, true, true)) { in UnstartedConstructorNewInstance0()
930 if (!class_linker->EnsureInitialized(self, h_props_class, true, true)) { in GetSystemProperty()
Dinterpreter_common.h637 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized( in ResolveString()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc81 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in artFindNativeMethodRunnable()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h136 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in CheckClassInitializedForObjectAlloc()
389 if (LIKELY(class_linker->EnsureInitialized(self, hs.NewHandle(fields_class), true, true))) { in FindFieldFromCode()
730 if (!class_linker->EnsureInitialized(self, h_class, true, true)) { in ResolveVerifyAndClinit()
/art/runtime/mirror/
Ddex_cache_test.cc130 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
/art/compiler/
Dexception_test.cc64 class_linker_->EnsureInitialized(soa.Self(), klass, true, true); in SetUp()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc155 bool success = class_linker->EnsureInitialized( in artInitializeStaticStorageFromCode()
Dquick_trampoline_entrypoints.cc698 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickToInterpreterBridge()
1380 success = linker->EnsureInitialized(soa.Self(), h_called_class, true, true); in artQuickResolutionTrampoline()
2115 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) { in artQuickGenericJniTrampoline()
/art/test/common/
Druntime_state.cc244 if (!class_linker->EnsureInitialized(self, h_klass, true, true)) { in ForceJitCompiled()
/art/runtime/jni/
Djni_internal.cc386 static ObjPtr<mirror::Class> EnsureInitialized(Thread* self, ObjPtr<mirror::Class> klass) in EnsureInitialized() function
393 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_klass, true, true)) { in EnsureInitialized()
404 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)); in FindMethodJNI()
446 hs.NewHandle(EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)))); in FindFieldJNI()
841 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(java_class)); in AllocObject()
867 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectV()
894 ObjPtr<mirror::Class> c = EnsureInitialized(soa.Self(), in NewObjectA()
/art/dex2oat/driver/
Dcompiler_driver.cc2164 class_linker->EnsureInitialized(self, klass, false, false); in TryInitializeClass()
2185 class_linker->EnsureInitialized(self, klass, false, true); in TryInitializeClass()
2243 class_linker->EnsureInitialized(self, exception_class, true, true); in TryInitializeClass()
2249 bool success = class_linker->EnsureInitialized(self, klass, true, true); in TryInitializeClass()
/art/runtime/interpreter/mterp/
Dnterp.cc485 if (UNLIKELY(!class_linker->EnsureInitialized( in NterpGetStaticField()

12