Home
last modified time | relevance | path

Searched refs:extension (Results 1 – 15 of 15) sorted by relevance

/ark/runtime_core/runtime/tests/
Dmethod_test.cpp90 auto *extension = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in VerifyLineNumber() local
94 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in VerifyLineNumber()
153 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
157 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F()
215 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
218 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F()
250 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
254 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descripto… in TEST_F()
287 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
291 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F()
[all …]
Dc2i_bridge_test.cpp108 auto *extension = class_linker->GetExtension(lang); in SetUpHelperFunctions() local
110extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("TestUtils"), descriptor.get())… in SetUpHelperFunctions()
158 auto *extension = class_linker->GetExtension(ctx); in MakeNoArgsMethod() local
160extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), descriptor.get())); in MakeNoArgsMethod()
261 auto *extension = class_linker->GetExtension(ctx); in MakeCheckArgsMethod() local
262 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("Test"), descrip… in MakeCheckArgsMethod()
Dinterpreter_test.cpp3859 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
3864 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R1"), &descript… in TEST_F()
3879 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descript… in TEST_F()
/ark/runtime_core/runtime/mem/gc/
Dgc_root.cpp219 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in VisitClassRoots() local
220 extension->EnumerateClasses(class_root_visitor, flags); in VisitClassRoots()
246 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in VisitClassLinkerContextRoots() local
247 extension->EnumerateContexts([&gc_root_visitor](ClassLinkerContext *ctx) { in VisitClassLinkerContextRoots()
261 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in UpdateClassLinkerContextRoots() local
262 extension->EnumerateContexts([](ClassLinkerContext *ctx) { in UpdateClassLinkerContextRoots()
/ark/runtime_core/runtime/include/
Dclass_linker_extension.h213 explicit BootContext(ClassLinkerExtension *extension) : extension_(extension) in BootContext() argument
216 lang_ = extension->GetLanguage(); in BootContext()
237 …explicit AppContext(ClassLinkerExtension *extension, PandaVector<const panda_file::File *> &&pf_li… in AppContext() argument
238 : extension_(extension), pfs_(pf_list) in AppContext()
Dclass_linker.h204 ClassLinkerExtension *extension = extensions_[ToExtensionIndex(ctx.GetLanguage())].get(); in GetExtension() local
205 ASSERT(extension != nullptr); in GetExtension()
206 return extension; in GetExtension()
211 ClassLinkerExtension *extension = extensions_[ToExtensionIndex(lang)].get(); in GetExtension() local
212 ASSERT(extension != nullptr); in GetExtension()
213 return extension; in GetExtension()
/ark/runtime_core/isa/
DREADME.md16 From <name>.<extension>.erb template <name>.<extension> file would be generated.
/ark/runtime_core/runtime/core/
Dcore_language_context.cpp58 auto *extension = class_linker->GetExtension(ctx); in ThrowException() local
59 auto *cls = class_linker->GetClass(mutf8_name, true, extension->GetBootContext()); in ThrowException()
/ark/js_runtime/ecmascript/
Djs_locale.cpp174 parsedResult.extension = result.substr(foundExtension, extensionEnd - foundExtension); in HandleLocale()
351 if (!parsedResult.extension.empty()) { in LookupMatcher()
352 result.extension = parsedResult.extension; in LookupMatcher()
355 std::string res = result.locale + result.extension; in LookupMatcher()
689 std::string JSLocale::UnicodeExtensionValue(const std::string extension, const std::string key) in UnicodeExtensionValue() argument
694 size_t size = extension.size(); in UnicodeExtensionValue()
698 size_t pos = extension.find(searchValue); in UnicodeExtensionValue()
712 size_t e = extension.find("-", k); in UnicodeExtensionValue()
740 std::string result = extension.substr(start, end - start); in UnicodeExtensionValue()
746 pos = extension.find(searchValue); in UnicodeExtensionValue()
[all …]
Djs_locale.h130 std::string extension; member
150 std::string extension; member
221 static std::string UnicodeExtensionValue(const std::string extension, const std::string key);
/ark/runtime_core/tests/verifier-tests/
Dbug_2107_2.pa18 # description: 'Perform specified integer extension or truncations of accumulator.
/ark/runtime_core/runtime/
Dclass_linker.cpp1097 auto *extension = GetExtension(lang.value()); in GetMethod() local
1098 context = extension->GetBootContext(); in GetMethod()
/ark/ts2abc/testTs/
Dtest-case.patch5298 +import { baz } from "./baz"; // should error, ask for extension, no extension suggestion
5310 +import foo = require("./foo"); // should error, should not ask for extension
5359 +import("./foo").then(x => x); // should error, ask for extension
5374 +import { foo } from "./foo"; // should error, should not ask for extension
5387 +import foo = require("./foo"); // should error, should not ask for extension
5400 +import("./foo").then(x => x); // should error, ask for extension
6620 +// The next ones shouldn't all work - esm format files have no index resolution or extension resol…
6656 …rk - `import = require` always desugars to require calls, which do have extension and index resolu…
6680 …'t work - dynamic `import()` always uses the esm resolver, which does not have extension resolution
6709 +// The next ones should _mostly_ work - cjs format files have index resolution and extension resol…
[all …]
/ark/runtime_core/docs/
Dmemory-management.md221 - support for pool extension and reduction (i.e., we can add another memory chunk to the allocator,…
/ark/js_runtime/ecmascript/compiler/
Dcircuit_ir_specification.md347 …urns the first integer operand shifted to the right a specified number of bits with sign extension.