Searched refs:patchFile (Results 1 – 7 of 7) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | quick_fix_manager.cpp | 59 … std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFileSecure( in LoadPatchIfNeeded() local 61 if (patchFile == nullptr) { in LoadPatchIfNeeded() 71 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo, baseClassI… in LoadPatchIfNeeded() 98 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local 101 if (patchFile == nullptr) { in LoadPatch() 107 patchAndBaseFileNameMap_[patchFile->GetJSPandaFileDesc()] = baseFileName.c_str(); in LoadPatch() 111 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch() 139 … std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFileSecure( in LoadPatch() local 141 if (patchFile == nullptr) { in LoadPatch() 147 patchAndBaseFileNameMap_[patchFile->GetJSPandaFileDesc()] = baseFileName.c_str(); in LoadPatch() [all …]
|
| D | patch_loader.cpp | 25 const JSPandaFile *patchFile, PatchInfo &patchInfo, in LoadPatchInternal() argument 32 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal() 37 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal() 40 … vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal() 59 vm->CreateAllConstpool(patchFile); in LoadPatchInternal() 60 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo); in LoadPatchInternal() 65 ExecuteFuncOrPatchMain(thread, patchFile, patchInfo); in LoadPatchInternal() 68 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal() 127 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in UnloadPatchInternal() local 128 if (patchFile == nullptr) { in UnloadPatchInternal() [all …]
|
| D | patch_loader.h | 123 const JSPandaFile *patchFile, PatchInfo &patchInfo, 138 static PatchInfo GeneratePatchInfo(const JSPandaFile *patchFile); 142 const JSPandaFile *patchFile, 157 … const JSPandaFile *patchFile, JSTaggedValue constpoolValue,
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | hot_reload_manager.cpp | 22 void HotReloadManager::NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile) in NotifyPatchLoaded() argument 28 baseJSPandaFiles_[patchFile] = baseFile; in NotifyPatchLoaded() 30 ExtractPatch(patchFile); in NotifyPatchLoaded() 34 void HotReloadManager::NotifyPatchUnloaded(const JSPandaFile *patchFile) in NotifyPatchUnloaded() argument 40 baseJSPandaFiles_.erase(patchFile); in NotifyPatchUnloaded()
|
| D | hot_reload_manager.h | 31 void NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile); 32 void NotifyPatchUnloaded(const JSPandaFile *patchFile);
|
| /arkcompiler/ets_runtime/ecmascript/debugger/tests/ |
| D | hot_reload_manager_test.cpp | 81 auto patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName.c_str()); in HWTEST_F_L0() local 82 EXPECT_TRUE(patchFile != nullptr); in HWTEST_F_L0() 83 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(patchFile.get()) == baseFile.get()); in HWTEST_F_L0() 94 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(patchFile.get()) != baseFile.get()); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
| D | quick_fix_test.cpp | 152 …std::shared_ptr<JSPandaFile> patchFile = pfManager->NewJSPandaFile(patchPF.release(), CString(patc… in HWTEST_F_L0() local 154 pfManager->AddJSPandaFile(patchFile); in HWTEST_F_L0() 161 pfManager->RemoveJSPandaFile(patchFile.get()); in HWTEST_F_L0() 174 std::shared_ptr<JSPandaFile> patchFile = in HWTEST_F_L0() local 176 EXPECT_TRUE(patchFile != nullptr); in HWTEST_F_L0() 186 … JSPandaFileManager::GetInstance()->GenerateProgram(instance, patchFile.get(), replacedRecordName); in HWTEST_F_L0() 227 std::shared_ptr<JSPandaFile> patchFile = in HWTEST_F_L0() local 229 EXPECT_TRUE(patchFile == nullptr); in HWTEST_F_L0()
|