Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 64) sorted by relevance

123

/arkcompiler/runtime_core/runtime/
Dexceptions.cpp38 void ThrowException(const LanguageContext &ctx, ManagedThread *thread, const uint8_t *mutf8_name, in ThrowException()
53 auto ctx = GetLanguageContext(thread); in ThrowNullPointerException() local
57 void ThrowNullPointerException(const LanguageContext &ctx, ManagedThread *thread) in ThrowNullPointerException()
64 auto ctx = GetLanguageContext(thread); in ThrowStackOverflowException() local
71 auto ctx = GetLanguageContext(thread); in ThrowArrayIndexOutOfBoundsException() local
76 const LanguageContext &ctx, ManagedThread *thread) in ThrowArrayIndexOutOfBoundsException()
88 auto ctx = GetLanguageContext(thread); in ThrowIndexOutOfBoundsException() local
99 auto ctx = GetLanguageContext(thread); in ThrowIllegalStateException() local
106 auto ctx = GetLanguageContext(thread); in ThrowStringIndexOutOfBoundsException() local
118 auto ctx = GetLanguageContext(thread); in ThrowNegativeArraySizeException() local
[all …]
Dstring_table.cpp25 const LanguageContext &ctx) in GetOrInternString()
36 const LanguageContext &ctx) in GetOrInternString()
45 …ypes::String *StringTable::GetOrInternString(coretypes::String *string, const LanguageContext &ctx) in GetOrInternString()
55 const LanguageContext &ctx) in GetOrInternInternalString()
92 … bool can_be_compressed, [[maybe_unused]] const LanguageContext &ctx) in GetString()
106 [[maybe_unused]] const LanguageContext &ctx) in GetString()
119 …ringTable::Table::GetString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in GetString()
133 …e::Table::ForceInternString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in ForceInternString()
140 [[maybe_unused]] const LanguageContext &ctx) in InternString()
157 … bool can_be_compressed, const LanguageContext &ctx) in GetOrInternString()
[all …]
Dclass_linker_extension.cpp30 for (auto *ctx : contexts_) { in ~ClassLinkerExtension() local
169 const LanguageContext &ctx) in WrapClassNotFoundExceptionIfNeeded()
203 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(GetLanguage()); in GetClass() local
234 for (auto *ctx : contexts_) { in NumLoadedClasses() local
246 for (auto *ctx : contexts_) { in VisitLoadedClasses() local
263 for (auto *ctx : contexts_) { in FreeLoadedClasses() local
283 ClassLinkerContext *ctx = CreateApplicationClassLinkerContext(std::move(app_files)); in CreateApplicationClassLinkerContext() local
296 auto *ctx = allocator->New<AppContext>(this, std::move(app_file_ptrs)); in CreateApplicationClassLinkerContext() local
Dclass_initializer.cpp72 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*thread->GetException()->ClassAddr… in WrapException() local
87 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in ThrowNoClassDefFoundError() local
101 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in ThrowIncompatibleClassChangeError() local
108 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in ThrowVerifyError() local
251 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in InitializeClass() local
362 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in InitializeTaggedField() local
Dcompiler_queue_interface.h28 PandaString GetTaskDescription(const CompilerTask &ctx) in GetTaskDescription()
Dfield.cpp37 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*GetClass()); in ResolveTypeClass() local
Dcompiler.cpp45 bool Compiler::IsCompilationExpired(const CompilerTask &ctx) in IsCompilationExpired()
123 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetClass() local
133 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetStringClass() local
144 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetClassType() local
219 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*panda_method); in CanThrowException() local
468 auto ctx = Runtime::GetCurrent()->GetLanguageContext(*MethodCast(method)); in GetLiteralArrayClassIdWithinFile() local
700 …CompilerTask ctx {method, method->HasCompiledCode() ? osr : false, ManagedThread::GetCurrent()->Ge… in CompileMethod() local
717 void Compiler::CompileMethodLocked(const CompilerTask &ctx) in CompileMethodLocked()
768 void Compiler::CompileMethodSync(const CompilerTask &ctx) in CompileMethodSync()
781 void Compiler::CompileMethodAsync(const CompilerTask &ctx) in CompileMethodAsync()
Druntime.cpp191 auto *ctx = plugins::GetLanguageContextBase(lang); in GetLanguageContext() local
835 static const uint8_t *GetStringArrayDescriptor(const LanguageContext &ctx, PandaString *out) in GetStringArrayDescriptor()
872 LanguageContext ctx = GetLanguageContext(*cls); in ResolveEntryPoint() local
937 LanguageContext ctx = GetLanguageContext(&cda); in ExtractLanguageContext() local
1101 const LanguageContext &ctx) in ResolveString()
1112 const LanguageContext &ctx) in ResolveString()
1120 LanguageContext ctx = GetLanguageContext(caller); in ResolveLiteralArray() local
1205 const LanguageContext &ctx) in ResolveLiteralArray()
1273 [](ClassLinkerContext *ctx, std::ostream &stream, ClassLinkerContext *parent) { in DumpForSigQuit()
/arkcompiler/runtime_core/runtime/tests/
Dmonitor_test.cpp58 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
69 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
84 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
104 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
120 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
134 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
153 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
176 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
198 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
213 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
[all …]
Dtest_utils.h49 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocArray() local
61 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocString() local
70 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocObjectInYoung() local
Dclass_linker_test_extension.cpp26 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(GetLanguage()); in InitializeImpl() local
Dstatic_analyzer_test.cpp64 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocString() local
72 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocStringArray() local
Dstring_table_base_test.h47 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… variable
125 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in InternTheSameUtf16String() local
145 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in InternManyStrings() local
Dmultithreaded_intern_string_table_test.cpp58 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in AllocUtf8String() local
154 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TestThreadEntry() local
173 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TestConcurrentInsertion() local
Dmem_stats_additional_info_test.cpp63 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
86 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
/arkcompiler/runtime_core/runtime/include/
Dclass_linker-inl.h36 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(caller); in GetClass() local
49 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in AddClassRoot() local
Dvtable_builder-inl.h69 ClassLinkerContext *ctx) in AddClassMethods()
157 … ITable itable, ClassLinkerContext *ctx) in Build()
/arkcompiler/runtime_core/runtime/core/
Dcore_vm.cpp29 static mem::MemoryManager *CreateMM(const LanguageContext &ctx, mem::InternalAllocatorPtr internal_… in CreateMM()
54 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in Create() local
130 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in PreAllocOOMErrorObject() local
146 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in InitializeFinish() local
235 …ypes::Array *CreateArgumentsArray(const std::vector<std::string> &args, const LanguageContext &ctx, in CreateArgumentsArray()
262 LanguageContext ctx = runtime->GetLanguageContext(*entrypoint); in InvokeEntrypointImpl() local
Dcore_language_context.cpp28 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in GetExceptionClass() local
60 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in ThrowException() local
133 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in ThrowStackOverflowException() local
Dcore_class_linker_extension.cpp30 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in OnError() local
62 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(GetLanguage()); in InitializeImpl() local
/arkcompiler/runtime_core/verification/absint/
Dexec_context.h62 RegContext &ctx = RegContextOnCheckPoint_[addr]; in StoreCurrentRegContextForAddrIfHasContext() local
83 RegContext &ctx = RegContextOnCheckPoint_[addr]; in StoreCurrentRegContextForAddr() local
112 auto ctx = RegContextOnCheckPoint_.find(addr); in RegContextOnTarget() local
161 void ForAllTypesOfRegAccordingToTypecasts(int reg, const RegContext &ctx, Handler &&handler) in ForAllTypesOfRegAccordingToTypecasts()
/arkcompiler/runtime_core/runtime/coretypes/
Dstring.cpp34 String *String::CreateFromString(String *str, const LanguageContext &ctx, PandaVM *vm) in CreateFromString()
69 … bool can_be_compressed, const LanguageContext &ctx, PandaVM *vm, bool movable) in CreateFromMUtf8()
91 …ring::CreateFromMUtf8(const uint8_t *mutf8_data, uint32_t utf16_length, const LanguageContext &ctx, in CreateFromMUtf8()
100 const LanguageContext &ctx, PandaVM *vm, bool movable) in CreateFromMUtf8()
106 String *String::CreateFromMUtf8(const uint8_t *mutf8_data, const LanguageContext &ctx, PandaVM *vm,… in CreateFromMUtf8()
115 …ing::CreateFromUtf16(const uint16_t *utf16_data, uint32_t utf16_length, const LanguageContext &ctx, in CreateFromUtf16()
139 String *String::CreateEmptyString(const LanguageContext &ctx, PandaVM *vm) in CreateEmptyString()
156 …eNewStringFromChars(uint32_t offset, uint32_t length, Array *chararray, const LanguageContext &ctx, in CreateNewStringFromChars()
191 const LanguageContext &ctx, PandaVM *vm) in CreateNewStringFromBytes()
579 Array *String::ToCharArray(const LanguageContext &ctx) in ToCharArray()
[all …]
/arkcompiler/runtime_core/runtime/interpreter/
Druntime_interface.cpp28 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in CreateObject() local
/arkcompiler/runtime_core/compiler/tools/paoc/
Dpaoc.cpp466 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(&cda); in ResolveClass() local
616 CompilingContext ctx(method, method_index, &statistics_dump_); in Compile() local
640 bool Paoc::CompileJit(CompilingContext *ctx) in CompileJit()
661 bool Paoc::CompileOsr(CompilingContext *ctx) in CompileOsr()
682 bool Paoc::CompileAot(CompilingContext *ctx) in CompileAot()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h529 explicit SavedStatusContext(ParserContext *ctx) in SavedStatusContext()
552 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext()
561 explicit IterationContext(ParserContext *ctx, binder::Binder *binder) in IterationContext()
581 explicit FunctionParameterContext(ParserContext *ctx, binder::Binder *binder) in FunctionParameterContext()

123