/base/update/updater/services/script/script_instruction/ |
D | script_basicinstruction.h | 21 class UScriptInstructionAbort : public Uscript::UScriptInstruction { 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 28 class UScriptInstructionAssert : public Uscript::UScriptInstruction { 32 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 35 class UScriptInstructionSleep : public Uscript::UScriptInstruction { 39 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 41 class UScriptInstructionStdout : public Uscript::UScriptInstruction { 45 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 48 class UScriptInstructionConcat : public Uscript::UScriptInstruction { 52 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; [all …]
|
D | script_updateprocesser.h | 21 class UScriptInstructionSetProcess : public Uscript::UScriptInstruction { 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 28 class UScriptInstructionShowProcess : public Uscript::UScriptInstruction { 32 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 35 class UScriptInstructionUiPrint : public Uscript::UScriptInstruction { 39 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | script_updateprocesser.cpp | 21 using namespace Uscript; 24 int32_t UScriptInstructionSetProcess::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in Execute() 37 int32_t UScriptInstructionShowProcess::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &c… in Execute() 55 int32_t UScriptInstructionUiPrint::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &conte… in Execute()
|
D | script_basicinstruction.cpp | 19 using namespace Uscript; 23 int32_t UScriptInstructionAbort::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 31 int32_t UScriptInstructionAssert::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute() 39 int32_t UScriptInstructionSleep::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 48 int32_t UScriptInstructionConcat::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute() 86 int32_t UScriptInstructionIsSubString::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &c… in Execute() 103 int32_t UScriptInstructionStdout::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute()
|
D | script_loadscript.h | 21 class ScriptLoadScript : public Uscript::UScriptInstruction { 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | script_registercmd.h | 21 class ScriptRegisterCmd : public Uscript::UScriptInstruction { 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | script_instructionhelper.cpp | 29 namespace Uscript { namespace 117 Uscript::UScriptInstructionFactoryPtr factory = nullptr; in RegisterUserInstruction() 123 …auto pGetInstructionFactory = (Uscript::UScriptInstructionFactoryPtr(*)())dlsym(instrLib_, "GetIns… in RegisterUserInstruction() 125 … (void(*)(Uscript::UScriptInstructionFactoryPtr))dlsym(instrLib_, "ReleaseInstructionFactory"); in RegisterUserInstruction() 156 Uscript::UScriptInstructionFactory *factory) in RegisterUserInstruction()
|
D | script_instructionhelper.h | 24 namespace Uscript { 41 …int32_t RegisterUserInstruction(const std::string &instrName, Uscript::UScriptInstructionFactory *…
|
/base/update/updater/services/updater_binary/ |
D | update_image_block.h | 23 class UScriptInstructionBlockUpdate : public Uscript::UScriptInstruction { 27 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 30 class UScriptInstructionBlockCheck : public Uscript::UScriptInstruction { 34 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 37 class UScriptInstructionShaCheck : public Uscript::UScriptInstruction { 41 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | update_image_patch.h | 24 class USInstrImagePatch : public Uscript::UScriptInstruction { 37 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 39 int32_t GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶); 40 std::string GetPatchFile(Uscript::UScriptEnv &env, const ImagePatchPara ¶); 41 int32_t ExecuteImagePatch(Uscript::UScriptEnv &env, Uscript::UScriptContext &context); 47 class USInstrImageShaCheck : public Uscript::UScriptInstruction { 59 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 61 int32_t ExecuteShaCheck(Uscript::UScriptEnv &env, Uscript::UScriptContext &context); 62 int32_t GetParam(Uscript::UScriptContext &context, CheckPara ¶);
|
D | update_processor.h | 27 using Uscript::UScriptEnv; 28 using Uscript::UScriptInstructionFactory; 29 using Uscript::UScriptInstructionFactoryPtr; 30 using Uscript::UScriptInstructionPtr; 51 class UScriptInstructionRawImageWrite : public Uscript::UScriptInstruction { 55 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | update_partitions.h | 24 class UpdatePartitions : public Uscript::UScriptInstruction { 28 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | update_image_patch.cpp | 36 using namespace Uscript; 44 int32_t USInstrImagePatch::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 51 int32_t USInstrImagePatch::GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶) in GetParam() 116 std::string USInstrImagePatch::GetPatchFile(Uscript::UScriptEnv &env, const ImagePatchPara ¶) in GetPatchFile() 166 int32_t USInstrImagePatch::ExecuteImagePatch(Uscript::UScriptEnv &env, Uscript::UScriptContext &con… in ExecuteImagePatch() 208 int32_t USInstrImageShaCheck::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 215 int32_t USInstrImageShaCheck::GetParam(Uscript::UScriptContext &context, CheckPara ¶) in GetParam() 259 int32_t USInstrImageShaCheck::ExecuteShaCheck(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in ExecuteShaCheck()
|
D | update_image_block.cpp | 31 using namespace Uscript; 132 static int32_t ReturnAndPushParam(int32_t returnValue, Uscript::UScriptContext &context) in ReturnAndPushParam() 146 static int32_t GetUpdateBlockInfo(struct UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in GetUpdateBlockInfo() 147 Uscript::UScriptContext &context) in GetUpdateBlockInfo() 190 static int32_t ExecuteTransferCommand(int fd, const std::vector<std::string> &lines, Uscript::UScri… in ExecuteTransferCommand() 191 Uscript::UScriptContext &context, const std::string &partitionName) in ExecuteTransferCommand() 230 static int InitThread(const struct UpdateBlockInfo &infos, Uscript::UScriptEnv &env, Uscript::UScri… in InitThread() 246 static int32_t ExtractDiffPackageAndLoad(const UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in ExtractDiffPackageAndLoad() 247 Uscript::UScriptContext &context) in ExtractDiffPackageAndLoad() 286 static int32_t DoExecuteUpdateBlock(const UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in DoExecuteUpdateBlock() [all …]
|
/base/update/updater/services/script/script_interpreter/ |
D | scanner.h | 32 #define YY_DECL Uscript::Parser::symbol_type Uscript::Scanner::nextToken() 34 namespace Uscript { 45 virtual Uscript::Parser::symbol_type nextToken();
|
D | script_yacc.y | 22 %define api.namespace {Uscript} //声明命名空间与下面声明的类名结合使用 Uscript::Parser:: 在scanner.l中有体现 44 namespace Uscript { /*避免包含头文件时冲突 */ 61 …static Uscript::Parser::symbol_type yylex(Uscript::Scanner* scanner, Uscript::ScriptInterpreter* i… in yylex() 66 using namespace Uscript; variable 78 %lex-param { Uscript::Scanner* scanner } 79 %lex-param { Uscript::ScriptInterpreter* interpreter } 82 %parse-param { Uscript::Scanner* scanner } 83 %parse-param { Uscript::ScriptInterpreter* interpreter }
|
D | script_scanner.cpp | 20 namespace Uscript { namespace
|
/base/update/updater/test/unittest/script/script_instruction/user_instruction/ |
D | user_instruction_invalid.cpp | 21 using namespace Uscript; 54 __attribute__((visibility("default"))) Uscript::UScriptInstructionFactoryPtr GetInstructionFactory() in GetInstructionFactory() 59 __attribute__((visibility("default"))) void ReleaseInstructionFactory(Uscript::UScriptInstructionFa… in ReleaseInstructionFactory()
|
D | user_instruction.cpp | 22 using namespace Uscript; 77 __attribute__((visibility("default"))) Uscript::UScriptInstructionFactoryPtr GetInstructionFactory() in GetInstructionFactory() 82 __attribute__((visibility("default"))) void ReleaseInstructionFactory(Uscript::UScriptInstructionFa… in ReleaseInstructionFactory()
|
/base/update/updater/services/include/applypatch/ |
D | updater_env.h | 27 using Uscript::UScriptEnv; 28 using Uscript::UScriptInstructionFactory; 29 using Uscript::UScriptInstructionFactoryPtr;
|
D | transfer_manager.h | 37 Uscript::UScriptEnv *env; 49 Uscript::UScriptEnv *env;
|
/base/update/updater/test/unittest/updater_binary/ |
D | update_binary_unittest.h | 23 class UTestBinaryEnv : public Uscript::UScriptEnv { 25 …explicit UTestBinaryEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : Uscript::UScriptEnv(pkgM… in UTestBinaryEnv() 31 Uscript::UScriptInstructionFactoryPtr GetInstructionFactory() in GetInstructionFactory() 51 Uscript::UScriptInstructionFactory *factory_ = nullptr;
|
/base/update/updater/test/unittest/script/ |
D | script_unittest.cpp | 36 using namespace Uscript; 95 class TestScriptInstructionSparseImageWrite : public Uscript::UScriptInstruction { 99 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override in Execute()
|
/base/update/updater/services/script/script_manager/ |
D | script_utils.cpp | 17 namespace Uscript { namespace
|
/base/update/updater/services/include/script/ |
D | script_instruction.h | 21 namespace Uscript { 131 Uscript::UScriptInstructionFactoryPtr GetInstructionFactory();
|