• Home
  • Raw
  • Download

Lines Matching refs:patchFileName

42     std::string patchFileName;  in LoadPatchIfNeeded()  local
46 bool needLoadPatch = callBack_(baseFileName, patchFileName, &patchBuffer, patchSize); in LoadPatchIfNeeded()
47 if (needLoadPatch && !HasLoadedPatch(patchFileName)) { in LoadPatchIfNeeded()
48 LoadPatch(thread, patchFileName, patchBuffer, patchSize, baseFileName); in LoadPatchIfNeeded()
53 bool QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName, const std::stri… in LoadPatch() argument
55 if (quickFixLoaders_.find(patchFileName) != quickFixLoaders_.end()) { in LoadPatch()
60 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName; in LoadPatch()
62 bool ret = loader->LoadPatch(thread, patchFileName.c_str(), baseFileName.c_str()); in LoadPatch()
68 quickFixLoaders_.emplace(patchFileName, loader); in LoadPatch()
72 bool QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName, in LoadPatch() argument
75 if (quickFixLoaders_.find(patchFileName) != quickFixLoaders_.end()) { in LoadPatch()
80 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName; in LoadPatch()
82 …bool ret = loader->LoadPatch(thread, patchFileName.c_str(), patchBuffer, patchSize, baseFileName.c… in LoadPatch()
88 quickFixLoaders_.emplace(patchFileName, loader); in LoadPatch()
92 bool QuickFixManager::UnloadPatch(JSThread *thread, const std::string &patchFileName) in UnloadPatch() argument
94 auto loaderIter = quickFixLoaders_.find(patchFileName); in UnloadPatch()
100 LOG_ECMA(INFO) << "Unload patch: " << patchFileName; in UnloadPatch()
102 bool ret = loader->UnloadPatch(thread, patchFileName.c_str()); in UnloadPatch()
110 quickFixLoaders_.erase(patchFileName); in UnloadPatch()
116 const std::string &patchFileName) in IsQuickFixCausedException() argument
119 const JSPandaFile* patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)); in IsQuickFixCausedException()
120 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException()