Home
last modified time | relevance | path

Searched refs:error_collector (Results 1 – 17 of 17) sorted by relevance

/external/google-styleguide/cpplint/
Dcpplint_unittest.py123 error_collector = ErrorCollector(self.assert_)
125 cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)
132 nesting_state, error_collector)
135 error_collector.RemoveIfPresent(
137 return error_collector.Results()
141 error_collector = ErrorCollector(self.assert_)
143 cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)
147 nesting_state.Update('foo.h', lines, i, error_collector)
149 error_collector)
151 nesting_state, error_collector)
[all …]
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc254 TestErrorCollector error_collector; in TEST_2D() local
255 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
289 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
298 TestErrorCollector error_collector; in TEST_1D() local
299 Tokenizer tokenizer(&input, &error_collector); in TEST_1D()
319 EXPECT_TRUE(error_collector.text_.empty()); in TEST_1D()
428 TestErrorCollector error_collector; in TEST_2D() local
429 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
472 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
493 TestErrorCollector error_collector; in TEST_1D() local
[all …]
Dtokenizer.h96 Tokenizer(ZeroCopyInputStream* input, ErrorCollector* error_collector);
Dtokenizer.cc188 ErrorCollector* error_collector) in Tokenizer() argument
190 error_collector_(error_collector), in Tokenizer()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc122 MockErrorCollector error_collector; in TEST() local
125 Importer importer(&source_tree, &error_collector); in TEST()
130 EXPECT_EQ("", error_collector.text_); in TEST()
Dcpp_unittest.cc119 MockErrorCollector error_collector; in TEST() local
122 Importer importer(&source_tree, &error_collector); in TEST()
127 EXPECT_EQ("", error_collector.text_); in TEST()
/external/protobuf/src/google/protobuf/compiler/
Dimporter.h85 void RecordErrorsTo(MultiFileErrorCollector* error_collector) { in RecordErrorsTo() argument
86 error_collector_ = error_collector; in RecordErrorsTo()
151 MultiFileErrorCollector* error_collector);
Dparser.h89 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
90 error_collector_ = error_collector; in RecordErrorsTo()
Dimporter.cc204 MultiFileErrorCollector* error_collector) in Importer() argument
208 database_.RecordErrorsTo(error_collector); in Importer()
Dcommand_line_interface.cc764 ErrorPrinter error_collector(error_format_, &source_tree); in Run() local
765 Importer importer(&source_tree, &error_collector); in Run()
1642 ErrorPrinter error_collector(error_format_); in EncodeOrDecode() local
1644 parser.RecordErrorsTo(&error_collector); in EncodeOrDecode()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc443 BuildFileErrorCollector error_collector; in AddSerializedFile() local
446 &error_collector); in AddSerializedFile()
450 error_collector.error_message.c_str()); in AddSerializedFile()
/external/protobuf/src/google/protobuf/
Dtext_format.h423 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
424 error_collector_ = error_collector; in RecordErrorsTo()
Dtext_format_unittest.cc952 MockErrorCollector error_collector; in ExpectMessage() local
953 parser.RecordErrorsTo(&error_collector); in ExpectMessage()
957 error_collector.text_); in ExpectMessage()
963 MockErrorCollector error_collector; in ExpectSuccessAndTree() local
964 parser.RecordErrorsTo(&error_collector); in ExpectSuccessAndTree()
Ddescriptor_unittest.cc3186 MockErrorCollector error_collector; in TEST() local
3187 EXPECT_TRUE(pool.BuildFileCollectingErrors(file_proto, &error_collector)); in TEST()
3188 EXPECT_EQ("", error_collector.warning_text_); in TEST()
3287 MockErrorCollector error_collector; in BuildFileWithErrors() local
3289 pool_.BuildFileCollectingErrors(file_proto, &error_collector) == NULL); in BuildFileWithErrors()
3290 EXPECT_EQ(expected_errors, error_collector.text_); in BuildFileWithErrors()
3301 MockErrorCollector error_collector; in BuildFileWithWarnings() local
3302 EXPECT_TRUE(pool_.BuildFileCollectingErrors(file_proto, &error_collector)); in BuildFileWithWarnings()
3303 EXPECT_EQ(expected_warnings, error_collector.warning_text_); in BuildFileWithWarnings()
6111 MockErrorCollector error_collector; in TEST_F() local
[all …]
Ddescriptor.h1385 ErrorCollector* error_collector = NULL);
1493 ErrorCollector* error_collector);
Ddescriptor.cc1054 ErrorCollector* error_collector) in DescriptorPool() argument
1057 default_error_collector_(error_collector), in DescriptorPool()
2768 DescriptorPool::ErrorCollector* error_collector);
3195 ErrorCollector* error_collector) { in BuildFileCollectingErrors() argument
3204 error_collector).BuildFile(proto); in BuildFileCollectingErrors()
3225 DescriptorPool::ErrorCollector* error_collector) in DescriptorBuilder() argument
3228 error_collector_(error_collector), in DescriptorBuilder()
Dtext_format.cc229 io::ErrorCollector* error_collector, in ParserImpl() argument
238 : error_collector_(error_collector), in ParserImpl()