Home
last modified time | relevance | path

Searched refs:scriptManager_ (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/script/script_instruction/
Dscript_instructionhelper.cpp68 scriptManager_->AddInstruction("RegisterCmder", new ScriptRegisterCmd()); in RegisterInstructions()
69 scriptManager_->AddInstruction("LoadScript", new ScriptLoadScript()); in RegisterInstructions()
70 scriptManager_->AddInstruction("Stdout", new UScriptInstructionStdout()); in RegisterInstructions()
71 scriptManager_->AddInstruction("Abort", new UScriptInstructionAbort()); in RegisterInstructions()
72 scriptManager_->AddInstruction("Assert", new UScriptInstructionAssert()); in RegisterInstructions()
73 scriptManager_->AddInstruction("Sleep", new UScriptInstructionSleep()); in RegisterInstructions()
74 scriptManager_->AddInstruction("Concat", new UScriptInstructionConcat()); in RegisterInstructions()
75 scriptManager_->AddInstruction("IsSubString", new UScriptInstructionIsSubString()); in RegisterInstructions()
76 scriptManager_->AddInstruction("set_progress", new UScriptInstructionSetProcess()); in RegisterInstructions()
77 scriptManager_->AddInstruction("show_progress", new UScriptInstructionShowProcess()); in RegisterInstructions()
[all …]
Dscript_instructionhelper.h27 explicit ScriptInstructionHelper(ScriptManagerImpl *impl) : scriptManager_(impl) {} in ScriptInstructionHelper()
52 ScriptManagerImpl* scriptManager_ {};
/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.cpp57 ScriptInterpreter::ScriptInterpreter(ScriptManagerImpl *manager) : scriptManager_(manager) in ScriptInterpreter()
168 return scriptManager_->FindInstruction(name) != nullptr; in IsNativeFunction()
177 UScriptInstruction* instruction = scriptManager_->FindInstruction(name); in ExecuteNativeFunc()
189 int32_t ret = instruction->Execute(*scriptManager_->GetScriptEnv(name), *funcContext.get()); in ExecuteNativeFunc()
212 int32_t ret = instruction->Execute(*scriptManager_->GetScriptEnv(name), *funcContext.get()); in ExecuteNativeFunc()
Dscript_interpreter.h76 ScriptManagerImpl* scriptManager_ = nullptr; variable