Home
last modified time | relevance | path

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

/bootable/recovery/edify/include/edify/
Dexpr.h69 struct Expr;
72 const std::vector<std::unique_ptr<Expr>>& argv);
74 struct Expr { struct
77 std::vector<std::unique_ptr<Expr>> argv; argument
80 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 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);
[all …]
/bootable/recovery/edify/
Dparser.yy35 void yyerror(std::unique_ptr<Expr>* root, int* error_count, const char* s);
36 int yyparse(std::unique_ptr<Expr>* root, int* error_count);
44 static Expr* Build(Function fn, YYLTYPE loc, size_t count, ...) {
47 Expr* e = new Expr(fn, "(operator)", loc.start, loc.end);
49 e->argv.emplace_back(va_arg(v, Expr*));
61 Expr* expr;
62 std::vector<std::unique_ptr<Expr>>* args;
73 %parse-param {std::unique_ptr<Expr>* root}
92 $$ = new Expr(Literal, $1, @$.start, @$.end);
113 $$ = new Expr(fn, $1, @$.start, @$.end);
[all …]
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()
166 const std::vector<std::unique_ptr<Expr>>& argv) { in LogicalAndFn()
179 const std::vector<std::unique_ptr<Expr>>& argv) { in LogicalOrFn()
[all …]
/bootable/recovery/updater/
Dinstall.cpp85 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn()
101 const std::vector<std::unique_ptr<Expr>>& argv) { in PackageExtractFileFn()
204 const std::vector<std::unique_ptr<Expr>>& argv) { in PatchPartitionCheckFn()
245 const std::vector<std::unique_ptr<Expr>>& argv) { 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()
484 const std::vector<std::unique_ptr<Expr>>& argv) { in ShowProgressFn()
514 const std::vector<std::unique_ptr<Expr>>& argv) { in SetProgressFn()
[all …]
Ddynamic_partitions.cpp37 const std::vector<std::unique_ptr<Expr>>& argv, in ReadStringArgs()
67 const std::vector<std::unique_ptr<Expr>>& argv) { in UnmapPartitionFn()
77 const std::vector<std::unique_ptr<Expr>>& argv) { in MapPartitionFn()
90 const std::vector<std::unique_ptr<Expr>>& argv) { in UpdateDynamicPartitionsFn()
Dupdate_simulator_main.cpp48 const std::vector<std::unique_ptr<Expr>>& /* argv */) { in SimulatorPlaceHolderFn() argument
Dupdater.cpp69 std::unique_ptr<Expr> root; in RunUpdate()
Dblockimg.cpp1627 const std::vector<std::unique_ptr<Expr>>& argv, in PerformBlockImageUpdate()
2025 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageVerifyFn()
2048 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageUpdateFn()
2068 Value* RangeSha1Fn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in RangeSha1Fn()
2143 const std::vector<std::unique_ptr<Expr>>& argv) { in CheckFirstBlockFn()
2208 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageRecoverFn()
/bootable/recovery/tests/unit/
Dedify_test.cpp25 std::unique_ptr<Expr> e; in expect()
153 std::unique_ptr<Expr> expr; in TEST_F()
Dupdater_test.cpp63 std::unique_ptr<Expr> e; in expect()
116 const std::vector<std::unique_ptr<Expr>>& argv) { in BlobToString()