Home
last modified time | relevance | path

Searched refs:pfManager (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_manager_test.cpp76 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
77 …std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), CString(fileName.c_st… in HWTEST_F_L0()
83 pfManager->RemoveJSPandaFileVm(instance, pf.get()); in HWTEST_F_L0()
92 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
93 std::shared_ptr<JSPandaFile> ojspf = pfManager->OpenJSPandaFile(filename); in HWTEST_F_L0()
100 ojspf = pfManager->OpenJSPandaFile(filename); in HWTEST_F_L0()
103 pfManager->RemoveJSPandaFileVm(instance, ojspf.get()); in HWTEST_F_L0()
106 ojspf = pfManager->OpenJSPandaFile(filename); in HWTEST_F_L0()
117 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
122 …std::shared_ptr<JSPandaFile> pf1 = pfManager->NewJSPandaFile(pfPtr1.release(), CString(filename1)); in HWTEST_F_L0()
[all …]
Djs_pandafile_executor_test.cpp69 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
73 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), CString(fileName)); in HWTEST_F_L0()
86 pfManager->AddJSPandaFileVm(instance, pf); in HWTEST_F_L0()
92 pfManager->RemoveJSPandaFileVm(instance, pf.get()); in HWTEST_F_L0()
105 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
109 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), CString(fileName)); in HWTEST_F_L0()
122 pfManager->AddJSPandaFileVm(instance, pf); in HWTEST_F_L0()
128 pfManager->RemoveJSPandaFileVm(instance, pf.get()); in HWTEST_F_L0()
129 std::shared_ptr<JSPandaFile> foundPf = pfManager->FindJSPandaFile(fileName); in HWTEST_F_L0()
143 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
[all …]
Dpanda_file_translator_test.cpp72 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
74 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), CString(filename)); in HWTEST_F_L0()
87 pfManager->AddJSPandaFileVm(instance, pf); in HWTEST_F_L0()
89 …JSHandle<ecmascript::Program> program1 = pfManager->GenerateProgram(vm, pf.get(), std::string_view… in HWTEST_F_L0()
95 …JSHandle<ecmascript::Program> program2 = pfManager->GenerateProgram(vm, pf.get(), JSPandaFile::ENT… in HWTEST_F_L0()
100 pfManager->RemoveJSPandaFileVm(instance, pf.get()); in HWTEST_F_L0()
115 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
117 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), CString(filename)); in HWTEST_F_L0()
126 pfManager->AddJSPandaFileVm(instance, pf); in HWTEST_F_L0()
134 pfManager->RemoveJSPandaFileVm(instance, pf.get()); in HWTEST_F_L0()
Dquick_fix_test.cpp144 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
149 …std::shared_ptr<JSPandaFile> baseFile = pfManager->NewJSPandaFile(basePF.release(), CString(baseFi… in HWTEST_F_L0()
150 …std::shared_ptr<JSPandaFile> patchFile = pfManager->NewJSPandaFile(patchPF.release(), CString(patc… in HWTEST_F_L0()
151 pfManager->AddJSPandaFileVm(instance, baseFile); in HWTEST_F_L0()
152 pfManager->AddJSPandaFileVm(instance, patchFile); in HWTEST_F_L0()
158 pfManager->RemoveJSPandaFileVm(instance, baseFile.get()); in HWTEST_F_L0()
159 pfManager->RemoveJSPandaFileVm(instance, patchFile.get()); in HWTEST_F_L0()
198 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
199 pfManager->RemoveJSPandaFileVm(instance, baseFile.get()); in HWTEST_F_L0()
Djs_pandafile_test.cpp65 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in CreateJSPandaFile() local
66 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), filename); in CreateJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_parser_test.cpp139 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
141 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
212 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
214 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
278 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
280 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
339 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
341 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
405 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
407 const auto jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
Dts_type_table_generator_test.cpp109 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
111 std::shared_ptr<JSPandaFile> jsPandaFile = pfManager->NewJSPandaFile(pfPtr.release(), fileName); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp298 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
302 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), baseFilename); in HWTEST_F_L0()
329 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
333 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), baseFilename); in HWTEST_F_L0()
364 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
368 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), baseFilename); in HWTEST_F_L0()
383 std::shared_ptr<JSPandaFile> pf2 = pfManager->NewJSPandaFile(pfPtr2.release(), baseFilename); in HWTEST_F_L0()
405 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in HWTEST_F_L0() local
409 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), baseFilename); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp206 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in IsQuickFixCausedException() local
207 …std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)… in IsQuickFixCausedException()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp72 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in CreateJSPandaFile() local
73 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), filename); in CreateJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp1764 JSPandaFileManager *pfManager = JSPandaFileManager::GetInstance(); in CreateJSPandaFile() local
1765 std::shared_ptr<JSPandaFile> pf = pfManager->NewJSPandaFile(pfPtr.release(), filename); in CreateJSPandaFile()