| /arkcompiler/runtime_core/static_core/runtime/ |
| D | exceptions.cpp | 38 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 …]
|
| D | string_table.cpp | 25 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/public/ |
| D | e2p_test_plugin.c | 34 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()
|
| D | ast_verifier_identifier_has_variable_test.cpp | 41 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 74 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 99 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 125 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 151 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 207 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
|
| D | es2panda_public_test.cpp | 49 …es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, "function main() {}", "no-error.sts"); in TEST_F() local 57 es2panda_Context *ctx = in TEST_F() local 78 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "list-ids.sts"); in TEST_F() local 84 es2panda_Context *ctx = nullptr; in TEST_F() member
|
| D | ast_verifier_private_access_negative_test_1_4.cpp | 35 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 73 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 112 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 151 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local
|
| D | ast_verifier_variable_has_scope_test.cpp | 40 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 79 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 108 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F() local 145 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/verification/config/debug_breakpoint/ |
| D | breakpoint.h | 39 #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/ |
| D | intrinsics_api_impl.cpp | 31 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 161 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined() local 168 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetNull() local 175 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetGlobal() local [all …]
|
| D | intrinsics_api_impl.h | 69 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
|
| D | js_refconvert.cpp | 24 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()
|
| D | code_scopes.h | 29 auto ctx = InteropCtx::Current(coro_); in coro_() local 42 auto ctx = InteropCtx::Current(EtsCoroutine::CastFromThread(coro_)); in ~InteropCodeScope() local 64 explicit JSNapiEnvScope(InteropCtx *ctx, napi_env newEnv) : ctx_(ctx) in JSNapiEnvScope()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | test_utils.h | 48 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
|
| D | monitor_test.cpp | 65 …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/ |
| D | forLoopCorrectlyInitialized.cpp | 23 [[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()
|
| D | modifierAccessValid.cpp | 24 [[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()
|
| D | checkInfiniteLoop.cpp | 24 [[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/types/ |
| D | ets_string.h | 33 … 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 …]
|
| D | ets_typeapi_create.h | 131 explicit TypeCreator(TypeCreatorCtx *ctx) : ctx_(ctx) {} in TypeCreator() 144 … explicit ClassCreator(pandasm::Record *rec, TypeCreatorCtx *ctx) : TypeCreator(ctx), rec_(rec) {} in ClassCreator() 167 …explicit InterfaceCreator(pandasm::Record *rec, TypeCreatorCtx *ctx) : TypeCreator(ctx), rec_(rec)… in InterfaceCreator() 190 explicit LambdaTypeCreator(TypeCreatorCtx *ctx) : TypeCreator(ctx) in LambdaTypeCreator() 232 PandasmMethodCreator(std::string name, TypeCreatorCtx *ctx) in PandasmMethodCreator()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/ |
| D | arg_convertors.h | 25 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/ets_frontend/ets2panda/compiler/lowering/ |
| D | phase.h | 31 virtual bool Precondition([[maybe_unused]] public_lib::Context *ctx, in Precondition() 37 virtual bool Postcondition([[maybe_unused]] public_lib::Context *ctx, in Postcondition()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
| D | shared_reference.cpp | 28 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()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | parserStatusContext.h | 26 explicit SavedStatusContext(ParserContext *ctx) in SavedStatusContext() 51 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext() 59 explicit IterationContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in IterationContext() 68 explicit FunctionParameterContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in FunctionParameterContext()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | ambientLowering.cpp | 29 bool AmbientLowering::Postcondition(public_lib::Context *ctx, const parser::Program *program) in Postcondition() 44 bool AmbientLowering::Perform(public_lib::Context *ctx, parser::Program *program) in Perform() 66 ir::MethodDefinition *CreateMethodFunctionDefinition(ir::DummyNode *node, public_lib::Context *ctx, in CreateMethodFunctionDefinition() 92 public_lib::Context *ctx) in CreateIndexerMethodIfNeeded()
|
| D | optionalLowering.cpp | 50 …LowerOptionalExpr(GetSource const &getSource, SetSource const &setSource, public_lib::Context *ctx, in LowerOptionalExpr() 78 static ir::AstNode *LowerExpression(public_lib::Context *ctx, ir::MemberExpression *const expr, in LowerExpression() 87 static ir::AstNode *LowerExpression(public_lib::Context *ctx, ir::CallExpression *const expr, in LowerExpression() 112 static ir::AstNode *LowerChain(public_lib::Context *ctx, ir::ChainExpression *const chain) in LowerChain() 124 bool OptionalLowering::Perform(public_lib::Context *ctx, parser::Program *program) in Perform() 145 bool OptionalLowering::Postcondition(public_lib::Context *ctx, const parser::Program *program) in Postcondition()
|