Home
last modified time | relevance | path

Searched refs:AddInstruction (Results 1 - 5 of 5) sorted by relevance

/base/update/updater/services/script/script_instruction/
H A 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_progres in RegisterInstructions()
98 int32_t ScriptInstructionHelper::AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr) AddInstruction() function in Uscript::ScriptInstructionHelper
[all...]
H A Dscript_instructionhelper.h37 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr);
/base/update/updater/services/script/script_manager/
H A Dscript_manager_impl.h43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction);
H A Dscript_managerImpl.cpp156 helper.AddInstruction(instrName, instr); in RegisterInstruction()
243 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction) in AddInstruction() function in Uscript::ScriptManagerImpl
245 USCRIPT_LOGD("AddInstruction instrName: %s ", instrName.c_str()); in AddInstruction()
/base/update/updater/test/unittest/script/script_instruction/
H A Dscript_instructionhelper_unittest.cpp158 EXPECT_EQ(helper->AddInstruction(instruction, nullptr), USCRIPT_ERROR_REVERED); in TestAddInstruction()
162 EXPECT_EQ(helper->AddInstruction("instruction1", instr1), USCRIPT_SUCCESS); in TestAddInstruction()
165 EXPECT_EQ(helper->AddInstruction("instruction1", instr2), USCRIPT_SUCCESS); in TestAddInstruction()

Completed in 2 milliseconds