| /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() 89 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 …]
|
| 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 …]
|
| D | class_linker_extension.cpp | 30 for (auto *ctx : contexts_) { in ~ClassLinkerExtension() local 172 const LanguageContext &ctx) in WrapClassNotFoundExceptionIfNeeded() 206 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(GetLanguage()); in GetClass() local 237 for (auto *ctx : contexts_) { in NumLoadedClasses() local 249 for (auto *ctx : contexts_) { in VisitLoadedClasses() local 266 for (auto *ctx : contexts_) { in FreeLoadedClasses() local 286 ClassLinkerContext *ctx = CreateApplicationClassLinkerContext(std::move(appFiles)); in CreateApplicationClassLinkerContext() local 299 auto *ctx = allocator->New<AppContext>(this, std::move(appFilePtrs)); in CreateApplicationClassLinkerContext() local
|
| /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 | es2panda_public_test.cpp | 47 …es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, "function main() {}", "no-error.ets"); in TEST_F() local 55 es2panda_Context *ctx = in TEST_F() local 76 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "list-ids.ets"); in TEST_F() local 82 es2panda_Context *ctx = nullptr; in TEST_F() member
|
| D | ast_verifier_test.cpp | 357 …es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, PRIVATE_PROTECTED_PUBLIC_TEST, "dummy… in TEST_F() local 382 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 420 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 459 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 498 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 539 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 592 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 645 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 693 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local 730 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.ets"); in TEST_F() local [all …]
|
| /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 JSRuntimeFinalizationQueueCallback() local 41 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueDouble() local 48 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueString() local 65 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueObject() local 94 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueString() local 115 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueObject() local 154 auto ctx = InteropCtx::Current(coro); in JSValueNamedGetter() local 171 auto ctx = InteropCtx::Current(coro); in JSValueNamedSetter() local 186 auto ctx = InteropCtx::Current(coro); in JSValueIndexedGetter() local 210 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined() local [all …]
|
| D | js_value.h | 69 static JSValue *CreateUndefined(EtsCoroutine *coro, InteropCtx *ctx) in CreateUndefined() 74 static JSValue *CreateNull(EtsCoroutine *coro, InteropCtx *ctx) in CreateNull() 84 static JSValue *CreateBoolean(EtsCoroutine *coro, InteropCtx *ctx, bool value) in CreateBoolean() 94 static JSValue *CreateNumber(EtsCoroutine *coro, InteropCtx *ctx, double value) in CreateNumber() 104 static JSValue *CreateString(EtsCoroutine *coro, InteropCtx *ctx, std::string &&value) in CreateString() 114 …static JSValue *CreateRefValue(EtsCoroutine *coro, InteropCtx *ctx, napi_value value, napi_valuety… in CreateRefValue() 199 static JSValue *AllocUndefined(EtsCoroutine *coro, InteropCtx *ctx) in AllocUndefined()
|
| D | js_refconvert.cpp | 23 static std::unique_ptr<JSRefConvert> JSRefConvertCreateImpl(InteropCtx *ctx, Class *klass) in JSRefConvertCreateImpl() 42 JSRefConvert *JSRefConvertCreate(InteropCtx *ctx, Class *klass) in JSRefConvertCreate()
|
| D | js_value.cpp | 27 auto ctx = InteropCtx::Current(coro); in AttachFinalizer() local 46 void JSValue::FinalizeETSWeak(InteropCtx *ctx, EtsObject *cbarg) in FinalizeETSWeak() 69 JSValue *JSValue::Create(EtsCoroutine *coro, InteropCtx *ctx, napi_value nvalue) in Create()
|
| D | js_refconvert_array.h | 57 napi_value WrapImpl(InteropCtx *ctx, EtsObject *obj) in WrapImpl() 83 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsArr) in UnwrapImpl() 138 napi_value WrapImpl(InteropCtx *ctx, EtsObject *obj) in WrapImpl() 174 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsArr) in UnwrapImpl() 223 JSRefConvert *GetElemConvertor(InteropCtx *ctx, EtsClass *elemEtsKlass) in GetElemConvertor()
|
| /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 CreateFromUtf16() local 98 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromChars() local 106 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromBytes() local 128 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewStringFromString() local 141 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateNewEmptyString() local 148 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in Resolve() local 156 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in Concat() local [all …]
|
| D | ets_typeapi_create.h | 133 explicit TypeCreator(TypeCreatorCtx *ctx) : ctx_(ctx) {} in TypeCreator() 146 … explicit ClassCreator(pandasm::Record *rec, TypeCreatorCtx *ctx) : TypeCreator(ctx), rec_(rec) {} in ClassCreator() 169 …explicit InterfaceCreator(pandasm::Record *rec, TypeCreatorCtx *ctx) : TypeCreator(ctx), rec_(rec)… in InterfaceCreator() 192 explicit LambdaTypeCreator(TypeCreatorCtx *ctx) : TypeCreator(ctx) in LambdaTypeCreator() 234 PandasmMethodCreator(std::string name, TypeCreatorCtx *ctx) in PandasmMethodCreator()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| 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 …]
|
| 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); in AllocArray() local 70 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocString() local 79 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocObjectInYoung() local
|
| /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() 99 InteropCtx *ctx = InteropCtx::Current(coro); in FinalizeJSWeak() local 111 void SharedReference::FinalizeETSWeak(InteropCtx *ctx, EtsObject *cbarg) in FinalizeETSWeak()
|
| D | ets_class_wrapper.cpp | 35 napi_value WrapImpl(InteropCtx *ctx, EtsObject *etsObject) in WrapImpl() 39 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsValue) in UnwrapImpl() 48 napi_value EtsClassWrapper::Wrap(InteropCtx *ctx, EtsObject *etsObject) in Wrap() 72 EtsObject *EtsClassWrapper::Unwrap(InteropCtx *ctx, napi_value jsValue) in Unwrap() 104 EtsObject *EtsClassWrapper::UnwrapEtsProxy(InteropCtx *ctx, napi_value jsValue) in UnwrapEtsProxy() 137 EtsObject *EtsClassWrapper::CreateJSBuiltinProxy(InteropCtx *ctx, napi_value jsValue) in CreateJSBuiltinProxy() 157 std::unique_ptr<JSRefConvert> EtsClassWrapper::CreateJSRefConvertEtsProxy(InteropCtx *ctx, Class *k… in CreateJSRefConvertEtsProxy() 172 napi_value WrapImpl(InteropCtx *ctx, EtsObject *etsObject) in WrapImpl() 181 EtsObject *UnwrapImpl(InteropCtx *ctx, [[maybe_unused]] napi_value jsValue) in UnwrapImpl() 188 …ique_ptr<JSRefConvert> EtsClassWrapper::CreateJSRefConvertJSProxy([[maybe_unused]] InteropCtx *ctx, in CreateJSRefConvertJSProxy() [all …]
|
| D | shared_reference_storage.cpp | 76 inline SharedReference *SharedReferenceStorage::CreateReference(InteropCtx *ctx, EtsObject *etsObje… in CreateReference() 96 SharedReference *SharedReferenceStorage::CreateETSObjectRef(InteropCtx *ctx, EtsObject *etsObject, … in CreateETSObjectRef() 101 SharedReference *SharedReferenceStorage::CreateJSObjectRef(InteropCtx *ctx, EtsObject *etsObject, n… in CreateJSObjectRef() 106 SharedReference *SharedReferenceStorage::CreateHybridObjectRef(InteropCtx *ctx, EtsObject *etsObjec… in CreateHybridObjectRef()
|
| D | ets_method_wrapper.cpp | 35 std::unique_ptr<EtsMethodWrapper> EtsMethodWrapper::CreateFunction(InteropCtx *ctx, EtsMethod *etsM… in CreateFunction() 51 EtsMethodWrapper *EtsMethodWrapper::GetMethod(InteropCtx *ctx, EtsMethod *etsMethod) in GetMethod() 66 EtsMethodWrapper *EtsMethodWrapper::GetFunction(InteropCtx *ctx, EtsMethod *etsMethod) in GetFunction() 102 InteropCtx *ctx = InteropCtx::Current(coro); in EtsMethodCallHandler() local
|
| /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/intrinsics/ |
| D | std_core_TypeCreator.cpp | 46 EtsString *ErrorFromCtx(TypeCreatorCtx *ctx) in ErrorFromCtx() 54 pandasm::Type GetPandasmTypeFromDescriptor(TypeCreatorCtx *ctx, std::string_view descriptor) in GetPandasmTypeFromDescriptor() 94 PandasmMethodCreator CreateCopiedMethod(TypeCreatorCtx *ctx, const std::string &prefix, EtsMethod *… in CreateCopiedMethod() 163 EtsVoid *TypeAPITypeCreatorCtxDestroy(EtsLong ctx) in TypeAPITypeCreatorCtxDestroy() 175 auto ctx = PtrFromLong<TypeCreatorCtx>(ctxPtr); in TypeAPITypeCreatorCtxCommit() local 202 auto ctx = PtrFromLong<TypeCreatorCtx>(ctxPtr); in TypeAPITypeCreatorCtxClassCreate() local 221 auto ctx = PtrFromLong<TypeCreatorCtx>(ctxPtr); in TypeAPITypeCreatorCtxInterfaceCreate() local 238 auto ctx = PtrFromLong<TypeCreatorCtx>(ctxPtr); in TypeAPITypeCreatorCtxGetError() local 244 auto ctx = PtrFromLong<TypeCreatorCtx>(ctxPtr); in TypeAPITypeCreatorCtxGetObjectsArrayForCCtor() local 336 auto ctx = m->Ctx(); in TypeAPITypeCreatorCtxMethodAddBodyFromMethod() local [all …]
|
| D | escompat_ArrayBuffer.cpp | 29 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in EtsArrayBufferFrom() local 34 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in EtsArrayBufferFrom() local
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | ASTVerifier.cpp | 220 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 239 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 260 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 282 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 303 … ASTVerifier::ErrorContext &ctx, in GetLocalScopeVariable() 321 bool ScopeEncloseVariable(ASTVerifier::ErrorContext &ctx, const varbinder::LocalVariable *var) in ScopeEncloseVariable() 362 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 384 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 423 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() 453 ASTVerifier::CheckResult operator()(ASTVerifier::ErrorContext &ctx, const ir::AstNode *ast) in operator ()() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | class_linker-inl.h | 36 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(caller); in GetClass() local 49 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*klass); in AddClassRoot() local
|