Home
last modified time | relevance | path

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

/bootable/recovery/edify/include/edify/
Dexpr.h30 struct State { struct
31 State(const std::string& script, void* cookie);
70 using Function = Value* (*)(const char* name, State* state, argument
87 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr);
92 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result);
95 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
100 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
101 Value* LogicalAndFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
102 Value* LogicalOrFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
103 Value* LogicalNotFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
[all …]
/bootable/recovery/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/recovery/updater/include/updater/
Dinstall.h20 struct State;
25 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...)
/bootable/recovery/updater/
Dinstall.cpp68 static void uiPrint(State* state, const std::string& buffer) { in uiPrint()
86 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...) { in uiPrintf()
99 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn()
114 Value* PackageExtractFileFn(const char* name, State* state, in PackageExtractFileFn()
207 Value* PatchPartitionCheckFn(const char* name, State* state, in PatchPartitionCheckFn()
243 Value* PatchPartitionFn(const char* name, State* state, in PatchPartitionFn()
281 Value* MountFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in MountFn()
343 Value* IsMountedFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IsMountedFn()
367 Value* UnmountFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UnmountFn()
421 Value* FormatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in FormatFn()
[all …]
Ddynamic_partitions.cpp62 static std::vector<std::string> ReadStringArgs(const char* name, State* state, in ReadStringArgs()
120 Value* UnmapPartitionFn(const char* name, State* state, in UnmapPartitionFn()
128 Value* MapPartitionFn(const char* name, State* state, in MapPartitionFn()
336 Value* UpdateDynamicPartitionsFn(const char* name, State* state, in UpdateDynamicPartitionsFn()
Dupdater.cpp159 State state(script, &updater_info); in main()
Dblockimg.cpp877 static int CreateStash(State* state, size_t maxblocks, const std::string& base) { in CreateStash()
1621 static Value* PerformBlockImageUpdate(const char* name, State* state, in PerformBlockImageUpdate()
2015 Value* BlockImageVerifyFn(const char* name, State* state, in BlockImageVerifyFn()
2038 Value* BlockImageUpdateFn(const char* name, State* state, in BlockImageUpdateFn()
2059 Value* RangeSha1Fn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in RangeSha1Fn()
2126 Value* CheckFirstBlockFn(const char* name, State* state, in CheckFirstBlockFn()
2182 Value* BlockImageRecoverFn(const char* name, State* state, in BlockImageRecoverFn()
/bootable/recovery/tests/component/
Dedify_test.cpp30 State state(expr_str, nullptr); in expect()
Dupdater_test.cpp69 State state(expr_str, info); in expect()
143 static Value* BlobToString(const char* name, State* state, in BlobToString()
/bootable/recovery/updater_sample/
DREADME.md54 ## Sample App State vs UpdateEngine Status