Lines Matching refs:baseFileName
31 void QuickFixManager::RegisterQuickFixQueryFunc(const std::function<bool(std::string baseFileName, in RegisterQuickFixQueryFunc() argument
49 CString baseFileName = baseFile->GetJSPandaFileDesc(); in LoadPatchIfNeeded() local
50 bool needLoadPatch = callBack_(baseFileName.c_str(), patchFileName, &patchBuffer, patchSize); in LoadPatchIfNeeded()
52 LOG_ECMA(INFO) << "Do not need load patch of: " << baseFileName; in LoadPatchIfNeeded()
56 if (methodInfos_.find(baseFileName) != methodInfos_.end()) { in LoadPatchIfNeeded()
57 LOG_ECMA(DEBUG) << "Cannot repeat load patch of: " << baseFileName; in LoadPatchIfNeeded()
64 LOG_ECMA(ERROR) << "load patch jsPandafile failed of: " << baseFileName; in LoadPatchIfNeeded()
74 LOG_ECMA(ERROR) << "Load patch fail of: " << baseFileName; in LoadPatchIfNeeded()
78 methodInfos_.emplace(baseFileName, patchInfo); in LoadPatchIfNeeded()
82 const std::string &baseFileName) in LoadPatch() argument
84 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName; in LoadPatch()
85 if (methodInfos_.find(baseFileName.c_str()) != methodInfos_.end()) { in LoadPatch()
91 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, baseFileName.c_str(), ""); in LoadPatch()
115 methodInfos_.emplace(baseFileName.c_str(), patchInfo); in LoadPatch()
122 … const std::string &baseFileName, const void *baseBuffer, size_t baseSize) in LoadPatch() argument
124 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName; in LoadPatch()
125 if (methodInfos_.find(baseFileName.c_str()) != methodInfos_.end()) { in LoadPatch()
131 thread, baseFileName.c_str(), "", baseBuffer, baseSize); in LoadPatch()
154 methodInfos_.emplace(baseFileName.c_str(), patchInfo); in LoadPatch()
162 CString baseFileName; in UnloadPatch() local
165 baseFileName = item.first; in UnloadPatch()
168 if (baseFileName.empty()) { in UnloadPatch()
173 PatchInfo &patchInfo = methodInfos_.find(baseFileName)->second; in UnloadPatch()
174 …auto ret = PatchLoader::UnloadPatchInternal(thread, patchFileName.c_str(), baseFileName.c_str(), p… in UnloadPatch()
180 methodInfos_.erase(baseFileName.c_str()); in UnloadPatch()