/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 123 error_collector_(nullptr), in SourceTreeDescriptorDatabase() 131 error_collector_(nullptr), in SourceTreeDescriptorDatabase() 145 if (error_collector_ != NULL) { in FindFileByName() 146 error_collector_->AddError(filename, -1, 0, in FindFileByName() 153 SingleFileErrorCollector file_error_collector(filename, error_collector_); in FindFileByName() 157 if (error_collector_ != NULL) { in FindFileByName() 193 if (owner_->error_collector_ == NULL) return; in AddError() 202 owner_->error_collector_->AddError(filename, line, column, message); in AddError() 209 if (owner_->error_collector_ == NULL) return; in AddWarning() 218 owner_->error_collector_->AddWarning(filename, line, column, message); in AddWarning()
|
D | importer_unittest.cc | 120 ImporterTest() : importer_(&source_tree_, &error_collector_) {} in ImporterTest() 127 std::string warning() const { return error_collector_.warning_text_; } in warning() 129 MockErrorCollector error_collector_; member in google::protobuf::compiler::__anon42d6230a0111::ImporterTest 141 EXPECT_EQ("", error_collector_.text_); in TEST_F() 170 EXPECT_EQ("", error_collector_.text_); in TEST_F() 191 EXPECT_EQ("foo.proto:-1:0: File not found.\n", error_collector_.text_); in TEST_F() 204 error_collector_.text_); in TEST_F() 226 error_collector_.text_); in TEST_F() 240 error_collector_.text_); in TEST_F() 257 error_collector_.text_); in TEST_F()
|
D | parser_unittest.cc | 115 input_.reset(new io::Tokenizer(raw_input_.get(), &error_collector_)); in SetupParser() 117 parser_->RecordErrorsTo(&error_collector_); in SetupParser() 130 ASSERT_EQ("", error_collector_.text_); in ExpectParsesTo() 158 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasEarlyExitErrors() 173 ASSERT_EQ("", error_collector_.text_); in ExpectHasValidationErrors() 176 &error_collector_); in ExpectHasValidationErrors() 179 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasValidationErrors() 182 MockErrorCollector error_collector_; member in google::protobuf::compiler::__anon1d28fc850111::ParserTest 200 EXPECT_EQ("", error_collector_.text_); in TEST_F() 210 EXPECT_EQ("", error_collector_.text_); in TEST_F() [all …]
|
D | importer.h | 95 error_collector_ = error_collector; in RecordErrorsTo() 121 MultiFileErrorCollector* error_collector_; variable
|
D | parser.h | 93 error_collector_ = error_collector; in RecordErrorsTo() 527 io::ErrorCollector* error_collector_; variable
|
D | parser.cc | 184 error_collector_(NULL), in Parser() 381 if (error_collector_ != NULL) { in AddError() 382 error_collector_->AddError(line, column, error); in AddError() 392 if (error_collector_ != nullptr) { in AddWarning() 393 error_collector_->AddWarning(input_->current().line, in AddWarning()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.h | 265 ErrorCollector* error_collector_; variable 317 error_collector_->AddError(line_, column_, message); in AddError()
|
D | tokenizer.cc | 197 error_collector_(error_collector), in Tokenizer() 532 error_collector_->AddError(start_line, start_column, in ConsumeBlockComment() 618 error_collector_->AddError( in Next() 637 error_collector_->AddError( in Next()
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 263 : error_collector_(error_collector), in ParserImpl() 322 if (error_collector_ == nullptr) { in ReportError() 332 error_collector_->AddError(line, col, message); in ReportError() 337 if (error_collector_ == nullptr) { in ReportWarning() 347 error_collector_->AddWarning(line, col, message); in ReportWarning() 1197 io::ErrorCollector* error_collector_; member in google::protobuf::TextFormat::Parser::ParserImpl 1383 : error_collector_(nullptr), in Parser() 1422 ParserImpl parser(output->GetDescriptor(), input, error_collector_, finder_, in Parse() 1433 DO(CheckParseInputSize(input, error_collector_)); in ParseFromString() 1441 ParserImpl parser(output->GetDescriptor(), input, error_collector_, finder_, in Merge() [all …]
|
D | text_format.h | 526 error_collector_ = error_collector; in RecordErrorsTo() 584 io::ErrorCollector* error_collector_; variable
|
D | descriptor.cc | 3140 DescriptorPool::ErrorCollector* error_collector_; member in google::protobuf::DescriptorBuilder 3594 error_collector_(error_collector), in DescriptorBuilder() 3605 if (error_collector_ == nullptr) { in AddError() 3612 error_collector_->AddError(filename_, element_name, &descriptor, location, in AddError() 3660 if (error_collector_ == nullptr) { in AddWarning() 3663 error_collector_->AddWarning(filename_, element_name, &descriptor, location, in AddWarning()
|