/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 182 TEST_P(DescriptorDatabaseTest, FindFileByName) { in TEST_P() argument 192 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P() 199 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); in TEST_P() 207 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); in TEST_P() 561 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { in TEST_F() argument 565 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); in TEST_F() 573 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); in TEST_F() 581 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 589 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 597 EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); in TEST_F()
|
D | descriptor_database.h | 72 virtual bool FindFileByName(const string& filename, 145 bool FindFileByName(const string& filename, 290 bool FindFileByName(const string& filename, 319 bool FindFileByName(const string& filename, 348 bool FindFileByName(const string& filename,
|
D | descriptor_database.cc | 267 bool SimpleDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::SimpleDescriptorDatabase 329 bool EncodedDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::EncodedDescriptorDatabase 397 bool DescriptorPoolDatabase::FindFileByName( in FindFileByName() function in google::protobuf::DescriptorPoolDatabase 400 const FileDescriptor* file = pool_.FindFileByName(filename); in FindFileByName() 462 bool MergedDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::MergedDescriptorDatabase 466 if (sources_[i]->FindFileByName(filename, output)) { in FindFileByName() 484 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingSymbol() 508 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingExtension()
|
D | descriptor_unittest.cc | 2128 return pool_->FindFileByName(proto.name()); in BuildFile() 2158 EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name())); in TEST_P() 2159 EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL); in TEST_P() 4785 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase 4832 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase 4835 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 4863 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase 4865 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 4869 return FindFileByName("foo.proto", output); in FindFileContainingSymbol() 4874 return FindFileByName("foo.proto", output); in FindFileContainingExtension() [all …]
|
D | descriptor.cc | 1028 const FileDescriptor* DescriptorPool::FindFileByName(const string& name) const { in FindFileByName() function in google::protobuf::DescriptorPool 1035 result = underlay_->FindFileByName(name); in FindFileByName() 1417 if (!fallback_database_->FindFileByName(name, &file_proto) || in TryFindFileInFallbackDatabase() 3335 pool_->underlay_->FindFileByName(proto.dependency(i)) == NULL)) { in BuildFile() 3408 dependency = pool_->underlay_->FindFileByName(proto.dependency(i)); in BuildFile()
|
D | descriptor.h | 1208 const FileDescriptor* FindFileByName(const string& name) const;
|
D | descriptor.pb.cc | 98 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pool.py | 92 def FindFileByName(self, file_name): member in DescriptorPool 106 file_proto = self._internal_db.FindFileByName(file_name) 109 file_proto = self._descriptor_db.FindFileByName(file_name) 193 dep_desc = self.FindFileByName(dependency.name) 522 dep_desc = self.FindFileByName(dependency)
|
D | descriptor_database.py | 59 def FindFileByName(self, name): member in DescriptorDatabase
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 66 file_desc1 = self.pool.FindFileByName(name1) 73 file_desc2 = self.pool.FindFileByName(name2) 81 self.pool.FindFileByName('Does not exist') 250 file_desc = pool.FindFileByName(self.name) 426 pool.FindFileByName( 460 pool.FindFileByName( 477 pool.FindFileByName(
|
D | descriptor_database_test.py | 51 self.assertEquals(file_desc_proto, db.FindFileByName(
|
D | symbol_database_test.py | 115 self._Database().pool.FindFileByName(
|
D | generator_test.py | 339 symbol_database.Default().pool.FindFileByName(
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 158 def FindFileByName(self, file_name): member in DescriptorPool 177 file_proto = self._internal_db.FindFileByName(file_name) 181 file_proto = self._descriptor_db.FindFileByName(file_name) 269 direct_deps = [self.FindFileByName(n) for n in file_proto.dependency] 614 dep_desc = self.FindFileByName(dependency)
|
D | descriptor_database.py | 76 def FindFileByName(self, name): member in DescriptorDatabase
|
D | message_factory.py | 113 file_desc = self.pool.FindFileByName(file_name)
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 123 bool SourceTreeDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::compiler::SourceTreeDescriptorDatabase 198 return pool_.FindFileByName(filename); in Import()
|
D | plugin.cc | 124 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in PluginMain()
|
D | importer.h | 99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
|
D | plugin.pb.cc | 41 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 324 if (google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in Python_BuildFile()
|