Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 25 of 69) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_manager.cpp54 AnFileDataManager *m = AnFileDataManager::GetInstance(); in DumpAOTInfo()
60 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in LoadStubFile()
71 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in LoadAnFile()
99 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in LoadAiFile()
111 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in GetAnFileInfo()
117 if (!AnFileDataManager::GetInstance()->IsEnable()) { in IsLoad()
144 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in GetAnFileIndex()
168 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in TryReadLock()
174 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in InsideStub()
180 AnFileDataManager *anFileDataManager = AnFileDataManager::GetInstance(); in InsideAOT()
[all …]
Dan_file_data_manager.h30 static AnFileDataManager *GetInstance();
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_manager_test.cpp59 HWTEST_F_L0(JSPandaFileManagerTest, GetInstance) in HWTEST_F_L0() argument
61 JSPandaFileManager *manager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
76 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
92 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
117 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
146 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
189 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in CreateJSPandaFileAndConstpool()
204 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
220 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
254 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
[all …]
Dquick_fix_test.cpp144 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
189 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, baseFileName.c_str(), ""); in HWTEST_F_L0()
192 JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName.c_str()); in HWTEST_F_L0()
198 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
Djs_pandafile_executor_test.cpp69 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
105 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
143 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
Dpanda_file_translator_test.cpp72 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
115 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
Dheap_sampling_test.cpp57 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
68 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
80 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
Dheap_tracker_test.cpp114 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
167 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
223 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
310 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
341 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
372 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
403 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
443 HeapProfilerInterface *heapProfile = HeapProfilerInterface::GetInstance(instance); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp57 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatchIfNeeded()
84 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, baseFileName.c_str(), ""); in LoadPatch()
92 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, patchFileName.c_str(), ""); in LoadPatch()
120 std::shared_ptr<JSPandaFile> baseFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch()
127 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch()
191 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in CheckAndGetPatch()
206 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in IsQuickFixCausedException()
/arkcompiler/ets_runtime/ecmascript/mem/
Dheap_region_allocator.cpp36 …auto pool = MemMapAllocator::GetInstance()->Allocate(capacity, DEFAULT_REGION_SIZE, isRegular, isM… in AllocateAlignedRegion()
76 MemMapAllocator::GetInstance()->Free(ToVoidPtr(allocateBase), size, isRegular); in FreeRegion()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_profiler_interface.cpp20 HeapProfilerInterface *HeapProfilerInterface::GetInstance(EcmaVM *vm) in GetInstance() function in panda::ecmascript::HeapProfilerInterface
Dheap_profiler_interface.h34 static HeapProfilerInterface *GetInstance(EcmaVM *vm);
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp75 auto baseFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(baseFileName.c_str()); in HWTEST_F_L0()
81 auto patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName.c_str()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Dwaiter_list_test.cpp77 WaiterList *waitLists = Singleton<WaiterList>::GetInstance(); in HWTEST_F_L0()
84 WaiterList *waitLists = Singleton<WaiterList>::GetInstance(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
Dmain.cpp152 if (PGOProfilerManager::GetInstance()->BinaryToText(option.GetProfInPath(), in Main()
161 …if (PGOProfilerManager::GetInstance()->TextToBinary(option.GetProfInPath(), option.GetProfOutPath(… in Main()
/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp72 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in DumpHeapSnapshot()
171 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in StartHeapTracking()
184 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in UpdateHeapTracking()
211 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in StopHeapTracking()
524 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in StartSampling()
536 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in GetAllocationProfile()
548 ecmascript::HeapProfilerInterface *heapProfile = ecmascript::HeapProfilerInterface::GetInstance( in StopSampling()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp60 PGOProfilerManager::GetInstance()->Destroy(); in TearDown()
72 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in CreateJSPandaFile()
104 JSPandaFileManager::GetInstance()->FindJSPandaFile(CString(targetAbcPath)); in ExecuteAndLoadJSPandaFile()
131 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
179 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
246 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
306 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
361 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
403 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
410 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/binarytotext_fuzzer/
Dbinarytotext_fuzzer.cpp31 PGOProfilerManager::GetInstance()->BinaryToText( in BinaryToTextFuzzTest()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_executor.cpp64 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, name, entry, needUpdate); in ExecuteFromFile()
119 …JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, normalName, entryPoint, buffer, size, n… in ExecuteFromBuffer()
162 … JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, name, entry, buffer, size, needUpdate); in ExecuteModuleBuffer()
236 AnFileDataManager::GetInstance()->SetEnable(true); in LoadAOTFilesForFile()
252 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteFromBufferSecure()
318 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteModuleBufferSecure()
/arkcompiler/ets_runtime/ecmascript/shared_mm/
Dshared_mm.h29 static JSSharedMemoryManager *GetInstance() in GetInstance() function
/arkcompiler/ets_runtime/ecmascript/
Dwaiter_list.h81 static T *GetInstance() in GetInstance() function
Decma_vm.cpp165 pgoProfiler_ = PGOProfilerManager::GetInstance()->Build(this, isEnablePGOProfiler); in InitializePGOProfiler()
174 PGOProfilerManager::GetInstance()->Reset(pgoProfiler_, isEnablePGOProfiler); in ResetPGOProfiler()
183 return PGOProfilerManager::GetInstance()->IsEnable(); in IsEnablePGOProfiler()
242 PGOProfilerManager::GetInstance()->Destroy(pgoProfiler_); in ~EcmaVM()
253 …std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(asse… in ~EcmaVM()
Decma_context.cpp178 JSPandaFileManager::GetInstance()->FindJSPandaFile(vm_->GetAssetPath()); in ~EcmaContext()
245 …JSHandle<Program> program = JSPandaFileManager::GetInstance()->GenerateProgram(vm_, jsPandaFile, e… in InvokeEcmaEntrypoint()
462 JSPandaFileManager::GetInstance()->RemoveJSPandaFileVm(vm_, iterator->first); in ProcessNativeDelete()
492 JSPandaFileManager::GetInstance()->RemoveJSPandaFileVm(vm_, iterator->first); in ProcessReferences()
586 JSPandaFileManager::GetInstance()->RemoveJSPandaFileVm(vm_, iter->first); in ClearBufferData()
764 ecmascript::AnFileDataManager::GetInstance()->SafeDestroyAnData(anFile); in LoadAOTFiles()
771 ecmascript::AnFileDataManager::GetInstance()->SafeDestroyAnData(anFile); in LoadAOTFiles()
/arkcompiler/ets_runtime/ecmascript/debugger/
Dhot_reload_manager.cpp66 auto *patchExtractor = JSPandaFileManager::GetInstance()->GetJSPtExtractor(jsPandaFile); in ExtractPatch()
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_parser_test.cpp139 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
212 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
278 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
339 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()
405 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0()

123