Home
last modified time | relevance | path

Searched refs:patchFile (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/debugger/
Dhot_reload_manager.cpp22 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()
Dhot_reload_manager.h31 void NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile);
32 void NotifyPatchUnloaded(const JSPandaFile *patchFile);
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Dquick_fix_test.cpp117 JSPandaFile *patchFile = pfManager->NewJSPandaFile(patchPF.release(), CString(patchFileName)); in HWTEST_F_L0() local
119 pfManager->InsertJSPandaFile(patchFile); in HWTEST_F_L0()
125 pfManager->RemoveJSPandaFile((void *)patchFile); in HWTEST_F_L0()
144 JSPandaFile *patchFile = pfManager->NewJSPandaFile(patchPF.release(), patchFileName.c_str()); in QuickFixQueryFunc() local
145 pfManager->InsertJSPandaFile(patchFile); in QuickFixQueryFunc()
161 …const JSPandaFile *patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName.c_… in HWTEST_F_L0() local
163 EXPECT_TRUE(patchFile != nullptr); in HWTEST_F_L0()
167 pfManager->RemoveJSPandaFile((void *)patchFile); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dquick_fix_loader.cpp39 const JSPandaFile *patchFile = in LoadPatch() local
41 if (patchFile == nullptr) { in LoadPatch()
46 return LoadPatchInternal(thread, baseFile, patchFile); in LoadPatch()
58 const JSPandaFile *patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local
60 if (patchFile == nullptr) { in LoadPatch()
65 return LoadPatchInternal(thread, baseFile, patchFile); in LoadPatch()
68 …der::LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, const JSPandaFile *patchFile) in LoadPatchInternal() argument
74 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal()
91 …_unused]] CVector<JSHandle<Program>> patchPrograms = ParseAllConstpoolWithMerge(thread, patchFile); in LoadPatchInternal()
92 JSTaggedValue patchConstpoolValue = vm->FindConstpool(patchFile, 0); in LoadPatchInternal()
[all …]
Dquick_fix_loader.h37 …ool LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, const JSPandaFile *patchFile);
40 const JSPandaFile *patchFile,
56 …tePatchMain(JSThread *thread, const JSHandle<Program> &patchProgram, const JSPandaFile *patchFile);
57 …chMain(JSThread *thread, const CVector<JSHandle<Program>> &programs, const JSPandaFile *patchFile);
68 …bool CheckIsInvalidPatch(const JSPandaFile *baseFile, const JSPandaFile *patchFile, EcmaVM *vm) co…
Dquick_fix_manager.cpp119 const JSPandaFile* patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)); in IsQuickFixCausedException() local
120 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException()
131 CUnorderedMap<uint32_t, MethodLiteral *> patchMethodLiterals = patchFile->GetMethodLiteralMap(); in IsQuickFixCausedException()
135 const char *patchMethodName = MethodLiteral::GetMethodName(patchFile, methodId); in IsQuickFixCausedException()
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp81 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) == baseFile); in HWTEST_F_L0()
94 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(patchFile) != baseFile); in HWTEST_F_L0()