Home
last modified time | relevance | path

Searched refs:error_count (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/tests/component/
Dedify_test.cpp26 int error_count = 0; in expect() local
27 EXPECT_EQ(0, parse_string(expr_str, &e, &error_count)); in expect()
28 EXPECT_EQ(0, error_count); in expect()
157 int error_count = 0; in TEST_F() local
158 EXPECT_EQ(1, parse_string(script1, &expr, &error_count)); in TEST_F()
159 EXPECT_EQ(1, error_count); in TEST_F()
162 error_count = 0; in TEST_F()
163 EXPECT_EQ(1, parse_string(script2, &expr, &error_count)); in TEST_F()
164 EXPECT_EQ(1, error_count); in TEST_F()
167 error_count = 0; in TEST_F()
[all …]
Dupdater_test.cpp56 int error_count = 0; in expect() local
57 ASSERT_EQ(0, parse_string(expr_str, &e, &error_count)); in expect()
58 ASSERT_EQ(0, error_count); in expect()
/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);
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 parse_string(const char* str, std::unique_ptr<Expr>* root, int* error_count) {
143 return yyparse(root, error_count);
/bootable/recovery/updater/
Dupdater.cpp137 int error_count = 0; in main() local
138 int error = parse_string(script.c_str(), &root, &error_count); in main()
139 if (error != 0 || error_count > 0) { in main()
140 LOG(ERROR) << error_count << " parse errors"; in main()
/bootable/recovery/edify/include/edify/
Dexpr.h159 int parse_string(const char* str, std::unique_ptr<Expr>* root, int* error_count);