Home
last modified time | relevance | path

Searched refs:ClassHelper (Results 1 - 25 of 54) sorted by relevance

123

/arkcompiler/runtime_core/static_core/runtime/
H A Dclass_helper.cpp27 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 Dclass.cpp116 return ClassHelper::GetName(descriptor_); in GetName()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_vtable_builder.cpp32 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 Dclass_linker_test.cpp109 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 Dexception_test.cpp160 ->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 Dmethod_test.cpp100 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 Dinterpreter_test_resolve_field.cpp102 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 Dinterpreter_test_resolve_ctor_class.cpp100 Class *klass = ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descriptor)); in TEST_F()
H A Dinterpreter_test_switch.cpp129 Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F()
H A Dosr_code_test.cpp88 return extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in GetClass()
H A Dcompiler_thread_pool.cpp92 ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in GetClass()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dobject_header.h80 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 Dfield.h41 : 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 Dclass_helper.h35 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 Dgc_marker_static-inl.h36 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 Dcontext.cpp31 auto name {ClassHelper::GetName<PandaString>(method.GetClassName().data)}; in AddMethod()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dobject_helpers-inl.h49 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 Dmemory_allocation_dumper.h66 klassName = ClassHelper::GetName<PandaString>(static_cast<Class *>(klass)->GetDescriptor());
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.cpp384 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 Dclass_info_extractor.h111 class ClassHelper { class
140 class SendableClassDefiner : public ClassHelper {
/arkcompiler/runtime_core/compiler/tests/
H A Dunit_test.cpp117 auto klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage)); in BuildGraph()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
H A Dbytecodeopt_peepholes_runtime_test.cpp116 auto *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dunit_test.cpp117 auto klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage)); in BuildGraph()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_convert_base.h63 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 Dstd_core_Class.cpp108 ClassHelper::GetDescriptor(utf::CStringAsMutf8(name.c_str()), &descriptor); in StdCoreRuntimeLinkerLoadClassInternal()

Completed in 14 milliseconds

123