Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc253 TestErrorCollector error_collector; in TEST_2D() local
254 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
288 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
297 TestErrorCollector error_collector; in TEST_1D() local
298 Tokenizer tokenizer(&input, &error_collector); in TEST_1D()
318 EXPECT_TRUE(error_collector.text_.empty()); in TEST_1D()
427 TestErrorCollector error_collector; in TEST_2D() local
428 Tokenizer tokenizer(&input, &error_collector); in TEST_2D()
471 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D()
492 TestErrorCollector error_collector; in TEST_1D() local
[all …]
Dtokenizer.h88 Tokenizer(ZeroCopyInputStream* input, ErrorCollector* error_collector);
Dtokenizer.cc187 ErrorCollector* error_collector) in Tokenizer() argument
189 error_collector_(error_collector), in Tokenizer()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc120 MockErrorCollector error_collector; in TEST() local
123 Importer importer(&source_tree, &error_collector); in TEST()
128 EXPECT_EQ("", error_collector.text_); in TEST()
Dcpp_unittest.cc109 MockErrorCollector error_collector; in TEST() local
112 Importer importer(&source_tree, &error_collector); in TEST()
117 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()
145 MultiFileErrorCollector* error_collector);
Dparser.h89 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
90 error_collector_ = error_collector; in RecordErrorsTo()
Dimporter.cc188 MultiFileErrorCollector* error_collector) in Importer() argument
192 database_.RecordErrorsTo(error_collector); in Importer()
Dcommand_line_interface.cc645 ErrorPrinter error_collector(error_format_, &source_tree); in Run() local
646 Importer importer(&source_tree, &error_collector); in Run()
1385 ErrorPrinter error_collector(error_format_); in EncodeOrDecode() local
1387 parser.RecordErrorsTo(&error_collector); in EncodeOrDecode()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc329 BuildFileErrorCollector error_collector; in Python_BuildFile() local
332 &error_collector); in Python_BuildFile()
336 error_collector.error_message.c_str()); in Python_BuildFile()
/external/protobuf/src/google/protobuf/
Dtext_format.h379 void RecordErrorsTo(io::ErrorCollector* error_collector) { in RecordErrorsTo() argument
380 error_collector_ = error_collector; in RecordErrorsTo()
Dtext_format_unittest.cc947 MockErrorCollector error_collector; in ExpectMessage() local
948 parser.RecordErrorsTo(&error_collector); in ExpectMessage()
952 error_collector.text_); in ExpectMessage()
958 MockErrorCollector error_collector; in ExpectSuccessAndTree() local
959 parser.RecordErrorsTo(&error_collector); in ExpectSuccessAndTree()
Ddescriptor_unittest.cc2938 MockErrorCollector error_collector; in BuildFileWithErrors() local
2940 pool_.BuildFileCollectingErrors(file_proto, &error_collector) == NULL); in BuildFileWithErrors()
2941 EXPECT_EQ(expected_errors, error_collector.text_); in BuildFileWithErrors()
2952 MockErrorCollector error_collector; in BuildFileWithWarnings() local
2953 EXPECT_TRUE(pool_.BuildFileCollectingErrors(file_proto, &error_collector)); in BuildFileWithWarnings()
2954 EXPECT_EQ(expected_warnings, error_collector.warning_text_); in BuildFileWithWarnings()
4999 MockErrorCollector error_collector; in TEST_F() local
5000 DescriptorPool pool(&error_database, &error_collector); in TEST_F()
5010 error_collector.text_); in TEST_F()
5016 MockErrorCollector error_collector; in TEST_F() local
[all …]
Ddescriptor.h1197 ErrorCollector* error_collector = NULL);
1304 ErrorCollector* error_collector);
Ddescriptor.cc909 ErrorCollector* error_collector) in DescriptorPool() argument
912 default_error_collector_(error_collector), in DescriptorPool()
2285 DescriptorPool::ErrorCollector* error_collector);
2690 ErrorCollector* error_collector) { in BuildFileCollectingErrors() argument
2699 error_collector).BuildFile(proto); in BuildFileCollectingErrors()
2720 DescriptorPool::ErrorCollector* error_collector) in DescriptorBuilder() argument
2723 error_collector_(error_collector), in DescriptorBuilder()
Dtext_format.cc207 io::ErrorCollector* error_collector, in ParserImpl() argument
216 : error_collector_(error_collector), in ParserImpl()