Home
last modified time | relevance | path

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

/art/runtime/
Djni_internal_test.cc1413 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1414 ASSERT_NE(java_lang_Class, nullptr); in TEST_F()
1415 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1686 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1687 ASSERT_TRUE(java_lang_Class != nullptr); in TEST_F()
1689 jobjectArray array = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1692 env_->SetObjectArrayElement(array, 0, java_lang_Class); in TEST_F()
1693 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1696 env_->SetObjectArrayElement(array, -1, java_lang_Class); in TEST_F()
1700 env_->SetObjectArrayElement(array, 1, java_lang_Class); in TEST_F()
Dclass_linker.cc419 Handle<mirror::Class> java_lang_Class(hs.NewHandle(down_cast<mirror::Class*>( in InitWithoutImage() local
421 CHECK(java_lang_Class != nullptr); in InitWithoutImage()
422 mirror::Class::SetClassClass(java_lang_Class.Get()); in InitWithoutImage()
423 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage()
425 java_lang_Class->AssertReadBarrierState(); in InitWithoutImage()
427 java_lang_Class->SetClassSize(class_class_size); in InitWithoutImage()
428 java_lang_Class->SetPrimitiveType(Primitive::kPrimNot); in InitWithoutImage()
435 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage()
436 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage()
440 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage()
[all …]
DAndroid.bp162 "native/java_lang_Class.cc",
Dclass_linker.h765 ObjPtr<mirror::Class> java_lang_Class,
/art/runtime/mirror/
Dclass.cc50 void Class::SetClassClass(ObjPtr<Class> java_lang_Class) { in SetClassClass() argument
53 << " " << java_lang_Class; in SetClassClass()
54 CHECK(java_lang_Class != nullptr); in SetClassClass()
55 java_lang_Class->SetClassFlags(kClassFlagClass); in SetClassClass()
56 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.h817 ObjPtr<Class> java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClassClass() local
819 return this == java_lang_Class; in IsClassClass()
Dobject-inl.h168 Class* java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClass() local
171 kReadBarrierOption>() == java_lang_Class; in IsClass()
Dclass.h1187 static void SetClassClass(ObjPtr<Class> java_lang_Class) REQUIRES_SHARED(Locks::mutator_lock_);