Home
last modified time | relevance | path

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

/external/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::__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 …]
Dimporter.cc121 : 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()
Dimporter.h119 SourceTree* source_tree_; variable
/external/grpc-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.h84 protobuf::compiler::DiskSourceTree source_tree_; variable
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc7127 : 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