FindFileByName 308 third_party/protobuf/python/google/protobuf/pyext/python_descriptor.cc if (google::protobuf::DescriptorPool::generated_pool()->FindFileByName( FindFileByName 195 third_party/protobuf/src/google/protobuf/compiler/importer.cc return pool_.FindFileByName(filename); FindFileByName 99 third_party/protobuf/src/google/protobuf/compiler/importer.h bool FindFileByName(const string& filename, FileDescriptorProto* output); FindFileByName 124 third_party/protobuf/src/google/protobuf/compiler/plugin.cc parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); FindFileByName 41 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( FindFileByName 967 third_party/protobuf/src/google/protobuf/descriptor.cc result = underlay_->FindFileByName(name); FindFileByName 1324 third_party/protobuf/src/google/protobuf/descriptor.cc if (!fallback_database_->FindFileByName(name, &file_proto) || FindFileByName 3072 third_party/protobuf/src/google/protobuf/descriptor.cc pool_->underlay_->FindFileByName(proto.dependency(i)) == NULL)) { FindFileByName 3141 third_party/protobuf/src/google/protobuf/descriptor.cc dependency = pool_->underlay_->FindFileByName(proto.dependency(i)); FindFileByName 1099 third_party/protobuf/src/google/protobuf/descriptor.h const FileDescriptor* FindFileByName(const string& name) const; FindFileByName 95 third_party/protobuf/src/google/protobuf/descriptor.pb.cc ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( FindFileByName 399 third_party/protobuf/src/google/protobuf/descriptor_database.cc const FileDescriptor* file = pool_.FindFileByName(filename); FindFileByName 465 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (sources_[i]->FindFileByName(filename, output)) { FindFileByName 483 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (sources_[j]->FindFileByName(output->name(), &temp)) { FindFileByName 507 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (sources_[j]->FindFileByName(output->name(), &temp)) { FindFileByName 72 third_party/protobuf/src/google/protobuf/descriptor_database.h virtual bool FindFileByName(const string& filename, FindFileByName 144 third_party/protobuf/src/google/protobuf/descriptor_database.h bool FindFileByName(const string& filename, FindFileByName 289 third_party/protobuf/src/google/protobuf/descriptor_database.h bool FindFileByName(const string& filename, FindFileByName 318 third_party/protobuf/src/google/protobuf/descriptor_database.h bool FindFileByName(const string& filename, FindFileByName 347 third_party/protobuf/src/google/protobuf/descriptor_database.h bool FindFileByName(const string& filename, FindFileByName 182 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc TEST_P(DescriptorDatabaseTest, FindFileByName) { FindFileByName 192 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); FindFileByName 199 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); FindFileByName 207 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); FindFileByName 561 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { FindFileByName 565 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); FindFileByName 573 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); FindFileByName 581 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); FindFileByName 589 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); FindFileByName 597 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); FindFileByName 1891 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return pool_->FindFileByName(proto.name()); FindFileByName 1919 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name())); FindFileByName 1920 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL); FindFileByName 4104 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return wrapped_db_->FindFileByName(filename, output); FindFileByName 4134 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return wrapped_db_->FindFileByName(filename, output); FindFileByName 4138 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return FindFileByName("foo.proto", output); FindFileByName 4143 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return FindFileByName("foo.proto", output); FindFileByName 4148 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc TEST_F(DatabaseBackedPoolTest, FindFileByName) { FindFileByName 4151 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* foo = pool.FindFileByName("foo.proto"); FindFileByName 4157 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo, pool.FindFileByName("foo.proto")); FindFileByName 4159 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("no_such_file.proto") == NULL); FindFileByName 4165 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* foo = pool.FindFileByName("foo.proto"); FindFileByName 4171 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* bar = pool.FindFileByName("bar.proto"); FindFileByName 4184 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* bar = pool.FindFileByName("bar.proto"); FindFileByName 4190 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* foo = pool.FindFileByName("foo.proto"); FindFileByName 4206 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(file, pool.FindFileByName("foo.proto")); FindFileByName 4217 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(type->file(), pool.FindFileByName("foo.proto")); FindFileByName 4231 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(extension->file(), pool.FindFileByName("bar.proto")); FindFileByName 4259 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("error.proto") == NULL); FindFileByName 4271 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("error.proto") == NULL); FindFileByName 4305 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("baz.proto") == NULL); FindFileByName 4319 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc pool.FindFileByName(original_file->name()); FindFileByName 4340 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.FindFileByName("foo.proto"); FindFileByName 4404 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("error.proto") == NULL); FindFileByName 4406 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE(pool.FindFileByName("error.proto") == NULL); FindFileByName 4417 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FileDescriptor* file = pool.FindFileByName("foo.proto"); FindFileByName 4525 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_CHECK_NOTNULL(pool_.FindFileByName("/test/test.proto")); FindFileByName 4558 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_CHECK_NOTNULL(pool_.FindFileByName("/test/test.proto")); FindFileByName 4576 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_CHECK_NOTNULL(pool_.FindFileByName("/test/test.proto")); FindFileByName 4623 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_CHECK_NOTNULL(pool_.FindFileByName("/test/test.proto")); FindFileByName 4633 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc GOOGLE_CHECK_NOTNULL(pool_.FindFileByName("/test/test.proto"));