Home
last modified time | relevance | path

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

/bootable/recovery/edify/include/edify/
Dexpr.h68 struct Expr;
71 const std::vector<std::unique_ptr<Expr>>& argv);
73 struct Expr { struct
76 std::vector<std::unique_ptr<Expr>> argv; argument
79 Expr(Function fn, const std::string& name, int start, int end) : in Expr() function
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);
[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.cpp99 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn()
115 const std::vector<std::unique_ptr<Expr>>& argv) { in PackageExtractFileFn()
208 const std::vector<std::unique_ptr<Expr>>& argv) { in PatchPartitionCheckFn()
244 const std::vector<std::unique_ptr<Expr>>& argv) { 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()
510 const std::vector<std::unique_ptr<Expr>>& argv) { in ShowProgressFn()
541 const std::vector<std::unique_ptr<Expr>>& argv) { in SetProgressFn()
[all …]
Ddynamic_partitions.cpp63 const std::vector<std::unique_ptr<Expr>>& argv, in ReadStringArgs()
121 const std::vector<std::unique_ptr<Expr>>& argv) { in UnmapPartitionFn()
129 const std::vector<std::unique_ptr<Expr>>& argv) { in MapPartitionFn()
337 const std::vector<std::unique_ptr<Expr>>& argv) { in UpdateDynamicPartitionsFn()
Dupdater.cpp134 std::unique_ptr<Expr> root; in main()
Dblockimg.cpp1622 const std::vector<std::unique_ptr<Expr>>& argv, in PerformBlockImageUpdate()
2016 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageVerifyFn()
2039 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageUpdateFn()
2059 Value* RangeSha1Fn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in RangeSha1Fn()
2127 const std::vector<std::unique_ptr<Expr>>& argv) { in CheckFirstBlockFn()
2183 const std::vector<std::unique_ptr<Expr>>& argv) { in BlockImageRecoverFn()
/bootable/recovery/tests/component/
Dedify_test.cpp25 std::unique_ptr<Expr> e; in expect()
153 std::unique_ptr<Expr> expr; in TEST_F()
Dupdater_test.cpp64 std::unique_ptr<Expr> e; in expect()
144 const std::vector<std::unique_ptr<Expr>>& argv) { in BlobToString()