/arkcompiler/toolchain/tooling/test/ |
H A D | debugger_service_test.cpp | 39 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 44 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 48 EcmaVM *ecmaVm {nullptr}; 55 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0() 57 InitializeDebugger(ecmaVm, nullptr); in HWTEST_F_L0() 58 handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0() 60 InitializeDebugger(ecmaVm, nullptr); in HWTEST_F_L0() 69 UninitializeDebugger(ecmaVm); in HWTEST_F_L0() 70 InitializeDebugger(ecmaVm, nullptr); in HWTEST_F_L0() 71 ProtocolHandler *handler = ecmaVm in HWTEST_F_L0() [all...] |
H A D | debugger_impl_test.cpp | 70 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 75 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 79 EcmaVM *ecmaVm {nullptr}; 90 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 91 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel); in HWTEST_F_L0() 92 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get()); in HWTEST_F_L0() 114 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 115 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel); in HWTEST_F_L0() 116 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get()); in HWTEST_F_L0() 117 ecmaVm in HWTEST_F_L0() [all...] |
H A D | heapprofiler_impl_test.cpp | 74 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope);
79 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope);
83 EcmaVM *ecmaVm {nullptr};
92 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 101 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 110 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 119 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 128 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 139 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() 150 auto heapProfiler = std::make_unique<HeapProfilerImpl>(ecmaVm, channe in HWTEST_F_L0() [all...] |
H A D | profiler_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 55 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 64 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 74 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 86 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 97 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 107 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() 116 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channe in HWTEST_F_L0() [all...] |
H A D | js_pt_hooks_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 56 EcmaVM *ecmaVm {nullptr}; 63 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 74 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 82 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 93 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 103 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 111 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullptr, nullptr); in HWTEST_F_L0() 119 auto debugger = std::make_unique<DebuggerImpl>(ecmaVm, nullpt in HWTEST_F_L0() [all...] |
H A D | debugger_commands_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 49 ecmaVm->SetEnableForceGC(false); 54 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 58 EcmaVM *ecmaVm {nullptr}; 65 std::unique_ptr<JSDebugger> debugger = std::make_unique<JSDebugger>(ecmaVm); in HWTEST_F_L0()
|
H A D | tracing_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 55 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() 68 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() 77 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() 86 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() 99 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 100 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() 121 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() [all...] |
H A D | runtime_impl_test.cpp | 39 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope);
44 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope);
48 EcmaVM *ecmaVm {nullptr};
58 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm);
in HWTEST_F_L0() 59 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, channel);
in HWTEST_F_L0() 81 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm);
in HWTEST_F_L0() 82 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, channel);
in HWTEST_F_L0() 100 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm);
in HWTEST_F_L0() 101 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, channel);
in HWTEST_F_L0() 119 ProtocolChannel *channel = new ProtocolHandler(callback, ecmaVm);
in HWTEST_F_L0() [all...] |
H A D | page_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 58 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 74 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
|
H A D | overlay_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 58 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 74 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
|
H A D | dom_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 58 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 74 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
|
H A D | target_impl_test.cpp | 38 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 43 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 47 EcmaVM *ecmaVm {nullptr}; 58 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0() 74 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm); in HWTEST_F_L0()
|
H A D | protocol_handler_test.cpp | 37 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 42 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 46 EcmaVM *ecmaVm {nullptr}; 56 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0() 68 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0() 82 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0() 96 auto protocol = std::make_unique<ProtocolHandler>(callback, ecmaVm); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.cpp | 58 uint32_t DebuggerApi::GetStackDepth(const EcmaVM *ecmaVm) in GetStackDepth() argument 61 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepth() 71 std::shared_ptr<FrameHandler> DebuggerApi::NewFrameHandler(const EcmaVM *ecmaVm) in NewFrameHandler() argument 73 return std::make_shared<FrameHandler>(ecmaVm->GetJSThread()); in NewFrameHandler() 76 bool DebuggerApi::StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)> func) in StackWalker() argument 78 FrameHandler frameHandler(ecmaVm->GetJSThread()); in StackWalker() 95 uint32_t DebuggerApi::GetStackDepthOverBuiltin(const EcmaVM *ecmaVm) in GetStackDepthOverBuiltin() argument 98 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepthOverBuiltin() 114 uint32_t DebuggerApi::GetBytecodeOffset(const EcmaVM *ecmaVm) in GetBytecodeOffset() argument 116 return FrameHandler(ecmaVm in GetBytecodeOffset() 119 GetMethod(const EcmaVM *ecmaVm) GetMethod() argument 143 IsNativeMethod(const EcmaVM *ecmaVm) IsNativeMethod() argument 158 GetJSPandaFile(const EcmaVM *ecmaVm) GetJSPandaFile() argument 209 GetVRegValue(const EcmaVM *ecmaVm, const FrameHandler *frameHandler, size_t index) GetVRegValue() argument 218 GetAndClearException(const EcmaVM *ecmaVm) GetAndClearException() argument 226 SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception) SetException() argument 231 ClearException(const EcmaVM *ecmaVm) ClearException() argument 243 CreateJSDebugger(const EcmaVM *ecmaVm) CreateJSDebugger() argument 329 GetProperties(const EcmaVM *ecmaVm, const FrameHandler *frameHandler, int32_t level, uint32_t slot) GetProperties() argument 343 SetProperties(const EcmaVM *ecmaVm, const FrameHandler *frameHandler, int32_t level, uint32_t slot, Local<JSValueRef> value) SetProperties() argument 378 GetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name) GetGlobalValue() argument 403 SetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name, Local<JSValueRef> value) SetGlobalValue() argument 426 GetCurrentModule(const EcmaVM *ecmaVm) GetCurrentModule() argument 449 GetImportModule(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name) GetImportModule() argument 491 GetModuleVariableIndex(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name) GetModuleVariableIndex() argument 526 GetRequestModuleIndex(const EcmaVM *ecmaVm, JSTaggedValue moduleRequest, const JSHandle<JSTaggedValue> ¤tModule) GetRequestModuleIndex() argument 547 GetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name) GetExportVariableValue() argument 574 SetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name, Local<JSValueRef> value) SetExportVariableValue() argument 600 GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name) GetModuleValue() argument 618 SetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, std::string &name, Local<JSValueRef> value) SetModuleValue() argument 639 InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, const JSHandle<JSTaggedValue> ¤tModule) InitializeExportVariables() argument 672 GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, const JSHandle<JSTaggedValue> ¤tModule, bool isImportStar) GetLocalExportVariables() argument 724 GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, const JSHandle<JSTaggedValue> ¤tModule) GetIndirectExportVariables() argument 765 GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, const JSHandle<JSTaggedValue> ¤tModule) GetImportVariables() argument 814 HandleUncaughtException(const EcmaVM *ecmaVm, std::string &message) HandleUncaughtException() argument 834 GenerateFuncFromBuffer(const EcmaVM *ecmaVm, const void *buffer, size_t size, std::string_view entryPoint) GenerateFuncFromBuffer() argument 849 EvaluateViaFuncCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef, std::shared_ptr<FrameHandler> &frameHandler) EvaluateViaFuncCall() argument 868 CallFunctionOnCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef, std::shared_ptr<FrameHandler> &frameHandler) CallFunctionOnCall() argument 887 IsExceptionCaught(const EcmaVM *ecmaVm) IsExceptionCaught() argument 902 GetPatchExtractors(const EcmaVM *ecmaVm, const std::string &url) GetPatchExtractors() argument 908 GetBaseJSPandaFile(const EcmaVM *ecmaVm, const JSPandaFile *jsPandaFile) GetBaseJSPandaFile() argument 914 GetNativePointer(const EcmaVM *ecmaVm) GetNativePointer() argument 947 GetContainerLength(const EcmaVM *ecmaVm, Local<JSValueRef> value) GetContainerLength() argument 953 AddInternalProperties(const EcmaVM *ecmaVm, Local<ObjectRef> object, ArkInternalValueType type, Global<MapRef> internalObjects) AddInternalProperties() argument 962 GetArrayListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetArrayListValue() argument 979 GetDequeValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetDequeValue() argument 996 GetHashMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetHashMapValue() argument 1030 GetHashSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetHashSetValue() argument 1064 GetLightWeightMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetLightWeightMapValue() argument 1091 GetLightWeightSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetLightWeightSetValue() argument 1116 GetLinkedListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetLinkedListValue() argument 1136 GetListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetListValue() argument 1156 GetPlainArrayValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetPlainArrayValue() argument 1183 GetQueueValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetQueueValue() argument 1202 GetStackValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetStackValue() argument 1219 GetTreeMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetTreeMapValue() argument 1248 GetTreeSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetTreeSetValue() argument 1276 GetVectorValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, Global<MapRef> internalObjects) GetVectorValue() argument 1293 CheckPromiseQueueSize(const EcmaVM *ecmaVm) CheckPromiseQueueSize() argument 1303 CheckIsSendableMethod(const EcmaVM *ecmaVm) CheckIsSendableMethod() argument 1313 DropLastFrame(const EcmaVM *ecmaVm) DropLastFrame() argument [all...] |
H A D | debugger_api.h | 79 static uint32_t GetStackDepth(const EcmaVM *ecmaVm); 80 static std::shared_ptr<FrameHandler> NewFrameHandler(const EcmaVM *ecmaVm); 81 static bool StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)> func); 82 static uint32_t GetStackDepthOverBuiltin(const EcmaVM *ecmaVm); 84 static uint32_t GetBytecodeOffset(const EcmaVM *ecmaVm); 86 static std::unique_ptr<PtMethod> GetMethod(const EcmaVM *ecmaVm); 88 static bool IsNativeMethod(const EcmaVM *ecmaVm); 90 static JSPandaFile *GetJSPandaFile(const EcmaVM *ecmaVm); 95 static Local<JSValueRef> GetVRegValue(const EcmaVM *ecmaVm, 99 static Local<JSValueRef> GetProperties(const EcmaVM *ecmaVm, cons [all...] |
/arkcompiler/ets_runtime/ecmascript/debugger/tests/ |
H A D | hot_reload_manager_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 48 JSNApi::SetBundle(ecmaVm, false); 49 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler()); 54 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(nullptr); 55 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 58 EcmaVM *ecmaVm {nullptr}; 69 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in HWTEST_F_L0() 70 JSNApi::EnableUserUncaughtErrorHandler(ecmaVm); in HWTEST_F_L0() 72 bool result = JSNApi::Execute(ecmaVm, baseFileName, "index"); in HWTEST_F_L0() 79 auto res = JSNApi::LoadPatch(ecmaVm, patchFileNam in HWTEST_F_L0() [all...] |
H A D | js_debugger_test.cpp | 71 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope); 76 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope); 79 EcmaVM *ecmaVm {nullptr}; 86 JSDebugger debugger(ecmaVm); in HWTEST_F_L0() 118 JSDebugger debugger(ecmaVm); in HWTEST_F_L0() 124 JsDebuggerFriendTest debuggerFriend(ecmaVm); in HWTEST_F_L0() 137 JsDebuggerFriendTest debuggerFriend(ecmaVm); in HWTEST_F_L0()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.cpp | 116 std::unique_ptr<RemoteObject> RemoteObject::FromTagged(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) in FromTagged() argument 120 tagged->IsBigInt(ecmaVm)) { in FromTagged() 121 return std::make_unique<PrimitiveRemoteObject>(ecmaVm, tagged); in FromTagged() 123 if (tagged->IsString(ecmaVm)) { in FromTagged() 124 return std::make_unique<StringRemoteObject>(ecmaVm, Local<StringRef>(tagged)); in FromTagged() 126 if (tagged->IsSymbol(ecmaVm)) { in FromTagged() 127 return std::make_unique<SymbolRemoteObject>(ecmaVm, Local<SymbolRef>(tagged)); in FromTagged() 130 if (tagged->IsProxy(ecmaVm)) { in FromTagged() 131 return std::make_unique<ObjectRemoteObject>(ecmaVm, tagged, ObjectClassName::Proxy, ObjectSubType::Proxy); in FromTagged() 133 if (tagged->IsGeneratorFunction(ecmaVm)) { in FromTagged() 240 AppendingHashToDescription(const EcmaVM *ecmaVm, Local<JSValueRef> tagged, std::string &description) AppendingHashToDescription() argument 261 ResolveClassNameToDescription(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) ResolveClassNameToDescription() argument 271 PrimitiveRemoteObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) PrimitiveRemoteObject() argument 303 StringRemoteObject([[maybe_unused]] const EcmaVM *ecmaVm, Local<StringRef> tagged) StringRemoteObject() argument 313 SymbolRemoteObject(const EcmaVM *ecmaVm, Local<SymbolRef> tagged) SymbolRemoteObject() argument 325 FunctionRemoteObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) FunctionRemoteObject() argument 338 GeneratorFunctionRemoteObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) GeneratorFunctionRemoteObject() argument 351 ObjectRemoteObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged, const std::string &classname) ObjectRemoteObject() argument 365 ObjectRemoteObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged, const std::string &classname, const std::string &subtype) ObjectRemoteObject() argument 380 DescriptionForObject(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) DescriptionForObject() argument 541 DescriptionForArray(const EcmaVM *ecmaVm, Local<ArrayRef> tagged) DescriptionForArray() argument 547 DescriptionForRegexp(const EcmaVM *ecmaVm, Local<RegExpRef> tagged) DescriptionForRegexp() argument 554 DescriptionForDate(const EcmaVM *ecmaVm, Local<DateRef> tagged) DescriptionForDate() argument 560 DescriptionForMap(const EcmaVM *ecmaVm, Local<MapRef> tagged) DescriptionForMap() argument 606 DescriptionForWeakMap(const EcmaVM *ecmaVm, Local<WeakMapRef> tagged) DescriptionForWeakMap() argument 650 DescriptionForSet(const EcmaVM *ecmaVm, Local<SetRef> tagged) DescriptionForSet() argument 685 DescriptionForWeakSet(const EcmaVM *ecmaVm, Local<WeakSetRef> tagged) DescriptionForWeakSet() argument 724 DescriptionForError(const EcmaVM *ecmaVm, Local<JSValueRef> tagged) DescriptionForError() argument 757 DescriptionForArrayBuffer(const EcmaVM *ecmaVm, Local<ArrayBufferRef> tagged) DescriptionForArrayBuffer() argument 764 DescriptionForSharedArrayBuffer(const EcmaVM *ecmaVm, Local<ArrayBufferRef> tagged) DescriptionForSharedArrayBuffer() argument 771 DescriptionForUint8Array(const EcmaVM *ecmaVm, Local<TypedArrayRef> tagged) DescriptionForUint8Array() argument 778 DescriptionForInt8Array(const EcmaVM *ecmaVm, Local<TypedArrayRef> tagged) DescriptionForInt8Array() argument 785 DescriptionForInt16Array(const EcmaVM *ecmaVm, Local<TypedArrayRef> tagged) DescriptionForInt16Array() argument 792 DescriptionForInt32Array(const EcmaVM *ecmaVm, Local<TypedArrayRef> tagged) DescriptionForInt32Array() argument 799 DescriptionForPrimitiveNumber(const EcmaVM *ecmaVm, const Local<JSValueRef> &tagged) DescriptionForPrimitiveNumber() argument 806 DescriptionForPrimitiveString(const EcmaVM *ecmaVm, const Local<JSValueRef> &tagged) DescriptionForPrimitiveString() argument 813 DescriptionForPrimitiveBoolean(const EcmaVM *ecmaVm, const Local<JSValueRef> &tagged) DescriptionForPrimitiveBoolean() argument 820 DescriptionForGeneratorObject(const EcmaVM *ecmaVm, const Local<JSValueRef> &tagged) DescriptionForGeneratorObject() argument 967 DescriptionForSymbol(const EcmaVM *ecmaVm, Local<SymbolRef> tagged) const DescriptionForSymbol() argument 973 DescriptionForFunction(const EcmaVM *ecmaVm, Local<FunctionRef> tagged) const DescriptionForFunction() argument 986 DescriptionForGeneratorFunction(const EcmaVM *ecmaVm, Local<FunctionRef> tagged) const DescriptionForGeneratorFunction() argument 1338 FromProperty(const EcmaVM *ecmaVm, Local<JSValueRef> name, const PropertyAttribute &property) FromProperty() argument [all...] |
/arkcompiler/toolchain/tooling/backend/ |
H A D | js_single_stepper.cpp | 75 std::unique_ptr<SingleStepper> SingleStepper::GetStepIntoStepper(const EcmaVM *ecmaVm) in GetStepIntoStepper() argument 77 return GetStepper(ecmaVm, SingleStepper::Type::STEP_INTO); in GetStepIntoStepper() 80 std::unique_ptr<SingleStepper> SingleStepper::GetStepOverStepper(const EcmaVM *ecmaVm) in GetStepOverStepper() argument 82 return GetStepper(ecmaVm, SingleStepper::Type::STEP_OVER); in GetStepOverStepper() 85 std::unique_ptr<SingleStepper> SingleStepper::GetStepOutStepper(const EcmaVM *ecmaVm) in GetStepOutStepper() argument 87 return GetStepper(ecmaVm, SingleStepper::Type::STEP_OUT); in GetStepOutStepper() 109 std::unique_ptr<SingleStepper> SingleStepper::GetStepper(const EcmaVM *ecmaVm, in GetStepper() argument 112 std::unique_ptr<PtMethod> ptMethod = DebuggerApi::GetMethod(ecmaVm); in GetStepper() 123 return std::make_unique<SingleStepper>(ecmaVm, std::move(ptMethod), std::list<JSPtStepRange> {}, type); in GetStepper() 127 DebuggerApi::GetBytecodeOffset(ecmaVm)); in GetStepper() [all...] |
H A D | js_single_stepper.h | 30 SingleStepper(const EcmaVM *ecmaVm, std::unique_ptr<PtMethod> ptMethod, in SingleStepper() argument 32 : ecmaVm_(ecmaVm), in SingleStepper() 48 static std::unique_ptr<SingleStepper> GetStepIntoStepper(const EcmaVM *ecmaVm); 49 static std::unique_ptr<SingleStepper> GetStepOverStepper(const EcmaVM *ecmaVm); 50 static std::unique_ptr<SingleStepper> GetStepOutStepper(const EcmaVM *ecmaVm); 57 static std::unique_ptr<SingleStepper> GetStepper(const EcmaVM *ecmaVm, SingleStepper::Type type);
|
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/ |
H A D | snapshot_test.cpp | 47 ecmaVm = JSNApi::CreateEcmaVM(options); 48 ASSERT_TRUE(ecmaVm != nullptr) << "Cannot create EcmaVM"; 49 thread = ecmaVm->GetJSThread(); 59 ecmaVm->SetEnableForceGC(false); 61 JSNApi::DestroyJSVM(ecmaVm); 69 auto factory = ecmaVm->GetFactory(); in CompatibilityHelper() 70 auto env = ecmaVm->GetGlobalEnv(); in CompatibilityHelper() 78 SnapshotMock snapshotSerialize(ecmaVm); in CompatibilityHelper() 102 EcmaVM *ecmaVm {nullptr}; 109 auto factory = ecmaVm in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_verification_test.cpp | 38 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 39 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0() 40 auto objectFactory = ecmaVm->GetFactory(); in HWTEST_F_L0() 63 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 64 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0() 65 auto objectFactory = ecmaVm->GetFactory(); in HWTEST_F_L0() 87 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 88 auto heap = const_cast<Heap*>(ecmaVm->GetHeap()); in HWTEST_F_L0() 89 auto objectFactory = ecmaVm->GetFactory(); in HWTEST_F_L0()
|
H A D | mem_controller_test.cpp | 39 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 40 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0() 41 auto objectFactory = ecmaVm->GetFactory(); in HWTEST_F_L0() 70 auto ecmaVm = thread->GetEcmaVM(); 71 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); 72 auto objectFactory = ecmaVm->GetFactory(); 118 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 119 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0() 128 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 129 auto heap = const_cast<Heap *>(ecmaVm in HWTEST_F_L0() 156 auto ecmaVm = thread->GetEcmaVM(); HWTEST_F_L0() local [all...] |
H A D | huge_object_test.cpp | 52 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 54 ecmaVm->CollectGarbage(TriggerGCType::YOUNG_GC); // Trigger GC. in HWTEST_F_L0() 55 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); // Trigger GC. in HWTEST_F_L0() 62 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() local 63 auto heap = ecmaVm->GetHeap(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_invoke_test.cpp | 37 TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope);
42 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope);
45 EcmaVM *ecmaVm = nullptr;
member in panda::test::ICInvokeTest 52 auto globalEnv = ecmaVm->GetGlobalEnv();
in HWTEST_F_L0() 53 auto factory = ecmaVm->GetFactory();
in HWTEST_F_L0() 68 auto globalEnv = ecmaVm->GetGlobalEnv();
in HWTEST_F_L0() 69 auto factory = ecmaVm->GetFactory();
in HWTEST_F_L0() 105 auto globalEnv = ecmaVm->GetGlobalEnv();
in HWTEST_F_L0() 106 auto factory = ecmaVm->GetFactory();
in HWTEST_F_L0()
|