Home
last modified time | relevance | path

Searched refs:State (Results 1 – 12 of 12) sorted by relevance

/bootable/deprecated-ota/edify/include/edify/
Dexpr.h32 struct State { struct
33 State(const std::string& script, UpdaterInterface* cookie);
71 using Function = Value* (*)(const char* name, State* state, argument
88 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr);
93 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result);
96 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
101 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
102 Value* LogicalAndFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
103 Value* LogicalOrFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
104 Value* LogicalNotFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
[all …]
/bootable/deprecated-ota/edify/
Dexpr.cpp45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { in Evaluate()
63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) { in EvaluateValue()
78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in ConcatFn()
94 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IfElseFn()
114 Value* AbortFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AbortFn()
124 Value* AssertFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AssertFn()
139 Value* SleepFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SleepFn()
154 Value* StdoutFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in StdoutFn()
165 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn()
178 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn()
[all …]
/bootable/deprecated-ota/updater/
Dinstall.cpp85 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn()
100 Value* PackageExtractFileFn(const char* name, State* state, in PackageExtractFileFn()
203 Value* PatchPartitionCheckFn(const char* name, State* state, in PatchPartitionCheckFn()
244 Value* PatchPartitionFn(const char* name, State* state, in PatchPartitionFn()
287 Value* MountFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in MountFn()
334 Value* IsMountedFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IsMountedFn()
357 Value* UnmountFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UnmountFn()
392 Value* FormatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in FormatFn()
483 Value* ShowProgressFn(const char* name, State* state, in ShowProgressFn()
513 Value* SetProgressFn(const char* name, State* state, in SetProgressFn()
[all …]
Ddynamic_partitions.cpp36 static std::vector<std::string> ReadStringArgs(const char* name, State* state, in ReadStringArgs()
66 Value* UnmapPartitionFn(const char* name, State* state, in UnmapPartitionFn()
76 Value* MapPartitionFn(const char* name, State* state, in MapPartitionFn()
89 Value* UpdateDynamicPartitionsFn(const char* name, State* state, in UpdateDynamicPartitionsFn()
Dupdater.cpp78 State state(updater_script_, this); in RunUpdate()
125 void Updater::ParseAndReportErrorCode(State* state) { in ParseAndReportErrorCode()
Dupdate_simulator_main.cpp47 Value* SimulatorPlaceHolderFn(const char* name, State* /* state */, in SimulatorPlaceHolderFn() argument
Dblockimg.cpp882 static int CreateStash(State* state, size_t maxblocks, const std::string& base) { in CreateStash()
1626 static Value* PerformBlockImageUpdate(const char* name, State* state, in PerformBlockImageUpdate()
2024 Value* BlockImageVerifyFn(const char* name, State* state, in BlockImageVerifyFn()
2047 Value* BlockImageUpdateFn(const char* name, State* state, in BlockImageUpdateFn()
2068 Value* RangeSha1Fn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in RangeSha1Fn()
2142 Value* CheckFirstBlockFn(const char* name, State* state, in CheckFirstBlockFn()
2207 Value* BlockImageRecoverFn(const char* name, State* state, in BlockImageRecoverFn()
/bootable/deprecated-ota/updater/include/updater/
Dupdater.h83 void ParseAndReportErrorCode(State* state);
/bootable/deprecated-ota/tests/unit/
Dedify_test.cpp30 State state(expr_str, nullptr); in expect()
Dupdater_test.cpp68 State state(expr_str, updater); in expect()
115 static Value* BlobToString(const char* name, State* state, in BlobToString()
/bootable/libbootloader/gbl/efi/src/
Dnet.rs350 return !self.get_socket().is_open() || self.get_socket().state() == tcp::State::CloseWait; in is_closed()
/bootable/recovery/updater_sample/
DREADME.md54 ## Sample App State vs UpdateEngine Status