/ark/runtime_core/runtime/ |
D | class_initializer.cpp | 47 static void ThrowNoClassDefFoundError(ManagedThread *thread, Class *klass) in ThrowNoClassDefFoundError() 54 static void ThrowEarlierInitializationException(ManagedThread *thread, Class *klass) in ThrowEarlierInitializationException() 62 bool ClassInitializer::Initialize(ClassLinker *class_linker, ManagedThread *thread, Class *klass) in Initialize() 184 static void InitializePrimitiveField(Class *klass, const Field &field) in InitializePrimitiveField() 191 static void InitializeTaggedField(Class *klass, const Field &field) in InitializeTaggedField() 197 static void InitializeStringField(Class *klass, const Field &field) in InitializeStringField() 214 bool ClassInitializer::InitializeFields(Class *klass) in InitializeFields() 289 bool IsVerifySuccInAppInstall(const Class *klass) in IsVerifySuccInAppInstall() 306 bool ClassInitializer::VerifyClass(Class *klass) in VerifyClass()
|
D | class_linker_extension.cpp | 112 boot_context_.EnumerateClasses([&klasses](Class *klass) { in Initialize() 119 for (auto *klass : klasses) { in Initialize() local 134 for (auto *klass : class_roots_) { in InitializeRoots() local 201 Class *ClassLinkerExtension::AddClass(Class *klass) in AddClass() 245 boot_context_.EnumerateClasses([this](Class *klass) { in FreeLoadedClasses() 253 ctx->EnumerateClasses([this](Class *klass) { in FreeLoadedClasses() 292 void ClassLinkerExtension::AddCreatedClass(Class *klass) in AddCreatedClass() 298 void ClassLinkerExtension::RemoveCreatedClass(Class *klass) in RemoveCreatedClass() 307 void ClassLinkerExtension::OnClassPrepared(Class *klass) in OnClassPrepared()
|
D | object_header.cpp | 30 ObjectHeader *ObjectHeader::CreateObject(panda::BaseClass *klass, bool non_movable) in CreateObject() 54 ObjectHeader *ObjectHeader::Create(BaseClass *klass) in Create() 60 ObjectHeader *ObjectHeader::CreateNonMovable(BaseClass *klass) in CreateNonMovable() 195 auto *klass = ClassAddr<Class>(); in ObjectSize() local
|
D | class_linker_context.h | 58 Class *InsertClass(Class *klass) in InsertClass() 74 void RemoveClass(Class *klass) in RemoveClass() 94 for (const auto klass : new_classes_) { variable
|
D | class_linker.cpp | 344 …void LoadMethod(Method *method, panda_file::MethodDataAccessor *method_data_accessor, Class *klass, in LoadMethod() 376 bool ClassLinker::LoadMethods(Class *klass, ClassInfo *class_info, panda_file::ClassDataAccessor *d… in LoadMethods() 419 bool ClassLinker::LoadFields(Class *klass, panda_file::ClassDataAccessor *data_accessor, in LoadFields() 479 static size_t LayoutFields(Class *klass, PandaList<Field *> *tagged_fields, PandaList<Field *> *fie… in LayoutFields() 546 bool ClassLinker::LayoutFields(Class *klass, Span<Field> fields, bool is_static, in LayoutFields() 603 bool ClassLinker::LinkMethods(Class *klass, ClassInfo *class_info, in LinkMethods() 614 bool ClassLinker::LinkFields(Class *klass, ClassLinkerErrorHandler *error_handler) in LinkFields() 717 auto *klass = ext->CreateClass(descriptor, class_info.vtable_builder->GetVTableSize(), in LoadClass() local 815 …auto *klass = LoadClass(&class_data_accessor, descriptor, base_class, res.value(), context, ext, e… in LoadClass() local 865 auto *klass = ext->CreateClass(descriptor, class_info.vtable_builder->GetVTableSize(), in BuildClass() local [all …]
|
D | imtable_builder.cpp | 63 void IMTableBuilder::UpdateClass(Class *klass) in UpdateClass() 113 void IMTableBuilder::DumpIMTable(Class *klass) in DumpIMTable()
|
D | dyn_class_linker_extension.cpp | 170 auto *klass = res->GetRuntimeClass(); in CreateClass() local 176 void DynamicClassLinkerExtension::FreeClass(Class *klass) in FreeClass()
|
D | dyn_class_linker_extension.h | 57 void InitializeClass([[maybe_unused]] Class *klass) override {} in InitializeClass()
|
/ark/runtime_core/runtime/core/ |
D | core_itable_builder.h | 34 void Resolve([[maybe_unused]] Class *klass) override {}; in Resolve() 36 void UpdateClass([[maybe_unused]] Class *klass) override {}; in UpdateClass() 38 void DumpITable([[maybe_unused]] Class *klass) override {}; in DumpITable()
|
D | core_class_linker_extension.h | 50 void InitializeClass([[maybe_unused]] Class *klass) override {} in InitializeClass()
|
D | core_class_linker_extension.cpp | 318 auto *klass = res->GetRuntimeClass(); in CreateClass() local 324 void CoreClassLinkerExtension::FreeClass(Class *klass) in FreeClass()
|
/ark/runtime_core/verification/debug/options/ |
D | method_options.h | 68 void SetMsgClass(VerifierMessagesEnum msg_num, MethodOption::MsgClass klass) in SetMsgClass() 74 void SetMsgClass(Validator validator, size_t msg_num, MethodOption::MsgClass klass) in SetMsgClass() 91 bool IsInMsgClass(VerifierMessagesEnum msg_num, MethodOption::MsgClass klass) const in IsInMsgClass() 105 …void IfInMsgClassThen(VerifierMessagesEnum msg_num, MethodOption::MsgClass klass, Handler &&handle… in IfInMsgClassThen() 113 …void IfNotInMsgClassThen(VerifierMessagesEnum msg_num, MethodOption::MsgClass klass, Handler &&han… in IfNotInMsgClassThen() 187 bool Is(MethodOption::MsgClass klass) const in Is() 192 bool IsNot(MethodOption::MsgClass klass) const in IsNot() 198 void If(MethodOption::MsgClass klass, Handler &&handler) const in If() 204 void IfNot(MethodOption::MsgClass klass, Handler &&handler) const in IfNot() 303 const auto &klass = m.second; in ImageMessages() local
|
/ark/runtime_core/runtime/include/ |
D | class_linker-inl.h | 29 Class *klass = caller.GetPandaFile()->GetPandaCache()->GetClassFromCache(id); in GetClass() local 44 inline void ClassLinker::AddClassRoot(ClassRoot root, Class *klass) in AddClassRoot()
|
D | runtime_notification.h | 67 virtual void ClassLoad([[maybe_unused]] Class *klass) {} in ClassLoad() 68 virtual void ClassPrepare([[maybe_unused]] Class *klass) {} in ClassPrepare() 75 … virtual void ObjectAlloc([[maybe_unused]] BaseClass *klass, [[maybe_unused]] ObjectHeader *object, in ObjectAlloc() 330 void ClassLoadEvent(Class *klass) in ClassLoadEvent() 341 void ClassPrepareEvent(Class *klass) in ClassPrepareEvent() 409 …void ObjectAllocEvent(BaseClass *klass, ObjectHeader *object, ManagedThread *thread, size_t size) … in ObjectAllocEvent()
|
/ark/runtime_core/runtime/tests/ |
D | array_test.cpp | 48 static size_t GetArrayObjectSize(panda::Class *klass, size_t n) in GetArrayObjectSize() 59 …auto *klass = Runtime::GetCurrent()->GetClassLinker()->GetExtension(ctx)->GetClassRoot(class_root); in TestArrayObjectSize() local
|
D | class_linker_test.cpp | 100 Class *klass = nullptr; in TEST_F() local 188 Class *klass = class_linker_ext.GetClassRoot(class_root); in TestPrimitiveClassRoot() local 231 Class *klass = class_linker_ext.GetClassRoot(class_root); in TestArrayClassRoot() local 433 … Class *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descriptor)); in TEST_F() local 537 …auto *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor… in TEST_F() local 586 …auto *klass = ext->GetClass(ClassHelper::GetArrayDescriptor(utf::CStringAsMutf8("UnknownClass"), 1… in TEST_F() local 600 …auto *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8(class_name), &descripto… in GetMethod() local 702 TestClassLinkerContext(const uint8_t *descriptor, bool need_copy_descriptor, Class *klass, in TestClassLinkerContext() 768 ctx.EnumerateClasses([&is_matched](Class *klass) { in TEST_F() 784 ctx.EnumerateClasses([&](Class *klass) { in TEST_F() [all …]
|
D | method_test.cpp | 94 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in VerifyLineNumber() local 157 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() local 218 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() local 254 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descripto… in TEST_F() local 291 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() local 375 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() local 386 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descripto… in TEST_F() local 490 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() local
|
D | class_linker_test_extension.h | 86 auto *klass = res->GetRuntimeClass(); in CreateClass() local 93 void FreeClass(Class *klass) override in FreeClass()
|
D | offsets_test.cpp | 23 #define CHECK_OFFSET(klass, member) \ argument
|
/ark/runtime_core/runtime/dprofiler/ |
D | dprofiler.cpp | 38 Runtime::GetCurrent()->GetClassLinker()->EnumerateClasses([this](Class *klass) -> bool { in VmDeath() 75 void DProfiler::AddClass(const Class *klass) in AddClass()
|
/ark/js_runtime/ecmascript/ |
D | ecma_class_linker_extension.cpp | 77 auto *klass = res->GetRuntimeClass(); in NewClass() local 97 void EcmaClassLinkerExtension::FreeClass([[maybe_unused]] Class *klass) in FreeClass()
|
/ark/runtime_core/runtime/interpreter/ |
D | runtime_interface.cpp | 23 ObjectHeader *RuntimeInterface::CreateObject(Class *klass) in CreateObject()
|
D | runtime_interface.h | 56 auto *klass = method->GetClass(); in ResolveMethod() local 101 auto *klass = field->GetClass(); in ResolveField() local 114 Class *klass = class_linker->GetClass(caller, resolved_id); in ResolveClass() local 155 static coretypes::Array *CreateArray(Class *klass, coretypes::array_size_t length) in CreateArray()
|
/ark/js_runtime/ecmascript/mem/ |
D | object_xray-inl.h | 81 void ObjectXRay::VisitObjectBody(TaggedObject *object, JSHClass *klass, const EcmaObjectRangeVisito… in VisitObjectBody()
|
/ark/runtime_core/runtime/tooling/ |
D | debugger.cpp | 381 void Debugger::ObjectAlloc(BaseClass *klass, ObjectHeader *object, ManagedThread *thread, size_t si… in ObjectAlloc() 424 void Debugger::ClassLoad(Class *klass) in ClassLoad() 437 void Debugger::ClassPrepare(Class *klass) in ClassPrepare() 577 auto *klass = field->GetClass(); in HandlePropertyAccess() local 628 auto *klass = field->GetClass(); in HandlePropertyModify() local 653 std::optional<Error> Debugger::SetPropertyAccessWatch(PtClass klass, PtProperty property) in SetPropertyAccessWatch() 668 std::optional<Error> Debugger::ClearPropertyAccessWatch(PtClass klass, PtProperty property) in ClearPropertyAccessWatch() 681 std::optional<Error> Debugger::SetPropertyModificationWatch(PtClass klass, PtProperty property) in SetPropertyModificationWatch() 695 std::optional<Error> Debugger::ClearPropertyModificationWatch(PtClass klass, PtProperty property) in ClearPropertyModificationWatch()
|