/third_party/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
|
/third_party/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 | 99 Tokenizer(ZeroCopyInputStream* input, ErrorCollector* error_collector);
|
D | tokenizer.cc | 196 ErrorCollector* error_collector) in Tokenizer() argument 198 error_collector_(error_collector), in Tokenizer()
|
/third_party/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()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 155 MockErrorCollector error_collector; in TEST() local 156 Importer importer(&source_tree, &error_collector); in TEST() 162 EXPECT_EQ("", error_collector.text_); in TEST()
|
D | cpp_unittest.inc | 116 MockErrorCollector error_collector; 119 Importer importer(&source_tree, &error_collector); 124 EXPECT_EQ("", error_collector.text_);
|
/third_party/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 | importer.cc | 221 MultiFileErrorCollector* error_collector) in Importer() argument 225 database_.RecordErrorsTo(error_collector); in Importer()
|
D | command_line_interface.cc | 854 std::unique_ptr<ErrorPrinter> error_collector; in Run() local 898 error_collector.reset(new ErrorPrinter(error_format_)); in Run() 900 error_collector.get())); in Run() 908 error_collector.reset( in Run() 913 source_tree_database->RecordErrorsTo(error_collector.get()); in Run() 1018 if (error_collector->FoundErrors()) { in Run() 2285 ErrorPrinter error_collector(error_format_); in EncodeOrDecode() local 2287 parser.RecordErrorsTo(&error_collector); in EncodeOrDecode()
|
/third_party/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() 3499 MockErrorCollector error_collector; in TEST() local 3500 EXPECT_FALSE(pool.BuildFileCollectingErrors(file_proto, &error_collector)); in TEST() 3505 error_collector.text_); in TEST() 3658 MockErrorCollector error_collector; in BuildFileWithErrors() local 3659 EXPECT_TRUE(pool_.BuildFileCollectingErrors(file_proto, &error_collector) == in BuildFileWithErrors() [all …]
|
D | text_format.h | 542 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument 543 error_collector_ = error_collector; in RecordErrorsTo()
|
D | text_format_unittest.cc | 1408 MockErrorCollector error_collector; in ExpectMessage() local 1409 parser_.RecordErrorsTo(&error_collector); in ExpectMessage() 1414 error_collector.text_); in ExpectMessage() 1420 MockErrorCollector error_collector; in ExpectSuccessAndTree() local 1421 parser_.RecordErrorsTo(&error_collector); in ExpectSuccessAndTree()
|
D | text_format.cc | 241 io::ErrorCollector* error_collector, in ParserImpl() argument 248 : error_collector_(error_collector), in ParserImpl() 1405 io::ErrorCollector* error_collector) { in CheckParseInputSize() argument 1407 error_collector->AddError( in CheckParseInputSize()
|
D | descriptor.h | 1660 ErrorCollector* error_collector = nullptr); 1778 const FileDescriptorProto& proto, ErrorCollector* error_collector);
|
D | descriptor.cc | 1261 ErrorCollector* error_collector) in DescriptorPool() argument 1264 default_error_collector_(error_collector), in DescriptorPool() 3141 DescriptorPool::ErrorCollector* error_collector); 3582 const FileDescriptorProto& proto, ErrorCollector* error_collector) { in BuildFileCollectingErrors() argument 3590 return DescriptorBuilder(this, tables_.get(), error_collector) in BuildFileCollectingErrors() 3611 DescriptorPool::ErrorCollector* error_collector) in DescriptorBuilder() argument 3614 error_collector_(error_collector), in DescriptorBuilder()
|