Home
last modified time | relevance | path

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

/art/runtime/
Djni_internal_test.cc1387 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1388 ASSERT_NE(java_lang_Class, nullptr); in TEST_F()
1389 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1645 jclass java_lang_Class = env_->FindClass("java/lang/Class"); in TEST_F() local
1646 ASSERT_TRUE(java_lang_Class != nullptr); in TEST_F()
1648 jobjectArray array = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F()
1651 env_->SetObjectArrayElement(array, 0, java_lang_Class); in TEST_F()
1652 EXPECT_TRUE(env_->IsSameObject(env_->GetObjectArrayElement(array, 0), java_lang_Class)); in TEST_F()
1655 env_->SetObjectArrayElement(array, -1, java_lang_Class); in TEST_F()
1659 env_->SetObjectArrayElement(array, 1, java_lang_Class); in TEST_F()
Dclass_linker.cc374 Handle<mirror::Class> java_lang_Class(hs.NewHandle(down_cast<mirror::Class*>( in InitWithoutImage() local
376 CHECK(java_lang_Class.Get() != nullptr); in InitWithoutImage()
377 mirror::Class::SetClassClass(java_lang_Class.Get()); in InitWithoutImage()
378 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage()
380 java_lang_Class->AssertReadBarrierPointer(); in InitWithoutImage()
382 java_lang_Class->SetClassSize(class_class_size); in InitWithoutImage()
383 java_lang_Class->SetPrimitiveType(Primitive::kPrimNot); in InitWithoutImage()
390 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage()
391 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage()
395 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage()
[all …]
DAndroid.mk140 native/java_lang_Class.cc \
Dclass_linker.h702 mirror::Class* AllocClass(Thread* self, mirror::Class* java_lang_Class, uint32_t class_size)
/art/runtime/mirror/
Dclass.cc42 void Class::SetClassClass(Class* java_lang_Class) { in SetClassClass() argument
45 << " " << java_lang_Class; in SetClassClass()
46 CHECK(java_lang_Class != nullptr); in SetClassClass()
47 java_lang_Class->SetClassFlags(mirror::kClassFlagClass); in SetClassClass()
48 java_lang_Class_ = GcRoot<Class>(java_lang_Class); in SetClassClass()
Dobject_test.cc554 Class* java_lang_Class = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Class;"); in TEST_F() local
557 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class)); in TEST_F()
558 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class)); in TEST_F()
Dclass-inl.h792 Class* java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClassClass() local
794 return this == java_lang_Class; in IsClassClass()
Dobject-inl.h246 Class* java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClass() local
249 kReadBarrierOption>() == java_lang_Class; in IsClass()
Dclass.h1152 static void SetClassClass(Class* java_lang_Class) SHARED_REQUIRES(Locks::mutator_lock_);