Home
last modified time | relevance | path

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

/external/google-styleguide/cpplint/
Dcpplint_unittest.py128 error_collector = ErrorCollector(self.assert_)
130 cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)
137 nesting_state, error_collector)
140 error_collector.RemoveIfPresent(
142 return error_collector.Results()
146 error_collector = ErrorCollector(self.assert_)
148 cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)
152 nesting_state.Update('foo.h', lines, i, error_collector)
154 error_collector)
156 nesting_state, error_collector)
[all …]
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc111 cpool->error_collector = nullptr; in _CreateDescriptorPool()
160 cpool->error_collector = new BuildFileErrorCollector(); in PyDescriptorPool_NewWithDatabase()
161 cpool->pool = new DescriptorPool(database, cpool->error_collector); in PyDescriptorPool_NewWithDatabase()
204 delete self->error_collector; in Dealloc()
222 BuildFileErrorCollector* error_collector = in SetErrorFromCollector() local
224 if (error_collector && !error_collector->error_message.empty()) { in SetErrorFromCollector()
226 error_type, name, error_collector->error_message.c_str()); in SetErrorFromCollector()
227 error_collector->Clear(); in SetErrorFromCollector()
247 reinterpret_cast<PyDescriptorPool*>(self)->error_collector, name, in FindMessageByName()
270 return SetErrorFromCollector(py_pool->error_collector, name, "file"); in FindFileByName()
[all …]
Ddescriptor_pool.h64 DescriptorPool::ErrorCollector* error_collector; member
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc252 TestErrorCollector error_collector; in TEST_2D() local
253 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
287 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
296 TestErrorCollector error_collector; in TEST_1D() local
297 Tokenizer tokenizer(&input, &error_collector); in TEST_1D()
317 EXPECT_TRUE(error_collector.text_.empty()); in TEST_1D()
435 TestErrorCollector error_collector; in TEST_2D() local
436 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
479 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
500 TestErrorCollector error_collector; in TEST_1D() local
[all …]
Dtokenizer.h98 Tokenizer(ZeroCopyInputStream* input, ErrorCollector* error_collector);
Dtokenizer.cc195 ErrorCollector* error_collector) in Tokenizer() argument
197 error_collector_(error_collector), in Tokenizer()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_bootstrap_unittest.cc139 MockErrorCollector error_collector; in TEST() local
141 Importer importer(&source_tree, &error_collector); in TEST()
186 EXPECT_EQ("", error_collector.text_); in TEST()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc161 MockErrorCollector error_collector; in TEST() local
162 Importer importer(&source_tree, &error_collector); in TEST()
167 EXPECT_EQ("", error_collector.text_); in TEST()
Dcpp_unittest.inc117 MockErrorCollector error_collector;
120 Importer importer(&source_tree, &error_collector);
125 EXPECT_EQ("", error_collector.text_);
/external/protobuf/src/google/protobuf/compiler/
Dimporter.h94 void RecordErrorsTo(MultiFileErrorCollector* error_collector) { in RecordErrorsTo() argument
95 error_collector_ = error_collector; in RecordErrorsTo()
159 Importer(SourceTree* source_tree, MultiFileErrorCollector* error_collector);
Dparser.h92 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
93 error_collector_ = error_collector; in RecordErrorsTo()
Dcommand_line_interface.cc836 std::unique_ptr<ErrorPrinter> error_collector; in Run() local
858 error_collector.reset(new ErrorPrinter(error_format_)); in Run()
860 error_collector.get())); in Run()
868 error_collector.reset( in Run()
873 source_tree_database->RecordErrorsTo(error_collector.get()); in Run()
970 if (error_collector->FoundErrors()) { in Run()
2128 ErrorPrinter error_collector(error_format_); in EncodeOrDecode() local
2130 parser.RecordErrorsTo(&error_collector); in EncodeOrDecode()
Dimporter.cc224 MultiFileErrorCollector* error_collector) in Importer() argument
228 database_.RecordErrorsTo(error_collector); in Importer()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc595 SimpleErrorCollector error_collector; in TEST_F() local
596 io::Tokenizer tokenizer(&input_stream, &error_collector); in TEST_F()
598 parser.RecordErrorsTo(&error_collector); in TEST_F()
601 << error_collector.last_error() << "\n" in TEST_F()
603 ASSERT_EQ("", error_collector.last_error()); in TEST_F()
3478 MockErrorCollector error_collector; in TEST() local
3479 EXPECT_TRUE(pool.BuildFileCollectingErrors(file_proto, &error_collector)); in TEST()
3480 EXPECT_EQ("", error_collector.warning_text_); in TEST()
3633 MockErrorCollector error_collector; in BuildFileWithErrors() local
3634 EXPECT_TRUE(pool_.BuildFileCollectingErrors(file_proto, &error_collector) == in BuildFileWithErrors()
[all …]
Dtext_format.h525 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
526 error_collector_ = error_collector; in RecordErrorsTo()
Dtext_format_unittest.cc1323 MockErrorCollector error_collector; in ExpectMessage() local
1324 parser_.RecordErrorsTo(&error_collector); in ExpectMessage()
1329 error_collector.text_); in ExpectMessage()
1335 MockErrorCollector error_collector; in ExpectSuccessAndTree() local
1336 parser_.RecordErrorsTo(&error_collector); in ExpectSuccessAndTree()
Dtext_format.cc256 io::ErrorCollector* error_collector, in ParserImpl() argument
263 : error_collector_(error_collector), in ParserImpl()
1401 io::ErrorCollector* error_collector) { in CheckParseInputSize() argument
1403 error_collector->AddError( in CheckParseInputSize()
Ddescriptor.h1569 ErrorCollector* error_collector = nullptr);
1687 const FileDescriptorProto& proto, ErrorCollector* error_collector);
Ddescriptor.cc1273 ErrorCollector* error_collector) in DescriptorPool() argument
1276 default_error_collector_(error_collector), in DescriptorPool()
3127 DescriptorPool::ErrorCollector* error_collector);
3562 const FileDescriptorProto& proto, ErrorCollector* error_collector) { in BuildFileCollectingErrors() argument
3570 return DescriptorBuilder(this, tables_.get(), error_collector) in BuildFileCollectingErrors()
3591 DescriptorPool::ErrorCollector* error_collector) in DescriptorBuilder() argument
3594 error_collector_(error_collector), in DescriptorBuilder()