Searched refs:importer_ (Results 1 – 6 of 6) sorted by relevance
120 ImporterTest() : importer_(&source_tree_, &error_collector_) {} in ImporterTest()131 Importer importer_; member in google::protobuf::compiler::__anonb2a0b3e80111::ImporterTest140 const FileDescriptor* file = importer_.Import("foo.proto"); in TEST_F()148 EXPECT_EQ(file, importer_.Import("foo.proto")); in TEST_F()168 const FileDescriptor* foo = importer_.Import("foo.proto"); in TEST_F()169 const FileDescriptor* bar = importer_.Import("bar.proto"); in TEST_F()190 EXPECT_TRUE(importer_.Import("foo.proto") == nullptr); in TEST_F()200 EXPECT_TRUE(importer_.Import("foo.proto") == nullptr); in TEST_F()217 EXPECT_TRUE(importer_.Import("recursive1.proto") == nullptr); in TEST_F()236 EXPECT_TRUE(importer_.Import("recursive.proto") == nullptr); in TEST_F()[all …]
120 ImporterTest() : importer_(&source_tree_, &error_collector_) {} in ImporterTest()131 Importer importer_; member in google::protobuf::compiler::__anon8cd0e43b0111::ImporterTest140 const FileDescriptor* file = importer_.Import("foo.proto"); in TEST_F()148 EXPECT_EQ(file, importer_.Import("foo.proto")); in TEST_F()168 const FileDescriptor* foo = importer_.Import("foo.proto"); in TEST_F()169 const FileDescriptor* bar = importer_.Import("bar.proto"); in TEST_F()190 EXPECT_TRUE(importer_.Import("foo.proto") == nullptr); in TEST_F()200 EXPECT_TRUE(importer_.Import("foo.proto") == nullptr); in TEST_F()217 EXPECT_TRUE(importer_.Import("recursive1.proto") == nullptr); in TEST_F()236 EXPECT_TRUE(importer_.Import("recursive.proto") == nullptr); in TEST_F()[all …]
65 importer_ = std::move(importer); in SetImporter()105 std::unique_ptr<TacImporter> importer_; variable
116 if (!importer_) { in Run()125 auto module_status = importer_->Import(); in Run()
81 importer_.reset( in ProtoFileParser()87 const auto* file_desc = importer_->Import(file_name); in ProtoFileParser()98 file_db_.reset(new protobuf::DescriptorPoolDatabase(*importer_->pool())); in ProtoFileParser()
86 std::unique_ptr<protobuf::compiler::Importer> importer_; variable