/ark/runtime_core/runtime/ |
D | signal_handler.cpp | 76 …Trace([[maybe_unused]] int signo, [[maybe_unused]] siginfo_t *info, [[maybe_unused]] void *context) in DumpStackTrace() argument 105 static bool CallSignalActionHandler(int sig, siginfo_t *info, void *context) in CallSignalActionHandler() argument 107 return Runtime::GetCurrent()->GetSignalManager()->SignalActionHandler(sig, info, context); in CallSignalActionHandler() 110 bool SignalManager::SignalActionHandler(int sig, siginfo_t *info, void *context) in SignalActionHandler() argument 112 if (InOatCode(info, context, true)) { in SignalActionHandler() 114 if (handler->Action(sig, info, context)) { in SignalActionHandler() 121 if (InOtherCode(sig, info, context)) { in SignalActionHandler() 130 …Manager::InOatCode([[maybe_unused]] const siginfo_t *siginfo, [[maybe_unused]] const void *context, in InOatCode() argument 137 [[maybe_unused]] void *context) in InOtherCode() argument 210 [[maybe_unused]] const void *context, in GetMethodAndReturnPcAndSp() argument [all …]
|
D | signal_handler.h | 40 bool SignalActionHandler(int sig, siginfo_t *info, void *context); 41 bool InOatCode(const siginfo_t *siginfo, const void *context, bool check_bytecode_pc); 42 bool InOtherCode(int sig, siginfo_t *info, void *context); 47 …void GetMethodAndReturnPcAndSp(const siginfo_t *siginfo, const void *context, const Method **out_m… 74 virtual bool Action(int sig, siginfo_t *siginfo, void *context) = 0; 88 bool Action(int sig, siginfo_t *siginfo, void *context) override;
|
D | class_linker.cpp | 48 …lassLinker::AddPandaFile(std::unique_ptr<const panda_file::File> &&pf, ClassLinkerContext *context) in AddPandaFile() argument 58 … panda_files_.push_back({context, std::forward<std::unique_ptr<const panda_file::File>>(pf)}); in AddPandaFile() 61 if (context == nullptr || context->IsBootContext()) { in AddPandaFile() 187 Class *ClassLinker::FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context) in FindLoadedClass() argument 189 ASSERT(context != nullptr); in FindLoadedClass() 190 return context->FindClass(descriptor); in FindLoadedClass() 278 … Span<Class *> interfaces, ClassLinkerContext *context) in GetClassInfo() argument 287 vtable_builder->Build(data_accessor, base, itable_builder->GetITable(), context); in GetClassInfo() 629 …LoadBaseClass(panda_file::ClassDataAccessor *cda, LanguageContext ctx, ClassLinkerContext *context, in LoadBaseClass() argument 640 auto *base_class = ext->GetClass(pf, base_class_id, context, error_handler); in LoadBaseClass() [all …]
|
D | class_linker_extension.cpp | 148 Class *ClassLinkerExtension::FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context… in FindLoadedClass() argument 150 return class_linker_->FindLoadedClass(descriptor, ResolveContext(context)); in FindLoadedClass() 156 ClassLinkerContext *context /* = nullptr */, in GetClass() argument 161 return class_linker_->GetClass(descriptor, need_copy_descriptor, ResolveContext(context), in GetClass() 186 ClassLinkerContext *context /* = nullptr */, in GetClass() argument 191 …auto *cls = class_linker_->GetClass(pf, id, ResolveContext(context), ResolveErrorHandler(error_han… in GetClass() 205 auto *context = klass->GetLoadContext(); in AddClass() local 206 auto *other_klass = ResolveContext(context)->InsertClass(klass); in AddClass()
|
D | runtime.cpp | 682 ClassLinkerContext *context = app_context_.ctx; in ResolveEntryPoint() local 683 if (context == nullptr) { in ResolveEntryPoint() 684 …context = class_linker_->GetExtension(GetLanguageContext(options_.GetRuntimeType()))->GetBootConte… in ResolveEntryPoint() 690 cls = class_linker_->GetClass(class_name_bytes, true, context); in ResolveEntryPoint() 692 cls = class_linker_->GetClass(class_name_bytes, true, context); in ResolveEntryPoint()
|
/ark/runtime_core/runtime/include/ |
D | class_linker.h | 65 … Class *GetClass(const uint8_t *descriptor, bool need_copy_descriptor, ClassLinkerContext *context, 68 …s *GetClass(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context, 74 …Class(const panda_file::File &pf, panda_file::File::EntityId class_id, ClassLinkerContext *context, 77 return LoadClass(&pf, class_id, pf.GetStringData(class_id).data, context, error_handler); 80 …d(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context = nullptr, 88 …d(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context = nullptr, 94 …void AddPandaFile(std::unique_ptr<const panda_file::File> &&pf, ClassLinkerContext *context = null… 248 Class *FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context = nullptr); 255 … Span<Field> fields, Class *base_class, Span<Class *> interfaces, ClassLinkerContext *context, 278 EnumerateContexts([panda_file, &app_context](ClassLinkerContext *context) -> bool { in GetAppContext() [all …]
|
D | class_linker_extension.h | 90 Class *FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context = nullptr); 92 …const uint8_t *descriptor, bool need_copy_descriptor = true, ClassLinkerContext *context = nullptr, 95 …s(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context = nullptr, 149 auto *context = fn(); in RegisterContext() local 150 if (context != nullptr) { in RegisterContext() 151 contexts_.push_back(context); in RegisterContext() 163 for (auto *context : contexts_) { in EnumerateContexts() 164 if (!cb(context)) { in EnumerateContexts() 174 ClassLinkerContext *ResolveContext(ClassLinkerContext *context) in ResolveContext() argument 176 if (context == nullptr) { in ResolveContext() [all …]
|
D | language_context.h | 191 explicit LanguageContext(const LanguageContextBase *context) : base_(context) {} in LanguageContext() argument
|
D | class.h | 550 void SetLoadContext(ClassLinkerContext *context) in SetLoadContext() argument 552 ASSERT(context != nullptr); in SetLoadContext() 553 load_context_ = context; in SetLoadContext()
|
/ark/js_runtime/ecmascript/napi/test/ |
D | jsi_test.cpp | 34 std::string context; in GetLogContent() local 36 context += value->ToString(runtime); in GetLogContent() 38 return context; in GetLogContent() 44 std::string context = GetLogContent(runtime, argument); in AppDebugLogPrint() local 45 std::cout << context.c_str() << std::endl; in AppDebugLogPrint() 52 std::string context = GetLogContent(runtime, argument); in Setter() local 53 std::cout << context.c_str() << std::endl; in Setter() 60 std::string context = GetLogContent(runtime, argument); in Getter() local
|
/ark/runtime_core/verification/debug/config/ |
D | config_parse.cpp | 101 Context context; in ParseConfig() local 103 context.current.name = "config"; in ParseConfig() 105 if (SECTION(context, str, &str[std::strlen(str)])) { // NOLINT in ParseConfig() 106 cfg = context.current; in ParseConfig()
|
/ark/runtime_core/verification/models/ |
D | README.md | 3 Using Alloy to prove that we may use simple set intersection of reg supertypes during context merge… 26 1. `example` - to show models of proper supertypes calculation during context merge and checking of… 28 …h for counterexamples), where supertypes intersection calculation during context merge does not le…
|
/ark/js_runtime/ecmascript/interpreter/ |
D | slow_runtime_helper.cpp | 83 void SlowRuntimeHelper::SaveFrameToContext(JSThread *thread, JSHandle<GeneratorContext> context) in SaveFrameToContext() argument 93 context->SetRegsArray(thread, regsArray.GetTaggedValue()); in SaveFrameToContext() 94 context->SetMethod(thread, frameHandler.GetFunction()); in SaveFrameToContext() 96 context->SetAcc(thread, frameHandler.GetAcc()); in SaveFrameToContext() 97 context->SetLexicalEnv(thread, thread->GetCurrentLexenv()); in SaveFrameToContext() 98 context->SetNRegs(nregs); in SaveFrameToContext() 99 context->SetBCOffset(frameHandler.GetBytecodeOffset()); in SaveFrameToContext()
|
D | slow_runtime_helper.h | 32 static void SaveFrameToContext(JSThread *thread, JSHandle<GeneratorContext> context);
|
D | interpreter.h | 53 …ne JSTaggedValue GeneratorReEnterInterpreter(JSThread *thread, JSHandle<GeneratorContext> context); 54 static inline void ChangeGenContext(JSThread *thread, JSHandle<GeneratorContext> context);
|
/ark/runtime_core/verification/debug/ |
D | Debug.cmake | 15 ${VERIFICATION_SOURCES_DIR}/debug/context/context.cpp
|
/ark/runtime_core/verification/models/contexts_merge/ |
D | check_set_intersection_as_lub.als | 35 -- r1,r2,r3 - reg values accured during context calculation 36 -- arg - is some type to be checked for compatibility with context 65 -- select target arg, that will be checked against merged context 70 arg.CorrectSubtyping[comp_types] -- and arg is checked against this new context
|
/ark/runtime_core/verification/ |
D | verification.gni | 47 "$ark_root/verification/debug/context/context.cpp",
|
/ark/runtime_core/runtime/tooling/ |
D | pt_hooks_wrapper.h | 335 void ExecutionContextCreated(ExecutionContextWrapper context) override in ExecutionContextCreated() argument 344 hooks_->ExecutionContextCreated(context); in ExecutionContextCreated() 347 void ExecutionContextDestroyed(ExecutionContextWrapper context) override in ExecutionContextDestroyed() argument 356 hooks_->ExecutionContextDestroyed(context); in ExecutionContextDestroyed()
|
/ark/runtime_core/docs/ |
D | runtime-class.md | 40 …pes::Class` one and vice versa without dereferencies if we know language context and it's constant… 73 In common places where language context can be different we can use `panda::Class::GetManagedObject…
|
/ark/runtime_core/docs/bc_verification/ |
D | absint_checks.md | 25 This type of checks ensure correctness of context on exception handler entry.
|
/ark/runtime_core/runtime/include/tooling/ |
D | debug_interface.h | 340 virtual void ExecutionContextCreated(ExecutionContextWrapper context) = 0; 342 virtual void ExecutionContextDestroyed(ExecutionContextWrapper context) = 0;
|
/ark/js_runtime/ecmascript/compiler/tests/ |
D | stub_tests.cpp | 576 LLVMContextRef context = LLVMGetGlobalContext(); in HWTEST_F_L0() local 587 LLVMTypeRef llvmI32 = LLVMInt32TypeInContext(context); in HWTEST_F_L0() 588 LLVMTypeRef llvmI64 = LLVMInt64TypeInContext(context); in HWTEST_F_L0() 590 … LLVMTypeRef threadTy = LLVMStructTypeInContext(context, elements_t.data(), elements_t.size(), 0); in HWTEST_F_L0() 781 LLVMContextRef context = LLVMGetGlobalContext(); in HWTEST_F_L0() local 784 LLVMTypeRef llvmI64 = LLVMInt64TypeInContext(context); in HWTEST_F_L0() 786 … LLVMTypeRef threadTy = LLVMStructTypeInContext(context, elements_t.data(), elements_t.size(), 0); in HWTEST_F_L0() 859 llvm::LLVMContext context; in HWTEST_F_L0() local 862 std::unique_ptr<llvm::Module> rawModule = parseIRFile(inputFilename, err, context); in HWTEST_F_L0()
|
/ark/runtime_core/assembler/ |
D | BUILD.gn | 35 "context.cpp",
|
D | CMakeLists.txt | 43 context.cpp
|