/external/google-styleguide/cpplint/ |
D | cpplint_unittest.py | 128 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/ |
D | descriptor_pool.cc | 111 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 …]
|
D | descriptor_pool.h | 64 DescriptorPool::ErrorCollector* error_collector; member
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 252 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 …]
|
D | tokenizer.h | 98 Tokenizer(ZeroCopyInputStream* input, ErrorCollector* error_collector);
|
D | tokenizer.cc | 195 ErrorCollector* error_collector) in Tokenizer() argument 197 error_collector_(error_collector), in Tokenizer()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_bootstrap_unittest.cc | 139 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/ |
D | cpp_bootstrap_unittest.cc | 161 MockErrorCollector error_collector; in TEST() local 162 Importer importer(&source_tree, &error_collector); in TEST() 167 EXPECT_EQ("", error_collector.text_); in TEST()
|
D | cpp_unittest.inc | 117 MockErrorCollector error_collector; 120 Importer importer(&source_tree, &error_collector); 125 EXPECT_EQ("", error_collector.text_);
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.h | 94 void RecordErrorsTo(MultiFileErrorCollector* error_collector) { in RecordErrorsTo() argument 95 error_collector_ = error_collector; in RecordErrorsTo() 159 Importer(SourceTree* source_tree, MultiFileErrorCollector* error_collector);
|
D | parser.h | 92 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument 93 error_collector_ = error_collector; in RecordErrorsTo()
|
D | command_line_interface.cc | 836 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()
|
D | importer.cc | 224 MultiFileErrorCollector* error_collector) in Importer() argument 228 database_.RecordErrorsTo(error_collector); in Importer()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 595 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 …]
|
D | text_format.h | 525 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument 526 error_collector_ = error_collector; in RecordErrorsTo()
|
D | text_format_unittest.cc | 1323 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()
|
D | text_format.cc | 256 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()
|
D | descriptor.h | 1569 ErrorCollector* error_collector = nullptr); 1687 const FileDescriptorProto& proto, ErrorCollector* error_collector);
|
D | descriptor.cc | 1273 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()
|