Home
last modified time | relevance | path

Searched refs:java_lang_Class (Results 1 – 9 of 9) sorted by relevance

/art/runtime/
Djni_internal_test.cc1480 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1481 ASSERT_NE(java_lang_Class, nullptr); in TEST_F()
1482 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1754 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1755 ASSERT_TRUE(java_lang_Class != nullptr); in TEST_F()
1757 jobjectArray array = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1760 env_->SetObjectArrayElement(array, 0, java_lang_Class); in TEST_F()
1761 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1764 env_->SetObjectArrayElement(array, -1, java_lang_Class); in TEST_F()
1768 env_->SetObjectArrayElement(array, 1, java_lang_Class); in TEST_F()
Dclass_linker.cc430 Handle<mirror::Class> java_lang_Class(hs.NewHandle(down_cast<mirror::Class*>( in InitWithoutImage() local
432 CHECK(java_lang_Class != nullptr); in InitWithoutImage()
433 mirror::Class::SetClassClass(java_lang_Class.Get()); in InitWithoutImage()
434 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage()
436 java_lang_Class->AssertReadBarrierState(); in InitWithoutImage()
438 java_lang_Class->SetClassSize(class_class_size); in InitWithoutImage()
439 java_lang_Class->SetPrimitiveType(Primitive::kPrimNot); in InitWithoutImage()
446 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage()
447 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage()
451 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage()
[all …]
DAndroid.bp154 "native/java_lang_Class.cc",
Dclass_linker.h809 ObjPtr<mirror::Class> java_lang_Class,
/art/runtime/mirror/
Dclass.cc58 void Class::SetClassClass(ObjPtr<Class> java_lang_Class) { in SetClassClass() argument
61 << " " << java_lang_Class; in SetClassClass()
62 CHECK(java_lang_Class != nullptr); in SetClassClass()
63 java_lang_Class->SetClassFlags(kClassFlagClass); in SetClassClass()
64 java_lang_Class_ = GcRoot<Class>(java_lang_Class); in SetClassClass()
Dobject_test.cc546 Class* java_lang_Class = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Class;"); in TEST_F() local
549 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class)); in TEST_F()
550 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class)); in TEST_F()
Dclass-inl.h867 ObjPtr<Class> java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClassClass() local
869 return this == java_lang_Class; in IsClassClass()
Dobject-inl.h170 Class* java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClass() local
173 kReadBarrierOption>() == java_lang_Class; in IsClass()
Dclass.h1146 static void SetClassClass(ObjPtr<Class> java_lang_Class) REQUIRES_SHARED(Locks::mutator_lock_);