Searched refs:instrName (Results 1 – 7 of 7) sorted by relevance
/base/update/updater/services/script/script_instruction/ |
D | script_instructionhelper.cpp | 97 int32_t ScriptInstructionHelper::AddInstruction(const std::string &instrName, const UScriptInstruct… in AddInstruction() argument 99 if (IsReservedInstruction(instrName)) { in AddInstruction() 100 USCRIPT_LOGE(" %s reserved", instrName.c_str()); in AddInstruction() 103 return scriptManager_->AddInstruction(instrName, instr); in AddInstruction() 107 const std::string &instrName) in RegisterAddInstruction() argument 112 int32_t ret = factory->CreateInstructionInstance(instr, instrName); in RegisterAddInstruction() 114 USCRIPT_LOGE("Fail to create instruction for %s", instrName.c_str()); in RegisterAddInstruction() 119 ret = AddInstruction(instrName, instr); in RegisterAddInstruction() 121 USCRIPT_LOGE("Fail to add instruction for %s", instrName.c_str()); in RegisterAddInstruction() 132 const std::string &instrName) in RegisterUserInstruction() argument [all …]
|
D | script_instructionhelper.h | 37 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr); 39 int32_t RegisterUserInstruction(const std::string &libName, const std::string &instrName); 41 …int32_t RegisterUserInstruction(const std::string &instrName, Uscript::UScriptInstructionFactory *… 48 const std::string &instrName);
|
D | script_registercmd.cpp | 35 std::string instrName; in Execute() local 37 int32_t ret = context.GetParam(0, instrName); in Execute() 51 return helper->RegisterUserInstruction(libName, instrName); in Execute()
|
/base/update/updater/services/script/script_manager/ |
D | script_managerImpl.cpp | 140 for (auto instrName : scriptEnv_->GetInstructionNames()) { in RegisterInstruction() local 143 int32_t ret = factory->CreateInstructionInstance(instr, instrName); in RegisterInstruction() 145 USCRIPT_LOGE("Failed to create instruction for %s", instrName.c_str()); in RegisterInstruction() 148 helper.AddInstruction(instrName, instr); in RegisterInstruction() 150 USCRIPT_LOGE("Failed to add instruction for %s", instrName.c_str()); in RegisterInstruction() 235 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr… in AddInstruction() argument 237 USCRIPT_LOGI("AddInstruction instrName: %s ", instrName.c_str()); in AddInstruction() 238 if (scriptInstructions_.find(instrName) != scriptInstructions_.end()) { in AddInstruction() 239 USCRIPT_LOGW("Instruction: %s exist", instrName.c_str()); in AddInstruction() 243 delete scriptInstructions_[instrName]; in AddInstruction() [all …]
|
D | script_manager_impl.h | 43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction); 44 UScriptInstruction* FindInstruction(const std::string &instrName); 45 UScriptEnv* GetScriptEnv(const std::string &instrName) const;
|
/base/update/updater/test/unittest/test_data/diffpatch/ |
D | PatchGztest_new.gz |
|
D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |