/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 120 error_collector_(NULL), in SourceTreeDescriptorDatabase() 130 if (error_collector_ != NULL) { in FindFileByName() 131 error_collector_->AddError(filename, -1, 0, in FindFileByName() 138 SingleFileErrorCollector file_error_collector(filename, error_collector_); in FindFileByName() 142 if (error_collector_ != NULL) { in FindFileByName() 181 if (owner_->error_collector_ == NULL) return; in AddError() 185 owner_->error_collector_->AddError(filename, line, column, message); in AddError() 194 if (owner_->error_collector_ == NULL) return; in AddWarning() 198 owner_->error_collector_->AddWarning(filename, line, column, message); in AddWarning()
|
D | importer_unittest.cc | 126 : importer_(&source_tree_, &error_collector_) {} in ImporterTest() 133 string error() const { return error_collector_.text_; } in error() 134 string warning() const { return error_collector_.warning_text_; } in warning() 136 MockErrorCollector error_collector_; member in google::protobuf::compiler::__anond30b922c0111::ImporterTest 148 EXPECT_EQ("", error_collector_.text_); in TEST_F() 177 EXPECT_EQ("", error_collector_.text_); in TEST_F() 200 error_collector_.text_); in TEST_F() 213 error_collector_.text_); in TEST_F() 233 error_collector_.text_); in TEST_F()
|
D | parser_unittest.cc | 111 input_.reset(new io::Tokenizer(raw_input_.get(), &error_collector_)); in SetupParser() 113 parser_->RecordErrorsTo(&error_collector_); in SetupParser() 126 ASSERT_EQ("", error_collector_.text_); in ExpectParsesTo() 154 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasEarlyExitErrors() 169 ASSERT_EQ("", error_collector_.text_); in ExpectHasValidationErrors() 172 source_locations, &error_collector_); in ExpectHasValidationErrors() 175 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasValidationErrors() 178 MockErrorCollector error_collector_; member in google::protobuf::compiler::__anone5943b270111::ParserTest 196 EXPECT_EQ("", error_collector_.text_); in TEST_F() 206 EXPECT_EQ("", error_collector_.text_); in TEST_F() [all …]
|
D | importer.h | 86 error_collector_ = error_collector; in RecordErrorsTo() 110 MultiFileErrorCollector* error_collector_; variable
|
D | parser.h | 90 error_collector_ = error_collector; in RecordErrorsTo() 506 io::ErrorCollector* error_collector_; variable
|
D | parser.cc | 125 error_collector_(NULL), in Parser() 325 if (error_collector_ != NULL) { in AddError() 326 error_collector_->AddError(line, column, error); in AddError()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.h | 263 ErrorCollector* error_collector_; variable 315 error_collector_->AddError(line_, column_, message); in AddError()
|
D | tokenizer.cc | 190 error_collector_(error_collector), in Tokenizer() 530 error_collector_->AddError( in ConsumeBlockComment() 616 error_collector_->AddError(line_, column_ - 2, in Next() 634 error_collector_->AddError(line_, column_, in Next()
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 238 : error_collector_(error_collector), in ParserImpl() 294 if (error_collector_ == NULL) { in ReportError() 306 error_collector_->AddError(line, col, message); in ReportError() 311 if (error_collector_ == NULL) { in ReportWarning() 323 error_collector_->AddWarning(line, col, message); in ReportWarning() 1090 io::ErrorCollector* error_collector_; member in google::protobuf::TextFormat::Parser::ParserImpl 1234 : error_collector_(NULL), in Parser() 1257 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Parse() 1274 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Merge() 1308 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_, in ParseFieldValueFromString()
|
D | text_format.h | 424 error_collector_ = error_collector; in RecordErrorsTo() 475 io::ErrorCollector* error_collector_; variable
|
D | descriptor.cc | 2781 DescriptorPool::ErrorCollector* error_collector_; member in google::protobuf::DescriptorBuilder 3228 error_collector_(error_collector), in DescriptorBuilder() 3240 if (error_collector_ == NULL) { in AddError() 3247 error_collector_->AddError(filename_, element_name, in AddError() 3295 if (error_collector_ == NULL) { in AddWarning() 3298 error_collector_->AddWarning(filename_, element_name, &descriptor, location, in AddWarning()
|