Home
last modified time | relevance | path

Searched refs:Uscript (Results 1 – 25 of 62) sorted by relevance

123

/base/update/updater/services/script/script_instruction/
Dscript_basicinstruction.h21 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 …]
Dscript_updateprocesser.h21 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;
Dscript_updateprocesser.cpp21 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()
Dscript_basicinstruction.cpp19 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()
Dscript_loadscript.h21 class ScriptLoadScript : public Uscript::UScriptInstruction {
25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_registercmd.h21 class ScriptRegisterCmd : public Uscript::UScriptInstruction {
25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_instructionhelper.cpp29 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()
Dscript_instructionhelper.h24 namespace Uscript {
41 …int32_t RegisterUserInstruction(const std::string &instrName, Uscript::UScriptInstructionFactory *…
/base/update/updater/services/updater_binary/
Dupdate_image_block.h23 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;
Dupdate_image_patch.h24 class USInstrImagePatch : public Uscript::UScriptInstruction {
37 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
39 int32_t GetParam(Uscript::UScriptContext &context, ImagePatchPara &para);
40 std::string GetPatchFile(Uscript::UScriptEnv &env, const ImagePatchPara &para);
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 &para);
Dupdate_processor.h27 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;
Dupdate_partitions.h24 class UpdatePartitions : public Uscript::UScriptInstruction {
28 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dupdate_image_patch.cpp36 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 &para) in GetParam()
116 std::string USInstrImagePatch::GetPatchFile(Uscript::UScriptEnv &env, const ImagePatchPara &para) 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 &para) in GetParam()
259 int32_t USInstrImageShaCheck::ExecuteShaCheck(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in ExecuteShaCheck()
Dupdate_image_block.cpp31 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/
Dscanner.h32 #define YY_DECL Uscript::Parser::symbol_type Uscript::Scanner::nextToken()
34 namespace Uscript {
45 virtual Uscript::Parser::symbol_type nextToken();
Dscript_yacc.y22 %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 }
Dscript_scanner.cpp20 namespace Uscript { namespace
/base/update/updater/test/unittest/script/script_instruction/user_instruction/
Duser_instruction_invalid.cpp21 using namespace Uscript;
54 __attribute__((visibility("default"))) Uscript::UScriptInstructionFactoryPtr GetInstructionFactory() in GetInstructionFactory()
59 __attribute__((visibility("default"))) void ReleaseInstructionFactory(Uscript::UScriptInstructionFa… in ReleaseInstructionFactory()
Duser_instruction.cpp22 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/
Dupdater_env.h27 using Uscript::UScriptEnv;
28 using Uscript::UScriptInstructionFactory;
29 using Uscript::UScriptInstructionFactoryPtr;
Dtransfer_manager.h37 Uscript::UScriptEnv *env;
49 Uscript::UScriptEnv *env;
/base/update/updater/test/unittest/updater_binary/
Dupdate_binary_unittest.h23 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/
Dscript_unittest.cpp36 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/
Dscript_utils.cpp17 namespace Uscript { namespace
/base/update/updater/services/include/script/
Dscript_instruction.h21 namespace Uscript {
131 Uscript::UScriptInstructionFactoryPtr GetInstructionFactory();

123