/arkcompiler/runtime_core/static_core/runtime/ |
H A D | class_helper.cpp | 27 const uint8_t *ClassHelper::GetDescriptor(const uint8_t *name, PandaString *storage) in GetDescriptor() 33 const uint8_t *ClassHelper::GetArrayDescriptor(const uint8_t *componentName, size_t rank, PandaString *storage) in GetArrayDescriptor() 45 char ClassHelper::GetPrimitiveTypeDescriptorChar(panda_file::Type::TypeId typeId) in GetPrimitiveTypeDescriptorChar() 52 const uint8_t *ClassHelper::GetPrimitiveTypeDescriptorStr(panda_file::Type::TypeId typeId) in GetPrimitiveTypeDescriptorStr() 63 const char *ClassHelper::GetPrimitiveTypeStr(panda_file::Type::TypeId typeId) in GetPrimitiveTypeStr() 100 const uint8_t *ClassHelper::GetPrimitiveDescriptor(panda_file::Type type, PandaString *storage) in GetPrimitiveDescriptor() 106 const uint8_t *ClassHelper::GetPrimitiveArrayDescriptor(panda_file::Type type, size_t rank, PandaString *storage) in GetPrimitiveArrayDescriptor() 115 const uint8_t *ClassHelper::GetTypeDescriptor(const PandaString &name, PandaString *storage) in GetTypeDescriptor()
|
H A D | class.cpp | 116 return ClassHelper::GetName(descriptor_); in GetName()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_vtable_builder.cpp | 32 while (ClassHelper::IsArrayDescriptor(desc1)) { in IsInSamePackage() 33 desc1 = ClassHelper::GetComponentDescriptor(desc1); in IsInSamePackage() 36 while (ClassHelper::IsArrayDescriptor(desc2)) { in IsInSamePackage() 37 desc2 = ClassHelper::GetComponentDescriptor(desc2); in IsInSamePackage() 176 if (ClassHelper::IsArrayDescriptor(super.GetDescriptor())) { in RefIsAssignableToImpl() 177 if (!ClassHelper::IsArrayDescriptor(sub.GetDescriptor())) { in RefIsAssignableToImpl() 180 RefTypeLink subComp(ClassHelper::GetComponentDescriptor(sub.GetDescriptor())); in RefIsAssignableToImpl() 181 RefTypeLink superComp(ClassHelper::GetComponentDescriptor(super.GetDescriptor())); in RefIsAssignableToImpl() 185 if (ClassHelper::IsArrayDescriptor(sub.GetDescriptor())) { in RefIsAssignableToImpl()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | class_linker_test.cpp | 109 klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), descriptor.get())); in TEST_F() 114 EXPECT_EQ(klass, ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor))); in TEST_F() 177 ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 401 size = ClassHelper::OBJECT_POINTER_SIZE; in GetSize() 428 return {{"sf_ref", ClassHelper::OBJECT_POINTER_SIZE, 0}, in GetFieldLayoutSortedSfields() 445 return {{"if_ref", ClassHelper::OBJECT_POINTER_SIZE, 0}, in GetFieldLayoutSortedIfields() 517 Class *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descriptor)); in TEST_F() 525 if (!IsAligned<sizeof(double)>(offset + ClassHelper::OBJECT_POINTER_SIZE)) { in TEST_F() 535 if (!IsAligned<sizeof(double)>(offset + ClassHelper::OBJECT_POINTER_SIZE)) { in TEST_F() 597 auto *klass = ext->GetClass(ClassHelper in TEST_F() [all...] |
H A D | exception_test.cpp | 160 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 245 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 333 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 422 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 512 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 602 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 688 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 774 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 862 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("ProvokeAbstractMethodException"), &descriptor)); in TEST_F() 950 ->GetClass(ClassHelper in TEST_F() [all...] |
H A D | method_test.cpp | 100 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in VerifyLineNumber() 171 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 236 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descriptor)); in TEST_F() 273 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 374 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 418 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 429 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descriptor)); in TEST_F() 538 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 586 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descriptor)); in TEST_F()
|
H A D | interpreter_test_resolve_field.cpp | 102 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R1"), &descriptor)); in TEST_F() 117 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descriptor)); in TEST_F()
|
H A D | interpreter_test_resolve_ctor_class.cpp | 100 Class *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descriptor)); in TEST_F()
|
H A D | interpreter_test_switch.cpp | 129 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F()
|
H A D | osr_code_test.cpp | 88 return extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in GetClass()
|
H A D | compiler_thread_pool.cpp | 92 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in GetClass()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | object_header.h | 80 static_assert(sizeof(ClassHelper::ClassWordSize) == sizeof(ObjectPointerType)); in SetClass() 83 reinterpret_cast<std::atomic<ClassHelper::ClassWordSize> *>(&classWord_) in SetClass() 84 ->store(static_cast<ClassHelper::ClassWordSize>(ToObjPtrType(klass)), std::memory_order_release); in SetClass() 91 auto ptr = const_cast<ClassHelper::ClassWordSize *>(&classWord_); in ClassAddr() 95 reinterpret_cast<std::atomic<ClassHelper::ClassWordSize> *>(ptr)->load(std::memory_order_acquire)); in ClassAddr() 101 return reinterpret_cast<T *>(*const_cast<ClassHelper::ClassWordSize *>(&classWord_)); in NotAtomicClassAddr() 322 ClassHelper::ClassWordSize classWord_;
|
H A D | field.h | 41 : classWord_(static_cast<ClassHelper::ClassWordSize>(ToObjPtrType(klass))), fileId_(fileId) in Field() 53 classWord_ = static_cast<ClassHelper::ClassWordSize>(ToObjPtrType(cls)); in SetClass() 162 ClassHelper::ClassWordSize classWord_;
|
H A D | class_helper.h | 35 class ClassHelper : private ClassConfig<MemoryModelConfig> { class 93 Str ClassHelper::GetName(const uint8_t *descriptor) in GetName() 145 Str ClassHelper::GetNameUndecorated(const uint8_t *descriptor) in GetNameUndecorated()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/static/ |
H A D | gc_marker_static-inl.h | 36 for (uint32_t i = 0; i < refVolatileNum; i++, offset += ClassHelper::OBJECT_POINTER_SIZE) { in HandleObject() 43 for (uint32_t i = refVolatileNum; i < refNum; i++, offset += ClassHelper::OBJECT_POINTER_SIZE) { in HandleObject() 61 for (uint32_t i = 0; i < refVolatileNum; i++, offset += ClassHelper::OBJECT_POINTER_SIZE) { in HandleClass() 67 for (uint32_t i = refVolatileNum; i < refNum; i++, offset += ClassHelper::OBJECT_POINTER_SIZE) { in HandleClass()
|
/arkcompiler/runtime_core/static_core/verification/config/context/ |
H A D | context.cpp | 31 auto name {ClassHelper::GetName<PandaString>(method.GetClassName().data)}; in AddMethod()
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | object_helpers-inl.h | 49 i++, offset += ClassHelper::OBJECT_POINTER_SIZE, objOffset += ClassHelper::OBJECT_POINTER_SIZE) { in TraverseClass() 80 for (uint32_t i = 0; i < refNum; i++, offset += ClassHelper::OBJECT_POINTER_SIZE) { in TraverseObject()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/ |
H A D | memory_allocation_dumper.h | 66 klassName = ClassHelper::GetName<PandaString>(static_cast<Class *>(klass)->GetDescriptor());
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 384 JSHandle<JSFunction> ClassHelper::DefineClassFromExtractor(JSThread *thread, const JSHandle<JSTaggedValue> &base, in DefineClassFromExtractor() 429 ClassHelper::HandleElementsProperties(thread, prototype, lexenv, nonStaticElements); in DefineClassFromExtractor() 454 ClassHelper::HandleElementsProperties(thread, JSHandle<JSObject>(constructor), lexenv, staticElements); in DefineClassFromExtractor() 470 JSHandle<JSFunction> ClassHelper::DefineClassWithIHClass(JSThread *thread, const JSHandle<JSTaggedValue> &base, in DefineClassWithIHClass() 535 ClassHelper::HandleElementsProperties(thread, prototype, lexenv, nonStaticElements); in DefineClassWithIHClass() 567 ClassHelper::HandleElementsProperties(thread, JSHandle<JSObject>(constructor), lexenv, staticElements); in DefineClassWithIHClass() 584 JSHandle<JSFunction> ClassHelper::CreateJSFunctionFromTemplate(JSThread *thread, in CreateJSFunctionFromTemplate() 597 JSHandle<NameDictionary> ClassHelper::BuildDictionaryProperties(JSThread *thread, const JSHandle<JSObject> &object, in BuildDictionaryProperties() 648 bool ClassHelper::MatchFieldType(SharedFieldType fieldType, JSTaggedValue value) in MatchFieldType() 684 CString ClassHelper [all...] |
H A D | class_info_extractor.h | 111 class ClassHelper { class 140 class SendableClassDefiner : public ClassHelper {
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | unit_test.cpp | 117 auto klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage)); in BuildGraph()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | bytecodeopt_peepholes_runtime_test.cpp | 116 auto *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | unit_test.cpp | 117 auto klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage)); in BuildGraph()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
H A D | js_convert_base.h | 63 static constexpr size_t TYPE_SIZE = IS_REFTYPE ? ClassHelper::OBJECT_POINTER_SIZE : sizeof(cpptype);
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_Class.cpp | 108 ClassHelper::GetDescriptor(utf::CStringAsMutf8(name.c_str()), &descriptor); in StdCoreRuntimeLinkerLoadClassInternal()
|