Lines Matching refs:scriptName
158 const std::string &scriptName) in ExtractAndExecuteScript() argument
163 const FileInfo *info = manager->GetFileInfo(scriptName); in ExtractAndExecuteScript()
169 int32_t ret = manager->CreatePkgStream(outStream, path + "/" + scriptName, in ExtractAndExecuteScript()
172 USCRIPT_LOGE("Failed to create script stream %s", scriptName.c_str()); in ExtractAndExecuteScript()
176 ret = manager->ExtractFile(scriptName, outStream); in ExtractAndExecuteScript()
179 USCRIPT_LOGE("Failed to extract script stream %s", scriptName.c_str()); in ExtractAndExecuteScript()
183 if (scriptVerifier_ == nullptr || !scriptVerifier_->VerifyHashData(scriptName, outStream)) { in ExtractAndExecuteScript()
185 USCRIPT_LOGE("verify script %s by hash signed data failed", scriptName.c_str()); in ExtractAndExecuteScript()
192 USCRIPT_LOGE("Failed to ExecuteScript %s", scriptName.c_str()); in ExtractAndExecuteScript()
249 int32_t ScriptManagerImpl::AddScript(const std::string &scriptName, int32_t priority) in AddScript() argument
265 if (manager->GetFileInfo(scriptName) == nullptr) { in AddScript()
266 USCRIPT_LOGE("Failed to access script %s", scriptName.c_str()); in AddScript()
270 scriptFiles_[priority].push_back(scriptName); in AddScript()