Searched refs:error_count (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/tests/unit/ |
D | edify_test.cpp | 26 int error_count = 0; in expect() local 27 EXPECT_EQ(0, ParseString(expr_str, &e, &error_count)); in expect() 28 EXPECT_EQ(0, error_count); in expect() 154 int error_count = 0; in TEST_F() local 155 EXPECT_EQ(1, ParseString(script1, &expr, &error_count)); in TEST_F() 156 EXPECT_EQ(1, error_count); in TEST_F() 159 error_count = 0; in TEST_F() 160 EXPECT_EQ(1, ParseString(script2, &expr, &error_count)); in TEST_F() 161 EXPECT_EQ(1, error_count); in TEST_F() 164 error_count = 0; in TEST_F() [all …]
|
D | updater_test.cpp | 64 int error_count = 0; in expect() local 65 ASSERT_EQ(0, ParseString(expr_str, &e, &error_count)); in expect() 66 ASSERT_EQ(0, error_count); in expect()
|
/bootable/recovery/edify/ |
D | parser.yy | 35 void yyerror(std::unique_ptr<Expr>* root, int* error_count, const char* s); 36 int yyparse(std::unique_ptr<Expr>* root, int* error_count); 74 %parse-param {int* error_count} 110 yyerror(root, error_count, msg.c_str()); 133 void yyerror(std::unique_ptr<Expr>* root, int* error_count, const char* s) { 138 ++*error_count; 141 int ParseString(const std::string& str, std::unique_ptr<Expr>* root, int* error_count) { 143 return yyparse(root, error_count);
|
/bootable/recovery/updater/ |
D | updater.cpp | 70 int error_count = 0; in RunUpdate() local 71 int error = ParseString(updater_script_, &root, &error_count); in RunUpdate() 72 if (error != 0 || error_count > 0) { in RunUpdate() 73 LOG(ERROR) << error_count << " parse errors"; in RunUpdate()
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 157 int ParseString(const std::string& str, std::unique_ptr<Expr>* root, int* error_count);
|