Home
last modified time | relevance | path

Searched defs:vm (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp58 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] const std::str… in DumpHeapSnapshot()
69 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int& fd, in DumpHeapSnapshot()
83 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream *stream, in DumpHeapSnapshot()
114 void DFXJSNApi::DumpCpuProfile([[maybe_unused]] const EcmaVM *vm) in DumpCpuProfile()
138 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshot()
179 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshot()
193 void DFXJSNApi::DumpHeapSnapshotWithVm([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshotWithVm()
248 void DFXJSNApi::GenerateHeapSnapshotByBinFile([[maybe_unused]] const EcmaVM *vm, in GenerateHeapSnapshotByBinFile()
261 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC()
286 void DFXJSNApi::TriggerSharedGCWithVm([[maybe_unused]] const EcmaVM *vm) in TriggerSharedGCWithVm()
[all …]
Djsnapi_expo.cpp205 Local<PrimitiveRef> JSValueRef::Undefined(const EcmaVM *vm) in Undefined()
211 Local<PrimitiveRef> JSValueRef::Null(const EcmaVM *vm) in Null()
217 Local<PrimitiveRef> JSValueRef::Hole(const EcmaVM *vm) in Hole()
223 Local<PrimitiveRef> JSValueRef::True(const EcmaVM *vm) in True()
229 Local<PrimitiveRef> JSValueRef::False(const EcmaVM *vm) in False()
235 Local<ObjectRef> JSValueRef::ToObject(const EcmaVM *vm) in ToObject()
248 Local<ObjectRef> JSValueRef::ToEcmaObject(const EcmaVM *vm) in ToEcmaObject()
262 Local<StringRef> JSValueRef::ToString(const EcmaVM *vm) in ToString()
275 Local<NativePointerRef> JSValueRef::ToNativePointer(const EcmaVM *vm) in ToNativePointer()
285 bool JSValueRef::BooleaValue(const EcmaVM *vm) in BooleaValue()
[all …]
Djsnapi.cpp216 Local<JSValueRef> JSON::Stringify(const EcmaVM *vm, Local<JSValueRef> json) in Stringify()
228 Local<StringRef> RegExpRef::GetOriginalSource(const EcmaVM *vm) in GetOriginalSource()
243 std::string RegExpRef::GetOriginalFlags([[maybe_unused]] const EcmaVM *vm) in GetOriginalFlags()
273 Local<JSValueRef> RegExpRef::IsGlobal(const EcmaVM *vm) in IsGlobal()
285 Local<JSValueRef> RegExpRef::IsIgnoreCase(const EcmaVM *vm) in IsIgnoreCase()
297 Local<JSValueRef> RegExpRef::IsMultiline(const EcmaVM *vm) in IsMultiline()
309 Local<JSValueRef> RegExpRef::IsDotAll(const EcmaVM *vm) in IsDotAll()
321 Local<JSValueRef> RegExpRef::IsUtf16(const EcmaVM *vm) in IsUtf16()
333 Local<JSValueRef> RegExpRef::IsStick(const EcmaVM *vm) in IsStick()
345 bool GeneratorFunctionRef::IsGenerator(const EcmaVM *vm) in IsGenerator()
[all …]
/arkcompiler/toolchain/tooling/
Ddebugger_service.cpp23 void InitializeDebugger(::panda::ecmascript::EcmaVM *vm, in InitializeDebugger()
38 void UninitializeDebugger(::panda::ecmascript::EcmaVM *vm) in UninitializeDebugger()
49 void WaitForDebugger(const ::panda::ecmascript::EcmaVM *vm) in WaitForDebugger()
61 void OnMessage(const ::panda::ecmascript::EcmaVM *vm, std::string &&message) in OnMessage()
73 void ProcessMessage(const ::panda::ecmascript::EcmaVM *vm) in ProcessMessage()
85 int32_t GetDispatchStatus(const ::panda::ecmascript::EcmaVM *vm) in GetDispatchStatus()
100 const char* GetCallFrames(const ::panda::ecmascript::EcmaVM *vm) in GetCallFrames()
/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.cpp22 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/
Dheap_profiler_interface.cpp21 HeapProfilerInterface *HeapProfilerInterface::GetInstance(EcmaVM *vm) in GetInstance()
26 void HeapProfilerInterface::Destroy(EcmaVM *vm) in Destroy()
31 HeapProfilerInterface *HeapProfilerInterface::CreateNewInstance(const EcmaVM *vm) in CreateNewInstance()
/arkcompiler/ets_runtime/test/fuzztest/bufferrefnew_fuzzer/
Dbufferrefnew_fuzzer.cpp28 EcmaVM *vm = JSNApi::CreateJSVM(option); in BufferRefNewFuzzTest() local
45 EcmaVM *vm = JSNApi::CreateJSVM(option); in BufferRefMultiParamNewFuzzTest() local
55 EcmaVM *vm = JSNApi::CreateJSVM(option); in BufferRefByteLengthFuzzTest() local
69 EcmaVM *vm = JSNApi::CreateJSVM(option); in BufferRefGetBufferFuzzTest() local
83 EcmaVM *vm = JSNApi::CreateJSVM(option); in BufferToStringCallbackFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsnapiset_fuzzer/
Djsnapiset_fuzzer.cpp30 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetAssetPathFuzzTest() local
43 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetBundleFuzzTest() local
58 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetHostEnqueueJobFuzzTest() local
72 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetMockModuleListFuzzTest() local
85 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetSourceMapTranslateCallbackFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/
Djsvaluerefobject_fuzzer.cpp32 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsSymbolFuzzTest() local
47 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsBigIntFuzzTest() local
62 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsObjectFuzzTest() local
76 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsArgumentsObjectFuzzTest() local
95 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSPrimitiveBooleanFuzzTest() local
110 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsGeneratorFunctionFuzzTest() local
124 EcmaVM *vm = JSNApi::CreateEcmaVM(option); in IsMapIteratorFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsnapiinformation_fuzzer/
Djsnapiinformation_fuzzer.cpp30 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiCreateEcmaVMFuzzTest() local
44 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiEnableUserUncaughtErrorHandlerFuzzTest() local
56 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiFunctionFuzzTest() local
74 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiIsMixedDebugEnabledFuzzTest() local
86 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiNotifyNativeCallingFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/containershashmapcommon_fuzzer/
Dcontainershashmapcommon_fuzzer.h81 static bool InitializeFuzzTest(const uint8_t *data, size_t size, double &input, EcmaVM *&vm, in InitializeFuzzTest()
109 EcmaVM *vm = nullptr; in ContainersHashMapEntriesFuzzTest() local
133 EcmaVM *vm = nullptr; in ContainersHashMapFuzzTest() local
150 EcmaVM *vm = nullptr; in ContainersHashMapClearFuzzTest() local
173 EcmaVM *vm = nullptr; in ContainersHashMapForEachFuzzTest() local
199 EcmaVM *vm = nullptr; in ContainersHashMapGetFuzzTest() local
224 EcmaVM *vm = nullptr; in ContainersHashMapGetLengthFuzzTest() local
248 EcmaVM *vm = nullptr; in ContainersHashMapHasKeyFuzzTest() local
273 EcmaVM *vm = nullptr; in ContainersHashMapHasValueFuzzTest() local
298 EcmaVM *vm = nullptr; in ContainersHashMapIsEmptyFuzzTest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapcommon_fuzzer/
Dcontainerstreemapcommon_fuzzer.h81 …static bool InitFuzzTest(const uint8_t *data, size_t &size, int32_t &key, EcmaVM *&vm, JSThread *&… in InitFuzzTest()
104 EcmaVM *vm = nullptr; in ContainersTreeMapClearFuzzTest() local
129 EcmaVM *vm = nullptr; in ContainersTreeMapConstructorFuzzTest() local
147 EcmaVM *vm = nullptr; in ContainersTreeMapEntriesFuzzTest() local
177 EcmaVM *vm = nullptr; in ContainersTreeMapForEachFuzzTest() local
208 EcmaVM *vm = nullptr; in ContainersTreeMapGetFuzzTest() local
227 EcmaVM *vm = nullptr; in ContainersTreeMapGetFirstKeyFuzzTest() local
252 EcmaVM *vm = nullptr; in ContainersTreeMapGetHigherKeyFuzzTest() local
278 EcmaVM *vm = nullptr; in ContainersTreeMapGetLastKeyFuzzTest() local
303 EcmaVM *vm = nullptr; in ContainersTreeMapGetLengthFuzzTest() local
[all …]
/arkcompiler/toolchain/inspector/
Dinspector.cpp121 void SendReply(const void* vm, const std::string& message) in SendReply()
131 void ResetServiceLocked(void *vm, bool isCloseHandle) in ResetServiceLocked()
150void* vm, const DebuggerPostTask& debuggerPostTask, const DebugInfo& debugInfo, int tidForSocketPa… in InitializeInspector()
342 bool InitializeDebuggerForSocketpair(void* vm) in InitializeDebuggerForSocketpair()
361 void* vm = GetEcmaVM(tid); in StartDebugForSocketpair() local
381 bool StartDebug(const std::string& componentName, void* vm, bool isDebugMode, in StartDebug()
413 void WaitForDebugger(void* vm) in WaitForDebugger()
419 void StopDebug(void* vm) in StopDebug()
444 void* vm = GetEcmaVM(tid); in StopOldDebug() local
459 void StoreDebuggerInfo(int tid, void* vm, const DebuggerPostTask& debuggerPostTask) in StoreDebuggerInfo()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/
Dcontainersvectorcommon_fuzzer.h115 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorAddFuzzTest() local
138 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetFirstElementFuzzTest() local
167 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetIndexOfFuzzTest() local
197 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastElementFuzzTest() local
226 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorHasFuzzTest() local
256 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorInsertFuzzTest() local
280 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorRemoveFuzzTest() local
310 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorSetFuzzTest() local
341 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastIndexOfFuzzTest() local
370 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetLastIndexFromFuzzTest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/
Dcontainerslinkedlistcommon_fuzzer.h111 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListAddFuzzTest() local
136 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetFirstFuzzTest() local
166 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetLastFuzzTest() local
196 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListAddFirstFuzzTest() local
226 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListClearFuzzTest() local
256 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListCloneFuzzTest() local
286 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetFuzzTest() local
328 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetIndexOfFuzzTest() local
359 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetLastIndexOfFuzzTest() local
390 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListHasFuzzTest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscorrect_fuzzer/
Djsvaluerefiscorrect_fuzzer.cpp30 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsFalseFuzzTest() local
44 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsTrueFuzzTest() local
65 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsHoleFuzzTest() local
86 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSValueRefIsUndefinedFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_sendable_arraybuffer_test.cpp35 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
71 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
97 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
116 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
135 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
159 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
183 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
200 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp26 EcmaVM *vm = thread->GetEcmaVM(); in Date() local
41 EcmaVM *vm = thread->GetEcmaVM(); in Set() local
56 EcmaVM *vm = thread->GetEcmaVM(); in Map() local
71 EcmaVM *vm = thread->GetEcmaVM(); in WeakMap() local
85 EcmaVM *vm = thread->GetEcmaVM(); in WeakSet() local
99 EcmaVM *vm = thread->GetEcmaVM(); in WeakRef() local
113 EcmaVM *vm = thread->GetEcmaVM(); in FinalizationRegistry() local
127 EcmaVM *vm = thread->GetEcmaVM(); in TypedArray() local
162 EcmaVM *vm = thread->GetEcmaVM(); in ITERATE_TYPED_ARRAY() local
176 EcmaVM *vm = thread->GetEcmaVM(); in DataView() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp40 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsModuleNamespaceObjectFuzztest() local
72 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsProxyFuzztest() local
97 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSCollatorFuzztest() local
124 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSPluralRulesFuzztest() local
152 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsStrictEqualsFuzztest() local
167 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSListFormatFuzztest() local
181 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSPrimitiveRefFuzztest() local
204 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsDequeFuzztest() local
228 Local<JSValueRef> CreateJSValueRef(EcmaVM *vm, panda::ecmascript::JSType type) in CreateJSValueRef()
243 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsJSIntlFuzztest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/exceptionclass_fuzzer/
Dexceptionclass_fuzzer.cpp30 EcmaVM *vm = JSNApi::CreateJSVM(option); in ExpectionErrorFuzzTest() local
44 EcmaVM *vm = JSNApi::CreateJSVM(option); in ExpectionRangeErrorFuzzTest() local
58 EcmaVM *vm = JSNApi::CreateJSVM(option); in ReferenceErrorFuzzTest() local
72 EcmaVM *vm = JSNApi::CreateJSVM(option); in SYNTexErrorFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h30 inline EcmaString *EcmaString::CreateEmptyString(const EcmaVM *vm) in CreateEmptyString()
39 inline EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t u… in CreateFromUtf8()
70 inline EcmaString *EcmaString::CreateFromUtf8CompressedSubString(const EcmaVM *vm, const JSHandle<E… in CreateFromUtf8CompressedSubString()
85 inline EcmaString *EcmaString::CreateUtf16StringFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data,… in CreateUtf16StringFromUtf8()
114 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16()
138 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString()
148 inline EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compresse… in CreateLineStringNoGC()
159 inline EcmaString *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool … in CreateLineStringWithSpaceType()
184 inline SlicedString *EcmaString::CreateSlicedString(const EcmaVM *vm, MemSpaceType type) in CreateSlicedString()
192 inline EcmaString *EcmaString::CreateConstantString(const EcmaVM *vm, const uint8_t *utf8Data, in CreateConstantString()
[all …]
Decma_handle_scope.cpp30 auto vm = thread_->GetEcmaVM(); in EcmaHandleScope() local
57 auto vm = thread_->GetEcmaVM(); in ~EcmaHandleScope() local
109 EcmaVM *vm = thread->GetEcmaVM(); in NewHandle() local
137 EcmaVM *vm = thread->GetEcmaVM(); in NewPrimitiveHandle() local
/arkcompiler/ets_runtime/test/fuzztest/jsnapisethostpromiserejectiontracker_fuzzer/
Djsnapisethostpromiserejectiontracker_fuzzer.cpp28 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetHostPromiseRejectionTrackerFuzzTest() local
40 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetNativePtrGetterFuzzTest() local
52 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetHostResolveBufferTrackerFuzzTest() local
67 EcmaVM *vm = JSNApi::CreateJSVM(option); in JSNApiSetUnloalNativeModuleCallbackFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisarray_fuzzer/
Djsvaluerefisarray_fuzzer.cpp28 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsInt8ArrayFuzztest() local
44 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsUint8ArrayFuzztest() local
60 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsUint8ClampedArrayFuzztest() local
76 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsInt16ArrayFuzztest() local
93 EcmaVM *vm = JSNApi::CreateJSVM(option); in IsUint16ArrayFuzztest() local
/arkcompiler/ets_runtime/ecmascript/js_vm/
Dmain.cpp46 bool IsEqual(EcmaVM *vm, Local<JSValueRef> jsArg0, Local<JSValueRef> jsArg1) in IsEqual()
71 EcmaVM *vm = runtimeInfo->GetVM(); in TestEnd() local
78 EcmaVM *vm = runtimeInfo->GetVM(); in AssertEqual() local
103 EcmaVM *vm = runtimeInfo->GetVM(); in AssertTrue() local
127 EcmaVM *vm = runtimeInfo->GetVM(); in AssertUnreachable() local
133 bool ExecutePandaFile(EcmaVM *vm, JSRuntimeOptions &runtimeOptions, std::string &files) in ExecutePandaFile()
223 EcmaVM *vm = JSNApi::CreateEcmaVM(runtimeOptions); in Main() local

12345678910>>...26