Home
last modified time | relevance | path

Searched refs:source_tree_ (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc120 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::__anon8a1009760111::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::__anon8a1009760111::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 …]
Dimporter.cc118 : source_tree_(source_tree), in SourceTreeDescriptorDatabase()
126 : source_tree_(source_tree), in SourceTreeDescriptorDatabase()
136 std::unique_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename)); in FindFileByName()
144 source_tree_->GetLastErrorMessage()); in FindFileByName()
Dimporter.h119 SourceTree* source_tree_; variable
/third_party/grpc/test/cpp/util/
Dproto_file_parser.cc79 source_tree_.MapPath("", proto_path); in ProtoFileParser()
82 new protobuf::compiler::Importer(&source_tree_, error_printer_.get())); in ProtoFileParser()
Dproto_file_parser.h112 protobuf::compiler::DiskSourceTree source_tree_; variable
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc7237 : source_tree_("/test/test.proto", kSourceLocationTestInput), in SourceLocationTest()
7239 source_tree_db_(&source_tree_), in SourceLocationTest()
7257 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::SourceLocationTest
7750 : source_tree_("/test/test.proto", kCopySourceCodeInfoToTestInput), in CopySourceCodeInfoToTest()
7751 db_(&source_tree_), in CopySourceCodeInfoToTest()
7756 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest