Home
last modified time | relevance | path

Searched refs:source_tree_ (Results 1 – 10 of 10) 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::__anonb2a0b3e80111::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::__anonb2a0b3e80111::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.h121 SourceTree* source_tree_; variable
/external/cronet/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::__anon8cd0e43b0111::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::__anon8cd0e43b0111::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.h121 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/cronet/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc7437 : source_tree_("/test/test.proto", kSourceLocationTestInput), in SourceLocationTest()
7439 source_tree_db_(&source_tree_), in SourceLocationTest()
7457 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::SourceLocationTest
7949 : source_tree_("/test/test.proto", kCopySourceCodeInfoToTestInput), in CopySourceCodeInfoToTest()
7950 db_(&source_tree_), in CopySourceCodeInfoToTest()
7955 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc7514 : source_tree_("/test/test.proto", kSourceLocationTestInput), in SourceLocationTest()
7516 source_tree_db_(&source_tree_), in SourceLocationTest()
7534 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::SourceLocationTest
8026 : source_tree_("/test/test.proto", kCopySourceCodeInfoToTestInput), in CopySourceCodeInfoToTest()
8027 db_(&source_tree_), in CopySourceCodeInfoToTest()
8032 SingletonSourceTree source_tree_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest