Home
last modified time | relevance | path

Searched refs:has_error (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium_org/tools/gn/
Dfunction_foreach_unittest.cc18 ASSERT_FALSE(input.has_error()); in TEST()
22 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
33 ASSERT_FALSE(input_good.has_error()); in TEST()
37 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
49 ASSERT_FALSE(input_bad.has_error()); // Should parse OK. in TEST()
52 ASSERT_TRUE(err.has_error()); // Shouldn't actually run. in TEST()
63 ASSERT_FALSE(input_good.has_error()); in TEST()
67 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
74 EXPECT_FALSE(err.has_error()); in TEST()
Dtemplate_unittest.cc19 ASSERT_FALSE(input.has_error()); in TEST()
23 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
37 ASSERT_FALSE(input.has_error()); in TEST()
41 EXPECT_TRUE(err.has_error()); in TEST()
53 ASSERT_FALSE(input.has_error()); in TEST()
57 EXPECT_TRUE(err.has_error()); in TEST()
71 ASSERT_FALSE(input.has_error()); in TEST()
75 EXPECT_TRUE(err.has_error()); in TEST()
92 ASSERT_FALSE(input.has_error()); in TEST()
Dparse_tree_unittest.cc30 EXPECT_TRUE(err.has_error()); in TEST()
38 EXPECT_TRUE(err.has_error()); in TEST()
47 EXPECT_FALSE(err.has_error()); in TEST()
62 EXPECT_FALSE(input_all_used.has_error()); in TEST()
66 EXPECT_FALSE(err.has_error()); in TEST()
75 EXPECT_FALSE(input_unused.has_error()); in TEST()
78 EXPECT_TRUE(err.has_error()); in TEST()
93 EXPECT_FALSE(input.has_error()); in TEST()
97 EXPECT_TRUE(err.has_error()); in TEST()
Dinput_conversion_unittest.cc36 EXPECT_FALSE(err.has_error()); in TEST_F()
43 EXPECT_FALSE(err.has_error()); in TEST_F()
53 EXPECT_FALSE(err.has_error()); in TEST_F()
64 EXPECT_FALSE(err.has_error()); in TEST_F()
76 EXPECT_FALSE(err.has_error()); in TEST_F()
86 EXPECT_FALSE(err.has_error()); in TEST_F()
96 EXPECT_FALSE(err.has_error()); in TEST_F()
108 EXPECT_FALSE(err.has_error()); in TEST_F()
139 EXPECT_FALSE(err.has_error()); in TEST_F()
148 EXPECT_TRUE(err.has_error()); in TEST_F()
[all …]
Dfunctions_target_unittest.cc24 ASSERT_FALSE(good_input.has_error()); in TEST()
27 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
35 ASSERT_FALSE(source_set_input.has_error()); in TEST()
38 ASSERT_TRUE(err.has_error()); in TEST()
46 ASSERT_FALSE(component_input.has_error()); in TEST()
49 ASSERT_TRUE(err.has_error()) << err.message(); in TEST()
Dscope_unittest.cc62 EXPECT_TRUE(err.has_error()); in TEST()
76 EXPECT_TRUE(err.has_error()); in TEST()
90 EXPECT_FALSE(err.has_error()); in TEST()
110 EXPECT_FALSE(err.has_error()); in TEST()
126 EXPECT_FALSE(err.has_error()); in TEST()
140 EXPECT_FALSE(err.has_error()); in TEST()
150 EXPECT_FALSE(err.has_error()); in TEST()
164 EXPECT_FALSE(err.has_error()); in TEST()
177 EXPECT_FALSE(err.has_error()); in TEST()
179 EXPECT_TRUE(err.has_error()); in TEST()
[all …]
Daction_target_generator_unittest.cc23 ASSERT_FALSE(input_good.has_error()); in TEST()
28 ASSERT_FALSE(err.has_error()) << err.message(); in TEST()
37 ASSERT_FALSE(input_bad.has_error()); in TEST()
41 ASSERT_TRUE(err.has_error()); in TEST()
Dsubstitution_pattern_unittest.cc13 EXPECT_FALSE(err.has_error()); in TEST()
24 EXPECT_FALSE(err.has_error()); in TEST()
40 EXPECT_TRUE(err.has_error()); in TEST()
44 EXPECT_TRUE(err.has_error()); in TEST()
48 EXPECT_TRUE(err.has_error()); in TEST()
Doperators_unittest.cc64 EXPECT_FALSE(err.has_error()); in TEST()
71 EXPECT_FALSE(err.has_error()); in TEST()
78 EXPECT_FALSE(err.has_error()); in TEST()
85 EXPECT_FALSE(err.has_error()); in TEST()
126 EXPECT_FALSE(err.has_error()); in TEST()
147 EXPECT_TRUE(err.has_error()); in TEST()
152 EXPECT_TRUE(err.has_error()); in TEST()
177 EXPECT_FALSE(err.has_error()); in TEST()
202 EXPECT_FALSE(err.has_error()); in TEST()
Dparser.cc161 if (has_error()) { in Consume()
207 if (has_error()) in ParseExpression()
221 if (has_error()) in ParseExpression()
244 if (has_error()) in Group()
252 if (has_error()) in Not()
262 if (!has_error() && !at_end()) in List()
299 if (has_error()) in IdentifierOrCall()
306 if (has_error()) in IdentifierOrCall()
402 if (has_error()) in ParseList()
435 if (!at_end() && !has_error()) in ParseFile()
[all …]
Dheader_checker_unittest.cc81 EXPECT_FALSE(err.has_error()); in TEST_F()
172 EXPECT_TRUE(err.has_error()); in TEST_F()
177 EXPECT_FALSE(err.has_error()); in TEST_F()
182 EXPECT_FALSE(err.has_error()); in TEST_F()
184 EXPECT_TRUE(err.has_error()); in TEST_F()
190 EXPECT_FALSE(err.has_error()); in TEST_F()
254 EXPECT_TRUE(err.has_error()); in TEST_F()
262 EXPECT_FALSE(err.has_error()); in TEST_F()
Dtokenizer.h74 bool done() const { return at_end() || has_error(); } in done()
79 bool has_error() const { return err_->has_error(); } in has_error() function
Dparser_unittest.cc19 return !err.has_error(); in GetTokens()
64 if (!err.has_error()) { in DoParserErrorTest()
67 ASSERT_TRUE(err.has_error()); in DoParserErrorTest()
82 if (!err.has_error()) { in DoExpressionErrorTest()
85 ASSERT_TRUE(err.has_error()); in DoExpressionErrorTest()
Dvisibility.cc29 CHECK(err->has_error()); in Set()
36 if (err->has_error()) in Set()
110 return !err->has_error(); in FillItemVisibility()
Dsetup.cc326 if (err.has_error()) { in FillArgsFromArgsInputFile()
332 if (err.has_error()) { in FillArgsFromArgsInputFile()
339 if (err.has_error()) { in FillArgsFromArgsInputFile()
514 if (err.has_error()) { in RunConfigFile()
520 if (err.has_error()) { in RunConfigFile()
526 if (err.has_error()) { in RunConfigFile()
560 if (err.has_error()) { in FillOtherConfig()
Doperators.cc62 if (err->has_error()) in GetValueOrFillError()
106 if (err->has_error()) in RemoveMatchesFromList()
150 if (err->has_error()) in ExecuteEquals()
438 if (err->has_error()) in ExecuteOr()
450 if (err->has_error()) in ExecuteOr()
468 if (err->has_error()) in ExecuteAnd()
480 if (err->has_error()) in ExecuteAnd()
568 if (err->has_error()) in ExecuteBinaryOperator()
595 if (err->has_error()) in ExecuteBinaryOperator()
598 if (err->has_error()) in ExecuteBinaryOperator()
Dtest_with_scope.h67 bool has_error() const { return parse_err_.has_error(); } in has_error() function
Dfunction_get_target_outputs_unittest.cc72 ASSERT_FALSE(err.has_error()); in TEST_F()
87 ASSERT_FALSE(err.has_error()); in TEST_F()
103 ASSERT_FALSE(err.has_error()); in TEST_F()
Dinput_conversion.cc57 if (err->has_error()) in ParseValueOrScope()
65 if (err->has_error()) in ParseValueOrScope()
84 if (err->has_error()) in ParseValueOrScope()
/external/chromium_org/net/websockets/
Dwebsocket_extension_parser_test.cc20 EXPECT_TRUE(parser.has_error()); in TEST()
29 ASSERT_FALSE(parser.has_error()); in TEST()
40 ASSERT_FALSE(parser.has_error()); in TEST()
51 ASSERT_FALSE(parser.has_error()); in TEST()
63 ASSERT_FALSE(parser.has_error()); in TEST()
105 EXPECT_TRUE(parser.has_error()); in TEST()
116 ASSERT_FALSE(parser.has_error()); in TEST()
/external/qemu/
Dbuffered_file.c30 int has_error; member
76 if (s->has_error) { in buffered_flush()
96 s->has_error = 1; in buffered_flush()
117 if (s->has_error) { in buffered_put_buffer()
142 s->has_error = 1; in buffered_put_buffer()
176 while (!s->has_error && s->buffer_size) { in buffered_close()
196 if (s->has_error) in buffered_rate_limit()
211 if (s->has_error) in buffered_set_rate_limit()
235 if (s->has_error) { in buffered_rate_tick()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_http_impl.h42 bool has_error) OVERRIDE;
69 bool has_error) OVERRIDE;
87 bool has_error) OVERRIDE;
138 bool has_error) OVERRIDE;
174 bool has_error) OVERRIDE;
232 bool has_error) OVERRIDE;
249 void OnSubmitdocResponse(bool has_error,
251 void OnCreatejobResponse(bool has_error,
Dprivet_http_impl.cc120 bool has_error) { in OnParsedJson() argument
200 bool has_error) { in OnParsedJson() argument
201 if (has_error) { in OnParsedJson()
341 bool has_error) { in OnParsedJson() argument
383 bool has_error) { in OnParsedJson() argument
449 bool has_error) { in OnParsedJson() argument
693 bool has_error, in OnSubmitdocResponse() argument
699 if (has_error && value->GetString(kPrivetKeyError, &error)) { in OnSubmitdocResponse()
735 bool has_error, in OnCreatejobResponse() argument
737 if (has_error) { in OnCreatejobResponse()
[all …]
Dprivetv3_session.cc44 bool has_error) OVERRIDE;
78 bool has_error) { in OnParsedJson() argument
79 request_->OnParsedJson(value, has_error); in OnParsedJson()
/external/chromium_org/chrome/browser/diagnostics/
Dsqlite_diagnostics.cc112 if (recorder->has_error()) { in ExecuteImpl()
119 if (recorder->has_error()) { in ExecuteImpl()
142 if (recorder->has_error()) { in ExecuteImpl()
175 bool has_error() const { return has_error_; } in has_error() function in diagnostics::__anon00cfdee60111::SqliteIntegrityTest::ErrorRecorder

1234