Home
last modified time | relevance | path

Searched refs:lang (Results 1 - 25 of 111) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/verification/jobs/
H A Dservice.cpp44 TaskProcessor *VerifierService::GetProcessor(SourceLang lang) in GetProcessor() argument
50 if (processors_.count(lang) == 0) { in GetProcessor()
51 processors_.emplace(lang, lang); in GetProcessor()
53 LangData *langData = &processors_.at(lang); in GetProcessor()
55 langData->queue.push_back(allocator_->New<TaskProcessor>(this, lang)); in GetProcessor()
67 auto lang = processor->GetLang(); in ReleaseProcessor() local
68 ASSERT(processors_.count(lang) > 0); in ReleaseProcessor()
69 processors_.at(lang).queue.push_back(processor); in ReleaseProcessor()
H A Dservice.h47 TaskProcessor *GetProcessor(SourceLang lang);
52 explicit LangData(SourceLang language) : lang {language} {} in LangData()
55 SourceLang lang; member
73 explicit TaskProcessor(VerifierService *service, SourceLang lang) : service_ {service}, lang_ {lang} {}; in TaskProcessor() argument
/arkcompiler/runtime_core/static_core/runtime/profiling/
H A Dprofiling-disasm-inl.h26 [[maybe_unused]] ark::panda_file::SourceLang lang) in ReadProfile()
29 switch (lang) { in ReadProfile()
37 inline void DestroyProfile([[maybe_unused]] ProfileContainer profile, [[maybe_unused]] ark::panda_file::SourceLang lang) in DestroyProfile() argument
40 switch (lang) { in DestroyProfile()
48 [[maybe_unused]] ark::panda_file::SourceLang lang, in FindMethodInProfile()
52 switch (lang) { in FindMethodInProfile()
60 inline void DumpProfile([[maybe_unused]] ProfileType profile, [[maybe_unused]] ark::panda_file::SourceLang lang, in DumpProfile() argument
64 switch (lang) { in DumpProfile()
25 ReadProfile([[maybe_unused]] std::istream &stm, [[maybe_unused]] ark::panda_file::SourceLang lang) ReadProfile() argument
47 FindMethodInProfile([[maybe_unused]] ProfileContainer profile, [[maybe_unused]] ark::panda_file::SourceLang lang, [[maybe_unused]] const std::string &methodName) FindMethodInProfile() argument
H A Dprofiling-inl.h26 [[maybe_unused]] PandaVM *vm, [[maybe_unused]] ark::panda_file::SourceLang lang) in ClearProfile()
29 switch (lang) { in ClearProfile()
25 ClearProfile([[maybe_unused]] const BytecodeInstruction &inst, [[maybe_unused]] Method *method, [[maybe_unused]] PandaVM *vm, [[maybe_unused]] ark::panda_file::SourceLang lang) ClearProfile() argument
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsDynamicFunctionType.h28 Language lang) in ETSDynamicFunctionType()
29 : ETSFunctionType(checker, name, std::move(signatures)), lang_(lang) in ETSDynamicFunctionType()
35 Language lang) in ETSDynamicFunctionType()
36 : ETSFunctionType(name, signature, allocator), lang_(lang) in ETSDynamicFunctionType()
41 explicit ETSDynamicFunctionType(util::StringView name, ArenaAllocator *allocator, Language lang) in ETSDynamicFunctionType() argument
42 : ETSFunctionType(name, allocator), lang_(lang) in ETSDynamicFunctionType()
27 ETSDynamicFunctionType(ETSChecker *checker, util::StringView name, ArenaVector<Signature *> &&signatures, Language lang) ETSDynamicFunctionType() argument
34 ETSDynamicFunctionType(util::StringView name, Signature *signature, ArenaAllocator *allocator, Language lang) ETSDynamicFunctionType() argument
/arkcompiler/runtime_core/assembler/
H A Dassembly-record.h42 Record(std::string s, panda::panda_file::SourceLang lang, size_t b_l, size_t b_r, std::string f_c, bool d, in Record()
45 language(lang), in Record()
46 metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)), in Record()
52 Record(std::string s, panda::panda_file::SourceLang lang) in Record()
53 : name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)) in Record()
H A Dassembly-field.h39 explicit Field(panda::panda_file::SourceLang lang) in Field()
40 : metadata(extensions::MetadataExtension::CreateFieldMetadata(lang)) in Field()
H A Dassembly-function.h66 Parameter(Type t, panda::panda_file::SourceLang lang) in Parameter()
67 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter()
126 Function(std::string s, panda::panda_file::SourceLang lang, size_t b_l, size_t b_r, std::string f_c, bool d, in Function()
129 language(lang), in Function()
130 metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)), in Function()
135 Function(std::string s, panda::panda_file::SourceLang lang) in Function()
136 : name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)) in Function()
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-record.h44 Record(std::string s, ark::panda_file::SourceLang lang, size_t bL, size_t bR, std::string fC, bool d, size_t lN) in Record()
46 language(lang), in Record()
47 metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)), in Record()
52 Record(std::string s, ark::panda_file::SourceLang lang) in Record()
53 : name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)) in Record()
H A Dassembly-function.h67 Parameter(Type t, ark::panda_file::SourceLang lang) in Parameter()
68 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter()
106 Function(std::string s, ark::panda_file::SourceLang lang, size_t bL, size_t bR, std::string fC, bool d, size_t lN) in Function()
108 language(lang), in Function()
109 metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)), in Function()
114 Function(std::string s, ark::panda_file::SourceLang lang) in Function()
115 : name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)) in Function()
H A Dassembly-field.h40 explicit Field(ark::panda_file::SourceLang lang) in Field()
41 : metadata(extensions::MetadataExtension::CreateFieldMetadata(lang)) in Field()
/arkcompiler/runtime_core/assembler/extensions/
H A Dextensions.h32 static std::unique_ptr<RecordMetadata> CreateRecordMetadata(panda::panda_file::SourceLang lang);
34 static std::unique_ptr<FieldMetadata> CreateFieldMetadata(panda::panda_file::SourceLang lang);
36 static std::unique_ptr<FunctionMetadata> CreateFunctionMetadata(panda::panda_file::SourceLang lang);
38 static std::unique_ptr<ParamMetadata> CreateParamMetadata(panda::panda_file::SourceLang lang);
/arkcompiler/runtime_core/static_core/assembler/extensions/
H A Dextensions.h33 static PANDA_PUBLIC_API std::unique_ptr<RecordMetadata> CreateRecordMetadata(ark::panda_file::SourceLang lang);
35 static PANDA_PUBLIC_API std::unique_ptr<FieldMetadata> CreateFieldMetadata(ark::panda_file::SourceLang lang);
37 static PANDA_PUBLIC_API std::unique_ptr<FunctionMetadata> CreateFunctionMetadata(ark::panda_file::SourceLang lang);
39 static PANDA_PUBLIC_API std::unique_ptr<ParamMetadata> CreateParamMetadata(ark::panda_file::SourceLang lang);
/arkcompiler/runtime_core/static_core/templates/
H A Dcommon.rb82 respond_to?(:lang)
85 def lang_field_name(lang)
86 "#{lang}.#{name}".tr('-', '_').tr('.', '_') + '_'
89 def lang_camel_name(lang)
90 n = "#{lang}.#{name}".split(Regexp.union(['-', '.'])).map(&:capitalize).join
184 if option_hash.include?(:lang)
186 lang_spec_option.delete(:lang)
188 option.lang.each do |lang|
189 lang_spec_option[:description] = "#{option.description}. Only for #{lang}"
[all...]
/arkcompiler/runtime_core/templates/
H A Dcommon.rb82 respond_to?(:lang)
85 def lang_field_name(lang)
86 "#{lang}.#{name}".tr('-', '_').tr('.', '_') + '_'
89 def lang_camel_name(lang)
90 n = "#{lang}.#{name}".split(Regexp.union(['-', '.'])).map(&:capitalize).join
184 if option_hash.include?(:lang)
186 lang_spec_option.delete(:lang)
188 option.lang.each do |lang|
189 lang_spec_option[:description] = "#{option.description}. Only for #{lang}"
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Ddynamic.cpp99 Language lang) in CreateDynamicCallIntrinsic()
103 auto dynamicTypeNode = AllocNode<ir::OpaqueTypeNode>(GlobalBuiltinDynamicType(lang)); in CreateDynamicCallIntrinsic()
174 Language lang, bool isConstruct) in ResolveDynamicCallExpression()
178 auto mapIt = dynamicIntrinsics.find(lang); in ResolveDynamicCallExpression()
180 std::tie(mapIt, std::ignore) = dynamicIntrinsics.emplace(lang, Allocator()->Adapter()); in ResolveDynamicCallExpression()
199 auto klass = GetDynamicClass(lang, isConstruct); in ResolveDynamicCallExpression()
201 auto *method = CreateDynamicCallIntrinsic(callee, arguments, lang); in ResolveDynamicCallExpression()
213 method->Function()->Signature()->SetReturnType(GlobalBuiltinDynamicType(lang)); in ResolveDynamicCallExpression()
223 ir::Expression *callee, const ArenaVector<ir::Expression *> &arguments, Language lang, bool isConstruct);
226 ir::Expression *callee, const ArenaVector<varbinder::LocalVariable *> &arguments, Language lang, boo
98 CreateDynamicCallIntrinsic(ir::Expression *callee, const ArenaVector<T *> &arguments, Language lang) CreateDynamicCallIntrinsic() argument
173 ResolveDynamicCallExpression(ir::Expression *callee, const ArenaVector<T *> &arguments, Language lang, bool isConstruct) ResolveDynamicCallExpression() argument
314 CreateDynamicCallClassInitializer(Language lang, bool isConstruct) CreateDynamicCallClassInitializer() argument
381 GetDynamicClass(Language lang, bool isConstruct) GetDynamicClass() argument
[all...]
/arkcompiler/runtime_core/static_core/runtime/
H A Dplugins.h23 LanguageContextBase *GetLanguageContextBase(ark::panda_file::SourceLang lang);
25 std::string_view LangToRuntimeType(panda_file::SourceLang lang);
H A Dclass.cpp91 Class::Class(const uint8_t *descriptor, panda_file::SourceLang lang, uint32_t vtableSize, uint32_t imtSize, in Class() argument
93 : BaseClass(lang), descriptor_(descriptor), vtableSize_(vtableSize), imtSize_(imtSize), classSize_(size) in Class()
162 size_t Class::GetClassObjectSizeFromClass(Class *cls, panda_file::SourceLang lang) in GetClassObjectSizeFromClass() argument
164 return Runtime::GetCurrent()->GetClassLinker()->GetClassObjectSize(cls, lang); in GetClassObjectSizeFromClass()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Ddoclet.py27 from vmb.lang import LangBase
37 def __init__(self, lines, pos, lang):
40 self.lang = lang
49 def create(cls, text: str, lang: LangBase):
50 return cls(text.split("\n"), -1, lang)
113 def __init__(self, lines, pos, lang) -> None:
114 super().__init__(lines, pos, lang)
176 class_name = self.lang.parse_state(self.current)
192 f = self.lang
[all...]
H A Dgenerate.py30 from vmb.lang import LangBase
228 def get_lang(self, lang: str) -> LangBase:
229 lang_plugin = get_plugin('langs', lang, extra=self.extra_plug_dir)
231 log.info('Using lang: %s', lang_impl.name)
245 def process_source_file(self, src: Path, lang: LangBase
252 parser = DocletParser.create(full_src, lang).parse()
278 def generate(self, lang: str,
282 lang_impl = self.get_lang(lang)
307 for lang in args.langs:
308 bus += generator.generate(lang, setting
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSemitter.cpp78 Program()->lang = panda_file::SourceLang::ECMASCRIPT; in GenAnnotation()
88 auto annotationRecord = pandasm::Record("_ESAnnotation", Program()->lang); in GenESAnnotationRecord()
96 auto modeRecord = pandasm::Record("_ESModuleMode", Program()->lang); in GenESModuleModeRecord()
99 auto modeField = pandasm::Field(Program()->lang); in GenESModuleModeRecord()
/arkcompiler/ets_frontend/ets2panda/compiler/scripts/
H A Dsignatures.rb72 data.dynamiclangs.each do |lang|
73 Signatures::DYNAMIC[lang.name] = OpenStruct.new(lang)
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsImportSource.h29 explicit ImportSource(ir::StringLiteral *source, ir::StringLiteral *resolvedSource, Language lang, bool hasDecl) in ImportSource() argument
30 : source_(source), resolvedSource_(resolvedSource), lang_(lang), hasDecl_(hasDecl) in ImportSource()
/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DclassDefinition.h74 ModifierFlags flags, Language lang) in ClassDefinition()
85 lang_(lang), in ClassDefinition()
94 ClassDefinitionModifiers modifiers, ModifierFlags flags, Language lang) in ClassDefinition()
100 lang_(lang), in ClassDefinition()
109 ModifierFlags flags, Language lang) in ClassDefinition()
115 lang_(lang), in ClassDefinition()
70 ClassDefinition(const util::StringView &privateId, Identifier *ident, TSTypeParameterDeclaration *typeParams, TSTypeParameterInstantiation *superTypeParams, ArenaVector<TSClassImplements *> &&implements, MethodDefinition *ctor, Expression *superClass, ArenaVector<AstNode *> &&body, ClassDefinitionModifiers modifiers, ModifierFlags flags, Language lang) ClassDefinition() argument
93 ClassDefinition(ArenaAllocator *allocator, Identifier *ident, ArenaVector<AstNode *> &&body, ClassDefinitionModifiers modifiers, ModifierFlags flags, Language lang) ClassDefinition() argument
108 ClassDefinition(ArenaAllocator *allocator, Identifier *ident, ClassDefinitionModifiers modifiers, ModifierFlags flags, Language lang) ClassDefinition() argument
/arkcompiler/runtime_core/static_core/runtime/tooling/
H A Ddefault_inspector_extension.h24 explicit StaticDefaultInspectorExtension(panda_file::SourceLang lang) : lang_(lang) {} in StaticDefaultInspectorExtension() argument

Completed in 9 milliseconds

12345