Lines Matching refs:PatchErrorCode
66 if (ret != PatchErrorCode::SUCCESS) { in LoadPatchIfNeeded()
74 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName, in LoadPatch()
80 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch()
87 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
95 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
100 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch()
107 return PatchErrorCode::SUCCESS; in LoadPatch()
110 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, in LoadPatch()
117 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch()
124 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
131 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
136 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch()
143 return PatchErrorCode::SUCCESS; in LoadPatch()
146 PatchErrorCode QuickFixManager::UnloadPatch(JSThread *thread, const std::string &patchFileName) in UnloadPatch()
157 return PatchErrorCode::PATCH_NOT_LOADED; in UnloadPatch()
162 if (ret != PatchErrorCode::SUCCESS) { in UnloadPatch()
169 return PatchErrorCode::SUCCESS; in UnloadPatch()