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.cc126 : importer_(&source_tree_, &error_collector_) {} in ImporterTest()
129 source_tree_.AddFile(filename, text); in AddFile()
137 MockSourceTree source_tree_; member in google::protobuf::compiler::__anond30b922c0111::ImporterTest
271 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename)); in ExpectFileContents()
288 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename)); in ExpectCannotOpenFile()
290 EXPECT_EQ(error_message, source_tree_.GetLastErrorMessage()); in ExpectCannotOpenFile()
293 DiskSourceTree source_tree_; member in google::protobuf::compiler::__anond30b922c0111::DiskSourceTreeTest
303 source_tree_.MapPath("", dirnames_[0]); in TEST_F()
314 source_tree_.MapPath("baz", dirnames_[0]); in TEST_F()
340 source_tree_.MapPath("", dirnames_[0] + "/bar"); in TEST_F()
[all …]
Dimporter.cc119 : source_tree_(source_tree), in SourceTreeDescriptorDatabase()
128 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename)); in FindFileByName()
132 source_tree_->GetLastErrorMessage()); in FindFileByName()
Dimporter.h109 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.cc6433 : source_tree_("/test/test.proto", kSourceLocationTestInput), in SourceLocationTest()
6434 db_(&source_tree_), in SourceLocationTest()
6447 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::SourceLocationTest
6565 : source_tree_("/test/test.proto", kCopySourceCodeInfoToTestInput), in CopySourceCodeInfoToTest()
6566 db_(&source_tree_), in CopySourceCodeInfoToTest()
6571 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest