Searched refs:source_tree_ (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 120 ImporterTest() : importer_(&source_tree_, &error_collector_) {} in ImporterTest() 123 source_tree_.AddFile(filename, text); in AddFile() 130 MockSourceTree source_tree_; member in google::protobuf::compiler::__anon42d6230a0111::ImporterTest 295 std::unique_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename)); in ExpectFileContents() 312 std::unique_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename)); in ExpectCannotOpenFile() 314 EXPECT_EQ(error_message, source_tree_.GetLastErrorMessage()); in ExpectCannotOpenFile() 317 DiskSourceTree source_tree_; member in google::protobuf::compiler::__anon42d6230a0111::DiskSourceTreeTest 327 source_tree_.MapPath("", dirnames_[0]); in TEST_F() 338 source_tree_.MapPath("baz", dirnames_[0]); in TEST_F() 364 source_tree_.MapPath("", dirnames_[0] + "/bar"); in TEST_F() [all …]
|
D | importer.cc | 121 : source_tree_(source_tree), in SourceTreeDescriptorDatabase() 129 : source_tree_(source_tree), in SourceTreeDescriptorDatabase() 139 std::unique_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename)); in FindFileByName() 147 source_tree_->GetLastErrorMessage()); in FindFileByName()
|
D | importer.h | 119 SourceTree* source_tree_; variable
|
/external/grpc-grpc/test/cpp/util/ |
D | proto_file_parser.cc | 79 source_tree_.MapPath("", proto_path); in ProtoFileParser() 82 new protobuf::compiler::Importer(&source_tree_, error_printer_.get())); in ProtoFileParser()
|
D | proto_file_parser.h | 84 protobuf::compiler::DiskSourceTree source_tree_; variable
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 7127 : source_tree_("/test/test.proto", kSourceLocationTestInput), in SourceLocationTest() 7129 source_tree_db_(&source_tree_), in SourceLocationTest() 7147 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::SourceLocationTest 7640 : source_tree_("/test/test.proto", kCopySourceCodeInfoToTestInput), in CopySourceCodeInfoToTest() 7641 db_(&source_tree_), in CopySourceCodeInfoToTest() 7646 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest
|