Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 13 of 13) sorted by relevance

/bootable/deprecated-ota/edify/
Dparser.yy29 #include "edify/expr.h"
62 Expr* expr;
68 %type <expr> expr
71 %destructor { delete $$; } expr
89 input: expr { root->reset($1); }
92 expr: STRING {
95 | '(' expr ')' { $$ = $2; $$->start=@$.start; $$->end=@$.end; }
96 | expr ';' { $$ = $1; $$->start=@1.start; $$->end=@1.end; }
97 | expr ';' expr { $$ = Build(SequenceFn, @$, 2, $1, $3); }
98 | error ';' expr { $$ = $3; $$->start=@$.start; $$->end=@$.end; }
[all …]
Dexpr.cpp45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { in Evaluate() argument
50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate()
63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) { in EvaluateValue() argument
64 return expr->fn(expr->name.c_str(), state, expr->argv); in EvaluateValue()
DAndroid.bp32 "expr.cpp",
Dlexer.ll21 #include "edify/expr.h"
/bootable/deprecated-ota/tests/unit/
Dedify_test.cpp153 std::unique_ptr<Expr> expr; in TEST_F() local
155 EXPECT_EQ(1, ParseString(script1, &expr, &error_count)); in TEST_F()
160 EXPECT_EQ(1, ParseString(script2, &expr, &error_count)); in TEST_F()
165 EXPECT_EQ(1, ParseString(script3, &expr, &error_count)); in TEST_F()
/bootable/libbootloader/gbl/libefi/src/
Dprotocol.rs104 ( $method:expr, $($x:expr),*$(,)? ) => {
Dlib.rs709 ( $efi_entry:expr, $( $x:expr ),* $(,)? ) => {
716 ( $efi_entry:expr, $( $x:expr ),* ) => {
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs360 ( $arr:expr, $msg_type:expr, $( $x:expr ),* $(,)? ) => {
373 ( $arr:expr, $( $x:expr ),* ) => { fastboot_msg!($arr, "OKAY", $($x,)*) };
378 ( $arr:expr, $( $x:expr ),* ) => { fastboot_msg!($arr, "FAIL", $($x,)*) };
383 ( $arr:expr, $( $x:expr ),* ) => { fastboot_msg!($arr, "INFO", $($x,)*) };
955 ( $arr:expr, $( $x:expr ),* ) => {
/bootable/deprecated-ota/edify/include/edify/
Dexpr.h88 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr);
93 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result);
/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs1022 ($name:ident, $x0:expr, $x1:expr, $x2:expr, $x3:expr, $x4:expr, $x5:expr) => {
/bootable/libbootloader/gbl/libabr/src/
Dlib.rs66 ( $abr_ops:expr, $( $x:expr ),* $(,)? ) => {
/bootable/libbootloader/gbl/libgbl/src/slots/
Dfuchsia.rs454 ($($name:ident: $value:expr,)*) => {
527 ($($name:ident: $value:expr,)*) => {
/bootable/libbootloader/gbl/efi/src/
Dandroid_boot.rs42 ( $( $x:expr ),* $(,)?) => {