Home
last modified time | relevance | path

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

12345678910>>...15

/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.cpp24 const LanguageContext &ctx) in GetOrInternString()
35 const LanguageContext &ctx) in GetOrInternString()
44 …ypes::String *StringTable::GetOrInternString(coretypes::String *string, const LanguageContext &ctx) in GetOrInternString()
54 const LanguageContext &ctx) in GetOrInternInternalString()
90 [[maybe_unused]] const LanguageContext &ctx) in GetString()
104 [[maybe_unused]] const LanguageContext &ctx) in GetString()
117 …ringTable::Table::GetString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in GetString()
131 …e::Table::ForceInternString(coretypes::String *string, [[maybe_unused]] const LanguageContext &ctx) in ForceInternString()
138 [[maybe_unused]] const LanguageContext &ctx) in InternString()
166 … bool canBeCompressed, const LanguageContext &ctx) in GetOrInternString()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
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_AfterBind(es2panda_Context *ctx) in e2p_test_plugin_AfterBind()
52 void e2p_test_plugin_AfterCheck(es2panda_Context *ctx) in e2p_test_plugin_AfterCheck()
57 void e2p_test_plugin_AfterLowerings(es2panda_Context *ctx) in e2p_test_plugin_AfterLowerings()
De2p_test_plugin_after_bind.cpp32 es2panda_Context *ctx = reinterpret_cast<es2panda_Context *>(arg); in HasScope() local
45 void e2p_test_plugin_after_bind_AfterParse([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_after_bind_AfterParse()
47 void e2p_test_plugin_after_bind_AfterBind(es2panda_Context *ctx) in e2p_test_plugin_after_bind_AfterBind()
53 void e2p_test_plugin_after_bind_AfterCheck([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_after_bind_AfterCheck()
55 void e2p_test_plugin_after_bind__AfterLowerings([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_after_bind__AfterLowerings()
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_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_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_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()
66 void CreateNewFunctions(es2panda_Context *ctx, es2panda_AstNode *ast) in CreateNewFunctions()
92 void e2p_test_plugin_ets_benchmark_test_AfterParse(es2panda_Context *ctx) in e2p_test_plugin_ets_benchmark_test_AfterParse()
100 void e2p_test_plugin_ets_benchmark_test_AfterCheck([[maybe_unused]] es2panda_Context *ctx) {} in e2p_test_plugin_ets_benchmark_test_AfterCheck()
102 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()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dphase.h34 virtual bool Precondition([[maybe_unused]] public_lib::Context *ctx, in Precondition()
40 virtual bool Postcondition([[maybe_unused]] public_lib::Context *ctx, in Postcondition()
58 virtual bool PreconditionForModule([[maybe_unused]] public_lib::Context *ctx, in PreconditionForModule()
64 virtual bool PostconditionForModule([[maybe_unused]] public_lib::Context *ctx, in PostconditionForModule()
80 virtual bool PreconditionForModule([[maybe_unused]] public_lib::Context *ctx, in PreconditionForModule()
86 virtual bool PostconditionForModule([[maybe_unused]] public_lib::Context *ctx, in PostconditionForModule()
/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/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/test/unit/lsp/
Dsuggestion_diagnostics_test_1.cpp32 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
45 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
59 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
73 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
86 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
99 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
112 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
125 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
138 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
151 … es2panda_Context *ctx = initializer.CreateContext("sug-diag.ets", ES2PANDA_STATE_CHECKED, source); in TEST_F() local
[all …]
Dget_implementation_location.cpp34 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
49 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
64 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
79 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
94 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
109 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
126 … es2panda_Context *ctx = initializer.CreateContext("dummy-node.ets", ES2PANDA_STATE_CHECKED, code); in TEST_F() local
150 es2panda_Context *ctx = in TEST_F() local
Dclassifier_test.cpp28 …es2panda_Context *ctx = initializer.CreateContext("class-name.ets", ES2PANDA_STATE_PARSED, R"(clas… in TEST_F() local
46 es2panda_Context *ctx = in TEST_F() local
65 es2panda_Context *ctx = in TEST_F() local
84 es2panda_Context *ctx = in TEST_F() local
103 es2panda_Context *ctx = in TEST_F() local
122 es2panda_Context *ctx = in TEST_F() local
141 …es2panda_Context *ctx = initializer.CreateContext("number-type.ets", ES2PANDA_STATE_PARSED, R"(let… in TEST_F() local
159 …es2panda_Context *ctx = initializer.CreateContext("string-type.ets", ES2PANDA_STATE_PARSED, R"(let… in TEST_F() local
177 …es2panda_Context *ctx = initializer.CreateContext("boolean-type.ets", ES2PANDA_STATE_PARSED, R"(le… in TEST_F() local
205 …es2panda_Context *ctx = initializer.CreateContext("null-type.ets", ES2PANDA_STATE_PARSED, R"(type … in TEST_F() local
[all …]
Dget_current_token_value_test.cpp32 …es2panda_Context *ctx = initializer.CreateContext("current_token.ets", ES2PANDA_STATE_CHECKED, "ab… in TEST_F() local
43 … es2panda_Context *ctx = initializer.CreateContext("file1.ets", ES2PANDA_STATE_CHECKED, "\"ab\""); in TEST_F() local
54 … es2panda_Context *ctx = initializer.CreateContext("file1.ets", ES2PANDA_STATE_CHECKED, "\'ab\'"); in TEST_F() local
65 es2panda_Context *ctx = initializer.CreateContext("file1.ets", ES2PANDA_STATE_CHECKED, "abc"); in TEST_F() local
78 …es2panda_Context *ctx = initializer.CreateContext("token-pos-identifier.ets", ES2PANDA_STATE_CHECK… in TEST_F() local
99 …es2panda_Context *ctx = initializer.CreateContext("token-pos-expression.ets", ES2PANDA_STATE_CHECK… in TEST_F() local
119 es2panda_Context *ctx = initializer.CreateContext( in TEST_F() local
Dbrace_matching_test.cpp32 …es2panda_Context *ctx = initializer.CreateContext("at-eof.ets", ES2PANDA_STATE_CHECKED, "function … in TEST_F() local
52 es2panda_Context *ctx = in TEST_F() local
72 …es2panda_Context *ctx = initializer.CreateContext("emptybraces.ets", ES2PANDA_STATE_CHECKED, "func… in TEST_F() local
96 es2panda_Context *ctx = in TEST_F() local
120 es2panda_Context *ctx = in TEST_F() local
144 …es2panda_Context *ctx = initializer.CreateContext("paramdec.ets", ES2PANDA_STATE_CHECKED, "export … in TEST_F() local
167 es2panda_Context *ctx = in TEST_F() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp55 auto ctx = InteropCtx::Current(coro); in LoadJSModule() local
84 auto ctx = InteropCtx::Current(coro); in JSRuntimeFinalizationRegistryCallback() local
96 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueDouble() local
107 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueBoolean() local
118 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueString() local
139 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueObject() local
184 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueBigInt() local
216 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueString() local
241 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueObject() local
287 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined() local
[all …]
Dintrinsics_api_impl.h91 auto ctx = InteropCtx::Current(coro); in JSValueNamedGetter() local
113 auto ctx = InteropCtx::Current(coro); in JSValueNamedSetter() local
130 auto ctx = InteropCtx::Current(coro); in JSValueIndexedGetter() local
165 auto ctx = InteropCtx::Current(coro); in JSValueIndexedSetter() local
185 auto ctx = InteropCtx::Current(coro); in ConvertToLocal() local
208 InteropCtx *ctx = nullptr; in CompilerJSCallFunction() local
251 inline void HandleExceptions(napi_env env, InteropCtx *ctx) in HandleExceptions()
263 auto ctx = InteropCtx::Current(coro); in ConvertFromLocal() local
Dcode_scopes.h29 auto ctx = InteropCtx::Current(coro_); in coro_() local
39 auto ctx = InteropCtx::Current(EtsCoroutine::CastFromThread(coro_)); in ~InteropCodeScope() local
59 auto ctx = InteropCtx::Current(); in ~InteropCodeScopeJS() local
Djs_refconvert.cpp26 static bool IsFunctionClass(InteropCtx *ctx, Class *klass) in IsFunctionClass()
47 static std::unique_ptr<JSRefConvert> JSRefConvertCreateImpl(InteropCtx *ctx, Class *klass) in JSRefConvertCreateImpl()
79 JSRefConvert *JSRefConvertCreate(InteropCtx *ctx, Class *klass) in JSRefConvertCreate()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
Darg_convertors.h26 static ALWAYS_INLINE bool UnwrapVal(InteropCtx *ctx, napi_env env, napi_value jsVal, FStore &storeR… in UnwrapVal()
42 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertRefArgToEts(InteropCtx *ctx, Class *klass, FS… in ConvertRefArgToEts()
75 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertPrimArgToEts(InteropCtx *ctx, panda_file::Typ… in ConvertPrimArgToEts()
116 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToEts(InteropCtx *ctx, panda_file::Type ty… in ConvertArgToEts()
127 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToEts(InteropCtx *ctx, ProtoReader &protoR… in ConvertArgToEts()
135 static ObjectHeader **DoPackRestParameters(EtsCoroutine *coro, InteropCtx *ctx, ProtoReader &protoR… in DoPackRestParameters()
186 [[maybe_unused]] static ObjectHeader **PackRestParameters(EtsCoroutine *coro, InteropCtx *ctx, Prot… in PackRestParameters()
237 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertRefArgToJS(InteropCtx *ctx, napi_value *resSl… in ConvertRefArgToJS()
280 [[nodiscard]] static ALWAYS_INLINE inline bool ConvertArgToJS(InteropCtx *ctx, ProtoReader &protoRe… in ConvertArgToJS()

12345678910>>...15