| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | dfx_jsnapi.cpp | 53 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 65 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 83 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 125 void DFXJSNApi::DestroyHeapProfiler([[maybe_unused]] const EcmaVM *vm) in DestroyHeapProfiler() 134 bool DFXJSNApi::BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildNativeAndJsStackTrace() 156 bool DFXJSNApi::BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildJsStackTrace() 165 bool DFXJSNApi::StartHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] double timeIn… in StartHeapTracking() 180 bool DFXJSNApi::UpdateHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream *stre… in UpdateHeapTracking() 193 bool DFXJSNApi::StopHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] const std::str… in StopHeapTracking() 205 bool DFXJSNApi::StopHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream* stream, in StopHeapTracking() [all …]
|
| D | jsnapi.cpp | 257 #define CHECK_HAS_PENDING_EXCEPTION(vm, returnVal) \ argument 268 #define CHECK_HAS_PENDING_EXCEPTION_RETURN_UNDEFINED(vm) \ argument 271 #define CHECK_HAS_PENDING_EXCEPTION_WITHOUT_RETURN(vm) \ argument 313 EcmaContext *JSNApi::CreateJSContext(EcmaVM *vm) in CreateJSContext() 319 void JSNApi::SwitchCurrentContext(EcmaVM *vm, EcmaContext *context) in SwitchCurrentContext() 325 void JSNApi::DestroyJSContext(EcmaVM *vm, EcmaContext *context) in DestroyJSContext() 369 void JSNApi::TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType) in TriggerGC() 389 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException() 399 void JSNApi::PrintExceptionInfo(const EcmaVM *vm) in PrintExceptionInfo() 420 bool JSNApi::StartDebugger([[maybe_unused]] EcmaVM *vm, [[maybe_unused]] const DebugOption &option, in StartDebugger() [all …]
|
| /arkcompiler/toolchain/tooling/ |
| D | debugger_service.cpp | 24 void InitializeDebugger(::panda::ecmascript::EcmaVM *vm, in InitializeDebugger() 35 void UninitializeDebugger(::panda::ecmascript::EcmaVM *vm) in UninitializeDebugger() 42 void WaitForDebugger(const ::panda::ecmascript::EcmaVM *vm) in WaitForDebugger() 50 void OnMessage(const ::panda::ecmascript::EcmaVM *vm, std::string &&message) in OnMessage() 58 void ProcessMessage(const ::panda::ecmascript::EcmaVM *vm) in ProcessMessage() 66 int32_t GetDispatchStatus(const ::panda::ecmascript::EcmaVM *vm) in GetDispatchStatus()
|
| /arkcompiler/toolchain/tooling/backend/ |
| D | debugger_executor.cpp | 22 void DebuggerExecutor::Initialize(const EcmaVM *vm) in Initialize() 34 EcmaVM *vm = runtimeCallInfo->GetVM(); in DebuggerGetValue() local 65 EcmaVM *vm = runtimeCallInfo->GetVM(); in DebuggerSetValue() local 88 Local<JSValueRef> DebuggerExecutor::GetValue(const EcmaVM *vm, const FrameHandler *frameHandler, Lo… in GetValue() 111 bool DebuggerExecutor::SetValue(const EcmaVM *vm, FrameHandler *frameHandler, in SetValue() 130 void DebuggerExecutor::ThrowException(const EcmaVM *vm, const std::string &error) in ThrowException() 137 Local<JSValueRef> DebuggerExecutor::GetLocalValue(const EcmaVM *vm, const FrameHandler *frameHandle… in GetLocalValue() 151 bool DebuggerExecutor::SetLocalValue(const EcmaVM *vm, FrameHandler *frameHandler, in SetLocalValue() 165 Local<JSValueRef> DebuggerExecutor::GetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHand… in GetLexicalValue() 179 bool DebuggerExecutor::SetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler, in SetLexicalValue() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_profiler_interface.cpp | 20 HeapProfilerInterface *HeapProfilerInterface::GetInstance(EcmaVM *vm) in GetInstance() 25 void HeapProfilerInterface::Destroy(EcmaVM *vm) in Destroy()
|
| /arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
| D | containersvectorcommon_fuzzer.h | 114 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorAddFuzzTest() local 135 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetFirstElementFuzzTest() local 162 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetIndexOfFuzzTest() local 190 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastElementFuzzTest() local 217 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorHasFuzzTest() local 245 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorInsertFuzzTest() local 267 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorRemoveFuzzTest() local 296 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorSetFuzzTest() local 326 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastIndexOfFuzzTest() local 354 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastIndexFromFuzzTest() local [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/ |
| D | containerslinkedlistcommon_fuzzer.h | 110 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListAddFuzzTest() local 132 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetFirstFuzzTest() local 159 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetLastFuzzTest() local 186 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListAddFirstFuzzTest() local 213 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListClearFuzzTest() local 240 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListCloneFuzzTest() local 267 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetFuzzTest() local 306 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetIndexOfFuzzTest() local 334 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetLastIndexOfFuzzTest() local 362 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListHasFuzzTest() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_lazy_callback.cpp | 28 EcmaVM *vm = thread->GetEcmaVM(); in Date() local 42 EcmaVM *vm = thread->GetEcmaVM(); in Set() local 56 EcmaVM *vm = thread->GetEcmaVM(); in Map() local 70 EcmaVM *vm = thread->GetEcmaVM(); in WeakMap() local 84 EcmaVM *vm = thread->GetEcmaVM(); in WeakSet() local 98 EcmaVM *vm = thread->GetEcmaVM(); in WeakRef() local 112 EcmaVM *vm = thread->GetEcmaVM(); in FinalizationRegistry() local 126 EcmaVM *vm = thread->GetEcmaVM(); in TypedArray() local 160 EcmaVM *vm = thread->GetEcmaVM(); in ITERATE_TYPED_ARRAY() local 174 EcmaVM *vm = thread->GetEcmaVM(); in DataView() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string-inl.h | 28 inline EcmaString *EcmaString::CreateEmptyString(const EcmaVM *vm) in CreateEmptyString() 37 inline EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t u… in CreateFromUtf8() 71 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16() 95 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() 105 inline EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compresse… in CreateLineStringNoGC() 118 inline EcmaString *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool … in CreateLineStringWithSpaceType() 142 inline EcmaString *EcmaString::CreateConstantString(const EcmaVM *vm, const uint8_t *utf8Data, in CreateConstantString() 154 inline EcmaString *EcmaString::CreateTreeString(const EcmaVM *vm, in CreateTreeString() 168 EcmaString *EcmaString::FastSubUtf8String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint32… in FastSubUtf8String() 183 EcmaString *EcmaString::FastSubUtf16String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint3… in FastSubUtf16String()
|
| D | ecma_string.h | 47 #define ECMA_STRING_CHECK_LENGTH_AND_TRHOW(vm, length) \ argument 742 static EcmaString *CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() 747 static EcmaString *CreateEmptyString(const EcmaVM *vm) in CreateEmptyString() 777 static EcmaString *CopyStringToOldSpace(const EcmaVM *vm, const JSHandle<EcmaString> &original, in CopyStringToOldSpace() 784 static EcmaString *FastSubString(const EcmaVM *vm, in FastSubString() 961 …static int32_t Compare(const EcmaVM *vm, const JSHandle<EcmaString>& left, const JSHandle<EcmaStri… in Compare() 967 …static bool StringsAreEqual(const EcmaVM *vm, const JSHandle<EcmaString> &str1, const JSHandle<Ecm… in StringsAreEqual() 1039 static EcmaString *ToLower(const EcmaVM *vm, const JSHandle<EcmaString> &src) in ToLower() 1044 static EcmaString *TryToLower(const EcmaVM *vm, const JSHandle<EcmaString> &src) in TryToLower() 1049 static EcmaString *ToUpper(const EcmaVM *vm, const JSHandle<EcmaString> &src) in ToUpper() [all …]
|
| D | free_object.cpp | 20 FreeObject *FreeObject::FillFreeObject(EcmaVM *vm, uintptr_t address, size_t size) in FillFreeObject()
|
| /arkcompiler/toolchain/test/fuzztest/common_fuzzer/ |
| D | common_fuzzer.h | 38 auto vm = JSNApi::CreateJSVM(option); in GetEcvm() local 42 void common_fuzzer::DestroyEcvm(EcmaVM* vm) in DestroyEcvm()
|
| /arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/ |
| D | arraylist_fuzzer.cpp | 130 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListForEachFuzzTest() local 165 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListAddFuzzTest() local 197 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListClearFuzzTest() local 230 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListCloneFuzzTest() local 263 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListConvertToArrayFuzzTest() local 296 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListGetFuzzTest() local 330 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListGetCapacityFuzzTest() local 363 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListGetIndexOfFuzzTest() local 397 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListGetIteratorObjFuzzTest() local 430 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListGetLastIndexOfFuzzTest() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_generator_object_test.cpp | 61 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 71 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 82 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 106 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 131 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
|
| D | js_hclass_test.cpp | 57 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 77 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 114 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 131 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 162 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 205 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 240 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 264 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 296 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 330 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local [all …]
|
| D | js_finalization_registry_test.cpp | 68 auto vm = thread->GetEcmaVM(); in CreateFinalizationRegistry() local 100 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 134 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 172 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 202 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 242 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 273 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 318 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 363 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 404 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local [all …]
|
| D | ecma_string_table_test.cpp | 75 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 96 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 118 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
|
| D | transitions_dictionary_test.cpp | 71 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 123 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 160 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 177 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 195 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 220 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 244 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 268 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
|
| D | js_list_format_test.cpp | 65 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 88 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 111 auto vm = thread->GetEcmaVM(); in CreateJSListFormatterTest() local 132 auto vm = thread->GetEcmaVM(); in SetFormatterOptionsTest() local 148 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 185 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 215 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 246 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 285 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 335 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/test/fuzztest/containersdequecommon_fuzzer/ |
| D | containersdequecommon_fuzzer.h | 88 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeInsertFrontFuzzTest() local 139 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeForEachFuzzTest() local 170 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeGetFirstFuzzTest() local 206 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeGetLastFuzzTest() local 242 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeInsertEndFuzzTest() local 273 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeHasFuzzTest() local 311 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequePopFirstFuzzTest() local 347 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequePopLastFuzzTest() local 383 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeIteratorFuzzTest() local
|
| /arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/ |
| D | containersplainarray_fuzzer.cpp | 88 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Constructor_FuzzTest() local 116 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Add_Has_FuzzTest() local 160 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Clone_FuzzTest() local 198 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Clear_FuzzTest() local 236 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Get_FuzzTest() local 275 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_GetIteratorObj_FuzzTest() local 324 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_ForEach_FuzzTest() local 367 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_ToString_FuzzTest() local 405 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_GetIndexOfKey_FuzzTest() local 444 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_GetIndexOfValue_FuzzTest() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | hot_reload_manager.h | 25 explicit HotReloadManager(const EcmaVM *vm) : vm_(vm) {} in HotReloadManager()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | program_object.cpp | 19 JSHandle<ConstantPool> ConstantPool::GetDeserializedConstantPool(EcmaVM *vm, const JSPandaFile *jsP… in GetDeserializedConstantPool()
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/tests/ |
| D | snapshot_mock.h | 26 explicit SnapshotMock(EcmaVM *vm) : Snapshot(vm) in SnapshotMock()
|
| /arkcompiler/ets_runtime/test/fuzztest/nativepointernew1_fuzzer/ |
| D | nativepointernew1_fuzzer.cpp | 28 EcmaVM *vm = JSNApi::CreateJSVM(option); in NativePointerNew1FuzzTest() local
|