Home
last modified time | relevance | path

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

1234567891011

/arkcompiler/runtime_core/static_core/runtime/
Dexceptions.cpp38 void ThrowException(const LanguageContext &ctx, ManagedThread *thread, const uint8_t *mutf8Name, in ThrowException()
53 auto ctx = GetLanguageContext(thread); in ThrowNullPointerException() local
57 void ThrowNullPointerException(const LanguageContext &ctx, ManagedThread *thread) in ThrowNullPointerException()
65 auto ctx = GetLanguageContext(thread); in ThrowStackOverflowException() local
72 auto ctx = GetLanguageContext(thread); in ThrowArrayIndexOutOfBoundsException() local
77 const LanguageContext &ctx, ManagedThread *thread) in ThrowArrayIndexOutOfBoundsException()
88 auto ctx = GetLanguageContext(thread); in ThrowIndexOutOfBoundsException() local
96 auto ctx = GetLanguageContext(thread); in ThrowIllegalStateException() local
103 auto ctx = GetLanguageContext(thread); in ThrowStringIndexOutOfBoundsException() local
113 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()
93 [[maybe_unused]] const LanguageContext &ctx) in GetString()
107 [[maybe_unused]] const LanguageContext &ctx) in GetString()
120 …ringTable::Table::GetString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in GetString()
134 …e::Table::ForceInternString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in ForceInternString()
141 [[maybe_unused]] const LanguageContext &ctx) in InternString()
169 … bool canBeCompressed, const LanguageContext &ctx) in GetOrInternString()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
De2p_test_plugin_ets_node_types.c34 es2panda_Context *ctx = arg; in DumpEtsNodesWithTypes() local
50 void TypeRelationTest(es2panda_Context *ctx) in TypeRelationTest()
64 void e2p_test_plugin_ets_node_types_AfterParse(es2panda_Context *ctx) {} in e2p_test_plugin_ets_node_types_AfterParse()
66 void e2p_test_plugin_ets_node_types_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_ets_node_types_AfterCheck()
79 void e2p_test_plugin_ets_node_types_AfterLowerings(es2panda_Context *ctx) {} in e2p_test_plugin_ets_node_types_AfterLowerings()
De2p_test_plugin_is.c35 es2panda_Context *ctx = arg; in IsIdentifier() local
43 void e2p_test_plugin_is_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_is_AfterParse()
51 void e2p_test_plugin_is_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_is_AfterCheck()
57 void e2p_test_plugin_is_AfterLowerings(es2panda_Context *ctx) in e2p_test_plugin_is_AfterLowerings()
De2p_test_plugin_dump_json.c35 es2panda_Context *ctx = arg; in DumpJSON() local
40 void e2p_test_plugin_dump_json_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_dump_json_AfterParse()
48 void e2p_test_plugin_dump_json_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_dump_json_AfterCheck()
54 void e2p_test_plugin_dump_json_AfterLowerings(es2panda_Context *ctx) in e2p_test_plugin_dump_json_AfterLowerings()
De2p_test_plugin.c34 es2panda_Context *ctx = arg; in PrintIfIdentifier() local
40 void e2p_test_plugin_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_AfterParse()
47 void e2p_test_plugin_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_AfterCheck()
52 void e2p_test_plugin_AfterLowerings(es2panda_Context *ctx) in e2p_test_plugin_AfterLowerings()
De2p_test_plugin_ets_src.c35 es2panda_Context *ctx = arg; in DumpEtsSrc() local
40 void e2p_test_plugin_ets_src_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_ets_src_AfterParse()
48 void e2p_test_plugin_ets_src_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_ets_src_AfterCheck()
54 void e2p_test_plugin_ets_src_AfterLowerings(es2panda_Context *ctx) in e2p_test_plugin_ets_src_AfterLowerings()
De2p_test_plugin_ets_varibles_and_types.c36 void e2p_test_plugin_ets_varibles_and_types_AfterParse(es2panda_Context *ctx) {} in e2p_test_plugin_ets_varibles_and_types_AfterParse()
38 void printVarInfo(es2panda_Context *ctx, es2panda_Variable *var) in printVarInfo()
60 void printScopeDeclarations(es2panda_Context *ctx, es2panda_Scope *scope) in printScopeDeclarations()
90 es2panda_Context *ctx = arg; in FindAllVaribles() local
128 void e2p_test_plugin_ets_varibles_and_types_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_ets_varibles_and_types_AfterCheck()
135 void e2p_test_plugin_ets_varibles_and_types_AfterLowerings(es2panda_Context *ctx) {} in e2p_test_plugin_ets_varibles_and_types_AfterLowerings()
De2p_test_plugin_ets_benchmark_test.cpp39 es2panda_AstNode *CreateNewFunction(int num, es2panda_Context *ctx) in CreateNewFunction()
65 void CreateNewFunctions(es2panda_Context *ctx, es2panda_AstNode *ast) in CreateNewFunctions()
91 void e2p_test_plugin_ets_benchmark_test_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_ets_benchmark_test_AfterParse()
99 void e2p_test_plugin_ets_benchmark_test_AfterCheck([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_ets_benchmark_test_AfterCheck()
101 void e2p_test_plugin_ets_benchmark_test_AfterLowerings([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_ets_benchmark_test_AfterLowerings()
De2p_test_plugin_change_func.cpp37 es2panda_Context *ctx = static_cast<es2panda_Context *>(arg); in ChangeCall() local
53 void e2p_test_plugin_change_func_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_change_func_AfterParse()
80 void e2p_test_plugin_change_func_AfterCheck([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_change_func_AfterCheck()
82 void e2p_test_plugin_change_func_AfterLowerings([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_change_func_AfterLowerings()
De2p_test_plugin_ets_benchmark_with_checker_func_test.cpp56 es2panda_AstNode *CreateNewFunction(int num, es2panda_Context *ctx, es2panda_Scope *methodScope) in CreateNewFunction()
80 void CreateNewFunctions(es2panda_Context *ctx, es2panda_AstNode *ast) in CreateNewFunctions()
112 …t_plugin_ets_benchmark_with_checker_func_test_AfterParse([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_ets_benchmark_with_checker_func_test_AfterParse()
114 void e2p_test_plugin_ets_benchmark_with_checker_func_test_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_ets_benchmark_with_checker_func_test_AfterCheck()
122 …ugin_ets_benchmark_with_checker_func_test_AfterLowerings([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_ets_benchmark_with_checker_func_test_AfterLowerings()
/arkcompiler/runtime_core/static_core/verification/config/debug_breakpoint/
Dbreakpoint.h39 #define DBG_MANAGED_BRK(ctx, method_id, method_offset) \ argument
44 inline bool CheckManagedBreakpoint([[maybe_unused]] DebugContext const *ctx, [[maybe_unused]] Metho… in CheckManagedBreakpoint()
50 inline bool ManagedBreakpointPresent([[maybe_unused]] DebugContext const *ctx, [[maybe_unused]] Met… in ManagedBreakpointPresent()
55 #define DBG_MANAGED_BRK(ctx, method_id, method_offset) argument
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp31 auto ctx = InteropCtx::Current(coro); in JSRuntimeFinalizationRegistryCallback() local
41 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueDouble() local
48 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueBoolean() local
55 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueString() local
72 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueObject() local
104 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueString() local
125 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueObject() local
157 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined() local
164 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetNull() local
171 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetGlobal() local
[all …]
Dintrinsics_api_impl.h69 auto ctx = InteropCtx::Current(coro); in JSValueNamedGetter() local
87 auto ctx = InteropCtx::Current(coro); in JSValueNamedSetter() local
103 auto ctx = InteropCtx::Current(coro); in JSValueIndexedGetter() local
129 auto ctx = InteropCtx::Current(coro); in ConvertToLocal() local
147 auto ctx = InteropCtx::Current(coro); in CompilerJSCallFunction() local
175 inline void HandleExceptions(napi_env env, InteropCtx *ctx) in HandleExceptions()
189 auto ctx = InteropCtx::Current(coro); in ConvertFromLocal() local
Djs_refconvert.cpp24 static bool IsFunctionClass(InteropCtx *ctx, Class *klass) in IsFunctionClass()
37 static std::unique_ptr<JSRefConvert> JSRefConvertCreateImpl(InteropCtx *ctx, Class *klass) in JSRefConvertCreateImpl()
61 JSRefConvert *JSRefConvertCreate(InteropCtx *ctx, Class *klass) in JSRefConvertCreate()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dtest_utils.h48 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocNonMovableObject() local
58 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); variable
70 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); variable
80 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocObjectInYoung() local
Dmonitor_test.cpp65 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
76 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
91 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
111 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
127 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
141 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
160 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
183 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
205 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
220 …LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::PANDA_ASSE… in TEST_F() local
[all …]
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
DforLoopCorrectlyInitialized.cpp23 [[nodiscard]] CheckResult ForLoopCorrectlyInitialized::operator()(CheckContext &ctx, const ir::AstN… in operator ()()
39 [[nodiscard]] CheckResult ForLoopCorrectlyInitialized::HandleForInStatement(CheckContext &ctx, cons… in HandleForInStatement()
55 [[nodiscard]] CheckResult ForLoopCorrectlyInitialized::HandleForOfStatement(CheckContext &ctx, cons… in HandleForOfStatement()
71 [[nodiscard]] CheckResult ForLoopCorrectlyInitialized::HandleForUpdateStatement(CheckContext &ctx, in HandleForUpdateStatement()
DmodifierAccessValid.cpp24 [[nodiscard]] CheckResult ModifierAccessValid::operator()(CheckContext &ctx, const ir::AstNode *ast) in operator ()()
35 CheckResult ModifierAccessValid::HandleMethodExpression(CheckContext &ctx, const ir::AstNode *ast) in HandleMethodExpression()
49 CheckResult ModifierAccessValid::HandleCallExpression(CheckContext &ctx, const ir::AstNode *ast) in HandleCallExpression()
DcheckInfiniteLoop.cpp24 [[nodiscard]] CheckResult CheckInfiniteLoop::operator()(CheckContext &ctx, const ir::AstNode *ast) in operator ()()
68 [[nodiscard]] CheckResult CheckInfiniteLoop::HandleWhileStatement(CheckContext &ctx, in HandleWhileStatement()
86 [[nodiscard]] CheckResult CheckInfiniteLoop::HandleDoWhileStatement(CheckContext &ctx, in HandleDoWhileStatement()
104 [[nodiscard]] CheckResult CheckInfiniteLoop::HandleForUpdateStatement(CheckContext &ctx, in HandleForUpdateStatement()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
Darg_convertors.h25 static ALWAYS_INLINE bool UnwrapVal(InteropCtx *ctx, napi_env env, napi_value jsVal, FStore &storeR… in UnwrapVal()
41 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertRefArgToEts(InteropCtx *ctx, Class *klass, FS… in ConvertRefArgToEts()
71 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertPrimArgToEts(InteropCtx *ctx, panda_file::Typ… in ConvertPrimArgToEts()
112 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToEts(InteropCtx *ctx, panda_file::Type ty… in ConvertArgToEts()
128 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToEts(InteropCtx *ctx, ProtoReader &protoR… in ConvertArgToEts()
136 static ObjectHeader **DoPackRestParameters(EtsCoroutine *coro, InteropCtx *ctx, ProtoReader &protoR… in DoPackRestParameters()
186 [[maybe_unused]] static ObjectHeader **PackRestParameters(EtsCoroutine *coro, InteropCtx *ctx, Prot… in PackRestParameters()
215 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertRefArgToJS(InteropCtx *ctx, napi_value *resSl… in ConvertRefArgToJS()
253 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToJS(InteropCtx *ctx, ProtoReader &protoRe… in ConvertArgToJS()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_string.h33 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromMUtf8() local
46 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromMUtf8() local
64 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromUtf8() local
81 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromAscii() local
90 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromUtf16() local
107 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromChars() local
115 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromBytes() local
137 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromString() local
150 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewEmptyString() local
157 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in Resolve() local
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dphase.h31 virtual bool Precondition([[maybe_unused]] public_lib::Context *ctx, in Precondition()
37 virtual bool Postcondition([[maybe_unused]] public_lib::Context *ctx, in Postcondition()
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_identifier_has_variable_test_2.cpp41 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
67 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
123 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
145 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
175 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
205 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
235 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dshared_reference.cpp28 bool SharedReference::InitETSObject(InteropCtx *ctx, EtsObject *etsObject, napi_value jsObject, uin… in InitETSObject()
47 bool SharedReference::InitJSObject(InteropCtx *ctx, EtsObject *etsObject, napi_value jsObject, uint… in InitJSObject()
74 bool SharedReference::InitHybridObject(InteropCtx *ctx, EtsObject *etsObject, napi_value jsObject, … in InitHybridObject()
104 InteropCtx *ctx = InteropCtx::Current(coro); in FinalizeJSWeak() local
116 void SharedReference::FinalizeETSWeak(InteropCtx *ctx, EtsObject *cbarg) in FinalizeETSWeak()

1234567891011