/arkcompiler/runtime_core/static_core/runtime/ |
H A D | field.cpp | 38 auto *ext = classLinker->GetExtension(ctx); in ResolveTypeClass() local 39 ASSERT(ext != nullptr); in ResolveTypeClass() 43 return ext->GetClassRoot(ClassRoot::U1); in ResolveTypeClass() 45 return ext->GetClassRoot(ClassRoot::I8); in ResolveTypeClass() 47 return ext->GetClassRoot(ClassRoot::U8); in ResolveTypeClass() 49 return ext->GetClassRoot(ClassRoot::I16); in ResolveTypeClass() 51 return ext->GetClassRoot(ClassRoot::U16); in ResolveTypeClass() 53 return ext->GetClassRoot(ClassRoot::I32); in ResolveTypeClass() 55 return ext->GetClassRoot(ClassRoot::U32); in ResolveTypeClass() 57 return ext in ResolveTypeClass() [all...] |
H A D | class_linker.cpp | 154 for (auto &ext : extensions) { in ClassLinker() 155 extensions_[ark::panda_file::GetLangArrIndex(ext->GetLanguage())] = std::move(ext); in ClassLinker() 177 for (auto &ext : extensions_) { in Initialize() 178 if (ext == nullptr) { in Initialize() 182 if (!ext->Initialize(this, compressedStringEnabled)) { in Initialize() 194 for (auto &ext : extensions_) { in InitializeRoots() 195 if (ext == nullptr) { in InitializeRoots() 199 if (!ext->InitializeRoots(thread)) { in InitializeRoots() 384 const LanguageContext &ctx, const ClassLinkerExtension *ext) in LoadMethod() 383 LoadMethod(Method *method, panda_file::MethodDataAccessor *methodDataAccessor, Class *klass, const LanguageContext &ctx, const ClassLinkerExtension *ext) LoadMethod() argument 475 auto *ext = GetExtension(ctx); LoadMethods() local 781 auto *ext = GetExtension(ctx); LoadBaseClass() local 862 LoadClass(panda_file::ClassDataAccessor *classDataAccessor, const uint8_t *descriptor, Class *baseClass, Span<Class *> interfaces, ClassLinkerContext *context, ClassLinkerExtension *ext, ClassLinkerErrorHandler *errorHandler) LoadClass() argument 1001 auto *ext = GetExtension(ctx); LoadClass() local 1062 LinkEntitiesAndInitClass(Class *klass, ClassInfo *classInfo, ClassLinkerExtension *ext, const uint8_t *descriptor) LinkEntitiesAndInitClass() argument 1095 auto *ext = GetExtension(baseClass->GetSourceLang()); BuildClass() local 1155 CreateArrayClass(ClassLinkerExtension *ext, const uint8_t *descriptor, bool needCopyDescriptor, Class *componentClass) CreateArrayClass() argument 1196 auto *ext = GetExtension(componentClass->GetSourceLang()); LoadArrayClass() local 1397 auto *ext = GetExtension(caller.GetClass()->GetSourceLang()); GetMethod() local 1595 auto *ext = GetExtension(caller.GetClass()->GetSourceLang()); GetField() local 1609 auto ext = GetExtension(klass->GetSourceLang()); RemoveCreatedClassInExtension() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_stubs.cpp | 26 static std::optional<T> GetBoxedNumericValue(EtsClassLinkerExtension *ext, EtsObject *obj) in GetBoxedNumericValue() argument 35 if (cls == ext->GetBoxDoubleClass()) { in GetBoxedNumericValue() 38 if (cls == ext->GetBoxIntClass()) { in GetBoxedNumericValue() 42 if (cls == ext->GetBoxByteClass()) { in GetBoxedNumericValue() 45 if (cls == ext->GetBoxShortClass()) { in GetBoxedNumericValue() 48 if (cls == ext->GetBoxLongClass()) { in GetBoxedNumericValue() 51 if (cls == ext->GetBoxFloatClass()) { in GetBoxedNumericValue() 101 auto ext = coro->GetPandaVM()->GetClassLinker()->GetEtsClassLinkerExtension(); in EtsValueTypedEquals() local 107 if (cls1 == ext->GetBoxBooleanClass()) { in EtsValueTypedEquals() 108 return cls2 == ext in EtsValueTypedEquals() 129 auto ext = coro->GetPandaVM()->GetClassLinker()->GetEtsClassLinkerExtension(); EtsGetTypeof() local [all...] |
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | class_linker_test.cpp | 99 auto *ext = classLinker->GetExtension(ctx); in TEST_F() local 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() 115 EXPECT_EQ(klass->GetBase(), ext->GetClassRoot(ClassRoot::OBJECT)); in TEST_F() 176 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 177 ext->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in TEST_F() 213 static void TestPrimitiveClassRoots(const ClassLinkerExtension &ext) in TestPrimitiveClassRoots() argument 215 TestPrimitiveClassRoot(ext, ClassRoot::U1, panda_file::Type::TypeId::U1); in TestPrimitiveClassRoots() 216 TestPrimitiveClassRoot(ext, ClassRoot::I8, panda_file::Type::TypeId::I8); in TestPrimitiveClassRoots() 217 TestPrimitiveClassRoot(ext, ClassRoo in TestPrimitiveClassRoots() 275 TestArrayClassRoots(const ClassLinkerExtension &ext) TestArrayClassRoots() argument 296 auto *ext = classLinker->GetExtension(ctx); TEST_F() local 516 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 596 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 645 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 661 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); GetMethod() local 705 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 765 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 805 auto *ext = classLinker->GetExtension(ctx); TEST_F() local 914 auto *ext = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); TEST_F() local 951 CheckAccesses(ClassLinkerExtension *ext) CheckAccesses() argument 1027 auto *ext = classLinker->GetExtension(ctx); TEST_F() local 1048 auto *ext = classLinker->GetExtension(ctx); TEST_F() local 1081 auto *ext = classLinker->GetExtension(ctx); TEST_F() local 1128 auto *ext = classLinker->GetExtension(ctx); TEST_F() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_box_primitive-inl.h | 26 auto *ext = coro->GetPandaVM()->GetClassLinker()->GetEtsClassLinkerExtension(); in Create() local 29 boxClass = ext->GetBoxBooleanClass(); in Create() 31 boxClass = ext->GetBoxByteClass(); in Create() 33 boxClass = ext->GetBoxCharClass(); in Create() 35 boxClass = ext->GetBoxShortClass(); in Create() 37 boxClass = ext->GetBoxIntClass(); in Create() 39 boxClass = ext->GetBoxLongClass(); in Create() 41 boxClass = ext->GetBoxFloatClass(); in Create() 43 boxClass = ext->GetBoxDoubleClass(); in Create()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | class_linker-inl.h | 37 auto *ext = GetExtension(ctx); in GetClass() local 38 ASSERT(ext != nullptr); in GetClass() 39 klass = ext->GetClass(*caller.GetPandaFile(), id, caller.GetClass()->GetLoadContext(), in GetClass() 40 (errorHandler == nullptr) ? ext->GetErrorHandler() : errorHandler); in GetClass() 50 auto *ext = GetExtension(ctx); in AddClassRoot() local 51 ASSERT(ext != nullptr); in AddClassRoot() 53 ext->SetClassRoot(root, klass); in AddClassRoot()
|
H A D | class_linker.h | 149 for (auto &ext : extensions_) { in EnumerateClasses() 150 if (ext == nullptr) { in EnumerateClasses() 154 if (!ext->EnumerateClasses(cb, flags)) { in EnumerateClasses() 163 for (auto &ext : extensions_) { in EnumerateContexts() 164 if (ext == nullptr) { in EnumerateContexts() 167 ext->EnumerateContexts(cb); in EnumerateContexts() 176 ClassLinkerExtension *ext = nullptr; in EnumerateContextsForDump() local 177 auto enumCallback = [®isterIndex, &parent, &cb, &os, &ext](ClassLinkerContext *ctx) { in EnumerateContextsForDump() 185 ext->EnumerateContexts([parent, &parentIndex, &founded](ClassLinkerContext *ctxPtr) { in EnumerateContextsForDump() 208 ext in EnumerateContextsForDump() [all...] |
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | unit.py | 121 def src(self, *ext, die_on_zero_matches=False) -> Path: 123 if (not ext or f.suffix in ext)] 131 def libs(self, *ext) -> Iterable[Path]: 134 if (not ext or lib.suffix in ext)] 137 if (not ext or lib.suffix in ext)} 139 def src_device(self, *ext) -> Path: 142 return self.device_path.joinpath(self.src(*ext) [all...] |
H A D | generate.py | 57 ext: Iterable[str] = ()) -> List[SrcPath]: 62 if p.suffix and p.suffix in ext: 70 def process_test_list(lst: Path, ext: Iterable[str] = ()) -> List[SrcPath]: 75 x = BenchGenerator.search_test_files_in_dir(p, p, ext) 81 ext: Iterable[str] = ()) -> List[SrcPath]: 86 log.debug('Searching sources: **/*%r', ext) 94 files += BenchGenerator.process_test_list(root, ext) 96 if root.suffix not in ext: 101 files += BenchGenerator.search_test_files_in_dir(d, root, ext) 175 values: TemplateVars, ext [all...] |
H A D | tool.py | 173 def x_src(self, bu: BenchUnit, *ext) -> Path: 175 return bu.src(*ext) 176 return bu.src_device(*ext) 178 def x_libs(self, bu: BenchUnit, *ext) -> Iterable[Path]: 180 return bu.libs(*ext) 181 return bu.libs_device(*ext)
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | pandargs_test.cpp | 51 HWTEST(libpandargs, TestAdd, testing::ext::TestSize.Level0) in HWTEST() 75 HWTEST(libpandargs, TestIsArgSet, testing::ext::TestSize.Level0) in HWTEST() 102 HWTEST(libpandargs, TestConsistent, testing::ext::TestSize.Level0) in HWTEST() 150 HWTEST(libpandargs, TestDuplicate, testing::ext::TestSize.Level0) in HWTEST() 159 HWTEST(libpandargs, TestTail, testing::ext::TestSize.Level0) in HWTEST() 179 HWTEST(libpandargs, TestString, testing::ext::TestSize.Level0) in HWTEST() 196 HWTEST(libpandargs, TestRegular, testing::ext::TestSize.Level0) in HWTEST() 223 HWTEST(libpandargs, TestAllBoolean, testing::ext::TestSize.Level0) in HWTEST() 246 HWTEST(libpandargs, TestWrongBoolean, testing::ext::TestSize.Level0) in HWTEST() 257 HWTEST(libpandargs, TestBooleanEnd, testing::ext [all...] |
H A D | type_converter_tests.cpp | 30 HWTEST(TimeTest, RandomTimeConverterTest, testing::ext::TestSize.Level0) in HWTEST() 55 HWTEST(TimeTest, RoundTimeConverterTest, testing::ext::TestSize.Level0) in HWTEST() 65 HWTEST(MemoryTest, RandomMemoryConverterTest, testing::ext::TestSize.Level0) in HWTEST() 87 HWTEST(MemoryTest, RoundMemoryConverterTest, testing::ext::TestSize.Level0) in HWTEST() 94 HWTEST(TypeConverterTest, OperatorEqualTest, testing::ext::TestSize.Level0) in HWTEST() 105 HWTEST(TypeConverterTest, ValueConverterTest, testing::ext::TestSize.Level0) in HWTEST() 113 HWTEST(TypeConverterTest, DumpTest, testing::ext::TestSize.Level0) in HWTEST()
|
H A D | math_helpers_test.cpp | 23 HWTEST(MathHelpers, GetIntLog2, testing::ext::TestSize.Level0) in HWTEST() 40 HWTEST(MathHelpers, IsPowerOfTwo, testing::ext::TestSize.Level0) in HWTEST() 54 HWTEST(MathHelpers, GetPowerOfTwoValue32, testing::ext::TestSize.Level0) in HWTEST() 73 HWTEST(MathHelpers, MinAndMaxTest, testing::ext::TestSize.Level0) in HWTEST()
|
H A D | mem_space_test.cpp | 22 HWTEST(MemSpaceTest, ToSpaceType, testing::ext::TestSize.Level0) in HWTEST() 28 HWTEST(MemSpaceTest, IsHeapSpace, testing::ext::TestSize.Level0) in HWTEST() 33 HWTEST(MemSpaceTest, SpaceTypeToString, testing::ext::TestSize.Level0) in HWTEST()
|
H A D | arch_test.cpp | 23 HWTEST(ArchTest, GetCallerRegsMaskTest, testing::ext::TestSize.Level0) in HWTEST() 31 HWTEST(ArchTest, GetCalleeRegsMaskTest, testing::ext::TestSize.Level0) in HWTEST() 39 HWTEST(ArchTest, GetCalleeRegTest, testing::ext::TestSize.Level0) in HWTEST()
|
H A D | arena_allocator_test.cpp | 172 HWTEST_F(ArenaAllocatorTest, AllocateTest, testing::ext::TestSize.Level0) in HWTEST_F() 199 HWTEST_F(ArenaAllocatorTest, AllocateVectorTest, testing::ext::TestSize.Level0) in HWTEST_F() 220 HWTEST_F(ArenaAllocatorTest, AllocateVectorWithComplexTypeTest, testing::ext::TestSize.Level0) in HWTEST_F() 296 HWTEST_F(ArenaAllocatorTest, AllocateDequeWithComplexTypeTest, testing::ext::TestSize.Level0) in HWTEST_F() 373 HWTEST_F(ArenaAllocatorTest, LongRandomTest, testing::ext::TestSize.Level0) in HWTEST_F() 441 HWTEST_F(ArenaAllocatorTest, LogAlignmentSmallSizesTest, testing::ext::TestSize.Level0) in HWTEST_F() 460 HWTEST_F(ArenaAllocatorTest, LogAlignmentBigSizeTest, testing::ext::TestSize.Level0) in HWTEST_F() 476 HWTEST_F(ArenaAllocatorTest, ArrayUINT16AlignmentTest, testing::ext::TestSize.Level0) in HWTEST_F() 481 HWTEST_F(ArenaAllocatorTest, ArrayUINT32AlignmentTest, testing::ext::TestSize.Level0) in HWTEST_F() 486 HWTEST_F(ArenaAllocatorTest, ArrayUINT64AlignmentTest, testing::ext [all...] |
H A D | logger_test.cpp | 41 HWTEST_F(LoggerTest, Initialization, testing::ext::TestSize.Level0) in HWTEST_F() 94 HWTEST_F(LoggerTest, LoggingExceptionsFatal, testing::ext::TestSize.Level0) in HWTEST_F() 125 HWTEST_F(LoggerTest, LoggingExceptionsError, testing::ext::TestSize.Level0) in HWTEST_F() 158 HWTEST_F(LoggerTest, FilterInfo, testing::ext::TestSize.Level0) in HWTEST_F() 181 HWTEST_F(LoggerTest, FilterError, testing::ext::TestSize.Level0) in HWTEST_F() 201 HWTEST_F(LoggerTest, FilterFatal, testing::ext::TestSize.Level0) in HWTEST_F() 219 HWTEST_F(LoggerTest, ComponentFilter, testing::ext::TestSize.Level0) in HWTEST_F() 249 HWTEST_F(LoggerTest, FileLogging, testing::ext::TestSize.Level0) in HWTEST_F() 292 HWTEST_F(LoggerTest, Multiline, testing::ext::TestSize.Level0) in HWTEST_F() 318 HWTEST_F(LoggerTest, LogIf, testing::ext [all...] |
/arkcompiler/runtime_core/static_core/libpandafile/external/ |
H A D | file_ext.cpp | 28 namespace ark::panda_file::ext { namespace in ark::panda_file 36 } // namespace ark::panda_file::ext 53 ark::panda_file::ext::MethodSymEntry *QueryMethodSymByOffset(uint64_t offset) in QueryMethodSymByOffset() 61 ark::panda_file::ext::MethodSymEntry *found = nullptr; in QueryMethodSymByOffset() 66 ark::panda_file::ext::MethodSymEntry entry; in QueryMethodSymByOffset() 90 ark::panda_file::ext::MethodSymEntry *EnumerateAllMethods(uint32_t id, uint64_t offset, in EnumerateAllMethods() 91 ark::panda_file::ext::MethodSymEntry *found) in EnumerateAllMethods() 97 ark::panda_file::ext::MethodSymEntry entry; in EnumerateAllMethods() 119 ark::panda_file::ext::MethodSymEntry *QueryMethodSymAndLineByOffset(uint64_t offset) in QueryMethodSymAndLineByOffset() 127 ark::panda_file::ext in QueryMethodSymAndLineByOffset() [all...] |
/arkcompiler/ets_frontend/ets2panda/ |
H A D | es2panda.cpp | 59 Compiler::Compiler(ScriptExtension ext) : Compiler(ext, DEFAULT_THREAD_COUNT, {}) {} in Compiler() argument 61 Compiler::Compiler(ScriptExtension ext, size_t threadCount) : Compiler(ext, threadCount, {}) {} in Compiler() argument 63 Compiler::Compiler(ScriptExtension ext, size_t threadCount, std::vector<util::Plugin> &&plugins) in Compiler() argument 64 : plugins_(std::move(plugins)), compiler_(new compiler::CompilerImpl(threadCount, &plugins_)), ext_(ext) in Compiler()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
H A D | file_items_test.cpp | 29 HWTEST(LineNumberProgramItem, EmitSpecialOpcode, testing::ext::TestSize.Level0) in HWTEST() 55 HWTEST(LineNumberProgramItem, LanguageFromAndToString, testing::ext::TestSize.Level0) in HWTEST() 62 HWTEST(LineNumberProgramItem, GetStringClassDescriptor, testing::ext::TestSize.Level0) in HWTEST() 68 HWTEST(LineNumberProgramItem, IsDynamicLanguageTest, testing::ext::TestSize.Level0) in HWTEST() 74 HWTEST(LineNumberProgramItem, ItemTypeToStringPart1, testing::ext::TestSize.Level0) in HWTEST() 115 HWTEST(LineNumberProgramItem, ItemTypeToStringPart2, testing::ext::TestSize.Level0) in HWTEST() 157 HWTEST(LineNumberProgramItem, ItemTypeToStringPart3, testing::ext::TestSize.Level0) in HWTEST() 202 HWTEST(LineNumberProgramItem, GetULeb128EncodedSizeTest, testing::ext::TestSize.Level0) in HWTEST()
|
H A D | file_test.cpp | 98 HWTEST(File, GetClassByName, testing::ext::TestSize.Level0) in HWTEST() 125 HWTEST(File, OpenPandaFile, testing::ext::TestSize.Level0) in HWTEST() 160 HWTEST(File, OpenPandaFileFromMemory, testing::ext::TestSize.Level0) in HWTEST() 177 HWTEST(File, OpenPandaFileFromSecureMemory, testing::ext::TestSize.Level0) in HWTEST() 186 HWTEST(File, OpenPandaFileFromZipNameAnonMem, testing::ext::TestSize.Level0) in HWTEST() 205 HWTEST(File, OpenPandaFileOrZip, testing::ext::TestSize.Level0) in HWTEST() 230 HWTEST(File, OpenPandaFileFromZipErrorHandler, testing::ext::TestSize.Level0) in HWTEST() 272 HWTEST(File, HandleArchive, testing::ext::TestSize.Level0) in HWTEST() 299 HWTEST(File, CheckHeader, testing::ext::TestSize.Level0) in HWTEST() 320 HWTEST(File, GetMode, testing::ext [all...] |
H A D | file_format_version_test.cpp | 21 HWTEST(File, TestGetVersion, testing::ext::TestSize.Level0) in HWTEST() 34 HWTEST(File, GetMinVersion, testing::ext::TestSize.Level0) in HWTEST()
|
/arkcompiler/toolchain/websocket/test/ |
H A D | frame_builder_test.cpp | 42 HWTEST_F(FrameBuilderTest, TestNoPayload, testing::ext::TestSize.Level0) in HWTEST_F() 55 HWTEST_F(FrameBuilderTest, TestShortPayload, testing::ext::TestSize.Level0) in HWTEST_F() 74 HWTEST_F(FrameBuilderTest, TestLongPayload, testing::ext::TestSize.Level0) in HWTEST_F() 96 HWTEST_F(FrameBuilderTest, TestLongLongPayload, testing::ext::TestSize.Level0) in HWTEST_F() 119 HWTEST_F(FrameBuilderTest, TestAppendPayload, testing::ext::TestSize.Level0) in HWTEST_F() 140 HWTEST_F(FrameBuilderTest, TestClientNoPayload, testing::ext::TestSize.Level0) in HWTEST_F() 153 HWTEST_F(FrameBuilderTest, TestClientMasking, testing::ext::TestSize.Level0) in HWTEST_F()
|
H A D | http_decoder_test.cpp | 66 HWTEST_F(HttpDecoderTest, TestRequestDecode, testing::ext::TestSize.Level0) in HWTEST_F() 78 HWTEST_F(HttpDecoderTest, TestAbnormalRequestDecode, testing::ext::TestSize.Level0) in HWTEST_F() 90 HWTEST_F(HttpDecoderTest, TestResponseDecode, testing::ext::TestSize.Level0) in HWTEST_F() 103 HWTEST_F(HttpDecoderTest, TestAbnormalResponseDecode, testing::ext::TestSize.Level0) in HWTEST_F()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | compilerImpl.h | 37 : input(i), options(o), rawParserStatus(s), ext(e) in CompilationUnit() 45 ScriptExtension ext; member in ark::ark::es2panda::compiler::CompilationUnit 67 static std::string GetPhasesList(const ScriptExtension ext);
|