Lines Matching refs:patchFileName

31                         std::string &patchFileName,
45 std::string patchFileName;
55 bool needLoadPatch = callBack_(baseFileName.c_str(), patchFileName, &patchBuffer, patchSize);
62 thread, patchFileName.c_str(), "", patchBuffer, patchSize);
69 patchAndBaseFileNameMap_[patchFileName.c_str()] = baseFileName;
82 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName,
85 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName;
100 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, patchFileName.c_str(), "");
123 const std::string &patchFileName, uint8_t *patchBuffer, size_t patchSize,
126 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName;
140 thread, patchFileName.c_str(), "", patchBuffer, patchSize);
162 PatchErrorCode QuickFixManager::UnloadPatch(JSThread *thread, const std::string &patchFileName)
164 LOG_ECMA(INFO) << "Unload patch, patch: " << patchFileName;
167 if (item.second.patchFileName == patchFileName.c_str()) {
177 patchAndBaseFileNameMap_.erase(patchFileName.c_str());
178 auto ret = PatchLoader::UnloadPatchInternal(thread, patchFileName.c_str(), baseFileName.c_str(), patchInfo);
211 CString patchFileName = patchInfo.patchFileName;
212 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName);
238 const std::string &patchFileName)
241 std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName));
242 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) {