/bootable/recovery/edify/ |
D | expr.h | 27 typedef struct Expr Expr; typedef 66 int argc, Expr* argv[]); 68 struct Expr { struct 72 Expr** argv; argument 79 Value* EvaluateValue(State* state, Expr* expr); 86 char* Evaluate(State* state, Expr* expr); 89 Value* Literal(const char* name, State* state, int argc, Expr* argv[]); 94 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]); 95 Value* LogicalAndFn(const char* name, State* state, int argc, Expr* argv[]); 96 Value* LogicalOrFn(const char* name, State* state, int argc, Expr* argv[]); [all …]
|
D | parser.yy | 29 void yyerror(Expr** root, int* error_count, const char* s); 30 int yyparse(Expr** root, int* error_count); 42 Expr* expr; 45 Expr** argv; 54 %parse-param {Expr** root} 73 $$ = reinterpret_cast<Expr*>(malloc(sizeof(Expr))); 94 $$ = reinterpret_cast<Expr*>(malloc(sizeof(Expr))); 116 $$.argv = reinterpret_cast<Expr**>(malloc(sizeof(Expr*))); 121 $$.argv = reinterpret_cast<Expr**>(realloc($$.argv, $$.argc * sizeof(Expr*))); 128 void yyerror(Expr** root, int* error_count, const char* s) { [all …]
|
D | expr.cpp | 40 char* Evaluate(State* state, Expr* expr) { in Evaluate() 53 Value* EvaluateValue(State* state, Expr* expr) { in EvaluateValue() 72 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) { in ConcatFn() 108 Value* IfElseFn(const char* name, State* state, int argc, Expr* argv[]) { in IfElseFn() 132 Value* AbortFn(const char* name, State* state, int argc, Expr* argv[]) { in AbortFn() 146 Value* AssertFn(const char* name, State* state, int argc, Expr* argv[]) { in AssertFn() 171 Value* SleepFn(const char* name, State* state, int argc, Expr* argv[]) { in SleepFn() 181 Value* StdoutFn(const char* name, State* state, int argc, Expr* argv[]) { in StdoutFn() 195 int argc, Expr* argv[]) { in LogicalAndFn() 207 int argc, Expr* argv[]) { in LogicalOrFn() [all …]
|
D | main.cpp | 26 extern int yyparse(Expr** root, int* error_count); 29 Expr* e; in expect() 164 void ExprDump(int depth, Expr* n, char* script) { in ExprDump() 196 Expr* root; in main()
|
/bootable/recovery/updater/ |
D | install.cpp | 116 Value* MountFn(const char* name, State* state, int argc, Expr* argv[]) { in MountFn() 216 Value* IsMountedFn(const char* name, State* state, int argc, Expr* argv[]) { in IsMountedFn() 246 Value* UnmountFn(const char* name, State* state, int argc, Expr* argv[]) { in UnmountFn() 304 Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) { in FormatFn() 407 Value* RenameFn(const char* name, State* state, int argc, Expr* argv[]) { in RenameFn() 446 Value* DeleteFn(const char* name, State* state, int argc, Expr* argv[]) { in DeleteFn() 475 Value* ShowProgressFn(const char* name, State* state, int argc, Expr* argv[]) { in ShowProgressFn() 496 Value* SetProgressFn(const char* name, State* state, int argc, Expr* argv[]) { in SetProgressFn() 515 int argc, Expr* argv[]) { in PackageExtractDirFn() 543 int argc, Expr* argv[]) { in PackageExtractFileFn() [all …]
|
D | updater.cpp | 113 Expr* root; in main()
|
D | blockimg.cpp | 1383 static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], in PerformBlockImageUpdate() 1687 Value* BlockImageVerifyFn(const char* name, State* state, int argc, Expr* argv[]) { in BlockImageVerifyFn() 1705 Value* BlockImageUpdateFn(const char* name, State* state, int argc, Expr* argv[]) { in BlockImageUpdateFn() 1721 Value* RangeSha1Fn(const char* name, State* state, int /* argc */, Expr* argv[]) { in RangeSha1Fn() 1785 Value* CheckFirstBlockFn(const char* name, State* state, int argc, Expr* argv[]) { in CheckFirstBlockFn() 1834 Value* BlockImageRecoverFn(const char* name, State* state, int argc, Expr* argv[]) { in BlockImageRecoverFn()
|