/arkcompiler/ets_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 50 void DFXJSNApi::DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, in DumpHeapSnapshot() 57 void DFXJSNApi::DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, Stream *stream, Progress *progre… in DumpHeapSnapshot() 67 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 95 bool DFXJSNApi::BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildNativeAndJsStackTrace() 117 bool DFXJSNApi::BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildJsStackTrace() 126 bool DFXJSNApi::StartHeapTracking(const EcmaVM *vm, double timeInterval, bool isVmMode, in StartHeapTracking() 135 bool DFXJSNApi::UpdateHeapTracking(const EcmaVM *vm, Stream *stream) in UpdateHeapTracking() 143 bool DFXJSNApi::StopHeapTracking(const EcmaVM *vm, const std::string &filePath, bool newThread) in StopHeapTracking() 149 bool DFXJSNApi::StopHeapTracking(const EcmaVM *vm, Stream* stream, Progress *progress, bool newThre… in StopHeapTracking() 160 void DFXJSNApi::PrintStatisticResult(const EcmaVM *vm) in PrintStatisticResult() [all …]
|
D | jsnapi.cpp | 250 void JSNApi::TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType) in TriggerGC() 269 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException() 277 bool JSNApi::StartDebugger(const char *libraryPath, EcmaVM *vm, bool isDebugMode, int32_t instanceI… in StartDebugger() 307 bool JSNApi::StopDebugger(EcmaVM *vm) in StopDebugger() 327 bool JSNApi::StartDebugger(EcmaVM *vm, bool isDebugMode, int32_t instanceId, const DebuggerPostTask… in StartDebugger() 336 bool JSNApi::StopDebugger(EcmaVM *vm) in StopDebugger() 348 bool JSNApi::IsMixedDebugEnabled(const EcmaVM *vm) in IsMixedDebugEnabled() 353 void JSNApi::NotifyNativeCalling(const EcmaVM *vm, const void *nativeAddress) in NotifyNativeCalling() 359 void JSNApi::LoadAotFile(EcmaVM *vm, const std::string &hapPath) in LoadAotFile() 370 bool JSNApi::Execute(EcmaVM *vm, const std::string &fileName, const std::string &entry, bool needUp… in Execute() [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/ |
D | ecma_string-inl.h | 28 inline EcmaString *EcmaString::CreateEmptyString(const EcmaVM *vm) in CreateEmptyString() 37 inline EcmaString *EcmaString::AllocStringObjectWithSpaceType(const EcmaVM *vm, size_t length, bool… in AllocStringObjectWithSpaceType() 61 inline EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t u… in CreateFromUtf8() 90 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16() 131 inline EcmaString *EcmaString::AllocStringObject(const EcmaVM *vm, size_t length, bool compressed) in AllocStringObject() 141 EcmaString *EcmaString::FastSubUtf8String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint32… in FastSubUtf8String() 158 EcmaString *EcmaString::FastSubUtf16String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint3… in FastSubUtf16String()
|
D | ecma_string.h | 470 static EcmaString *AllocStringObject(const EcmaVM *vm, size_t length, bool compressed) in AllocStringObject() 475 static EcmaString *CreateEmptyString(const EcmaVM *vm) in CreateEmptyString() 492 static EcmaString *Concat(const EcmaVM *vm, in Concat() 498 static EcmaString *FastSubString(const EcmaVM *vm, in FastSubString() 685 static EcmaString *ToLower(const EcmaVM *vm, const JSHandle<EcmaString> &src) in ToLower() 690 static EcmaString *ToUpper(const EcmaVM *vm, const JSHandle<EcmaString> &src) in ToUpper() 695 …static EcmaString *ToLocaleLower(const EcmaVM *vm, const JSHandle<EcmaString> &src, const icu::Loc… in ToLocaleLower() 700 …static EcmaString *ToLocaleUpper(const EcmaVM *vm, const JSHandle<EcmaString> &src, const icu::Loc… in ToLocaleUpper()
|
D | free_object.cpp | 20 FreeObject *FreeObject::FillFreeObject(EcmaVM *vm, uintptr_t address, size_t size) in FillFreeObject()
|
/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/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/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 | 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 139 EcmaVM *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 111 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 126 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 157 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 200 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 235 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 259 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 291 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 325 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() local [all …]
|
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_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 | 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 | 64 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 87 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 110 auto vm = thread->GetEcmaVM(); in CreateJSListFormatterTest() local 131 auto vm = thread->GetEcmaVM(); in SetFormatterOptionsTest() local 147 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 184 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 214 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 245 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 284 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 334 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
|
D | js_date_time_format_test.cpp | 66 auto vm = thread->GetEcmaVM(); in SetDateOptionsTest() local 89 auto vm = thread->GetEcmaVM(); in SetTimeOptionsTest() local 121 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 147 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 198 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 233 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 267 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 325 auto vm = thread->GetEcmaVM(); in CreateDateTimeFormatTest() local 349 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local 378 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local [all …]
|
/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/runtime_core/runtime/scheduler/ |
D | worker_thread.cpp | 21 WorkerThread::WorkerThread(PandaVM *vm) : Thread(vm, Thread::ThreadType::THREAD_TYPE_WORKER_THREAD)… in WorkerThread() 24 WorkerThread *WorkerThread::Create(PandaVM *vm) in Create()
|
D | task.cpp | 24 Task::Task(PandaVM *vm, ObjectHeader *obj) in Task() 30 Task *Task::Create(PandaVM *vm, ObjectHeader *obj) in Create()
|
/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/jspandafile/ |
D | js_pandafile_executor.cpp | 36 EcmaVM *vm = thread->GetEcmaVM(); in ExecuteFromFile() local 133 EcmaVM *vm = thread->GetEcmaVM(); in ExecuteModuleBuffer() local 173 EcmaVM *vm = thread->GetEcmaVM(); in CommonExecuteBuffer() local 197 EcmaVM *vm = thread->GetEcmaVM(); in Execute() local
|
D | program_object.h | 71 static JSHandle<ConstantPool> CreateConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in CreateConstPool() 182 EcmaVM *vm = thread->GetEcmaVM(); in GetMethodFromCache() local 222 EcmaVM *vm = thread->GetEcmaVM(); in GetClassMethodFromCache() local 261 EcmaVM *vm = thread->GetEcmaVM(); in GetClassLiteralFromCache() local 299 EcmaVM *vm = thread->GetEcmaVM(); in GetLiteralFromCache() local 372 EcmaVM *vm = thread->GetEcmaVM(); in GetStringFromCache() local
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | hot_reload_manager.h | 25 HotReloadManager(const EcmaVM *vm) : vm_(vm) {} in HotReloadManager()
|