Searched defs:FindFileByName (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Ddescriptor_database.py59 def FindFileByName(self, name): member in class:DescriptorDatabase
H A Ddescriptor_pool.py70 specified in a call to FindFileByName() and not require the call to Add()
92 def FindFileByName(self, file_name): member in class: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)
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
195 return pool_.FindFileByName(filename);
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc267 bool SimpleDescriptorDatabase::FindFileByName( function in class:google::protobuf::SimpleDescriptorDatabase
328 bool EncodedDescriptorDatabase::FindFileByName( function in class:google::protobuf::EncodedDescriptorDatabase
396 bool DescriptorPoolDatabase::FindFileByName( function in class:google::protobuf::DescriptorPoolDatabase
399 const FileDescriptor* file = pool_.FindFileByName(filename);
461 bool MergedDescriptorDatabase::FindFileByName( function in class:google::protobuf::MergedDescriptorDatabase
465 if (sources_[i]->FindFileByName(filename, output)) {
483 if (sources_[j]->FindFileByName(output->name(), &temp)) {
507 if (sources_[j]->FindFileByName(output->name(), &temp)) {
H A Ddescriptor_unittest.cc1891 return pool_->FindFileByName(proto.name());
1919 EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name()));
1920 EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL);
4054 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
4101 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
4104 return wrapped_db_->FindFileByName(filename, output);
4132 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
4134 return wrapped_db_->FindFileByName(filename, output);
4138 return FindFileByName("foo.proto", output);
4143 return FindFileByName("fo
[all...]
H A Ddescriptor.cc962 const FileDescriptor* DescriptorPool::FindFileByName(const string& name) const { function in class:google::protobuf::DescriptorPool
967 result = underlay_->FindFileByName(name);
1324 if (!fallback_database_->FindFileByName(name, &file_proto) ||
3072 pool_->underlay_->FindFileByName(proto.dependency(i)) == NULL)) {
3141 dependency = pool_->underlay_->FindFileByName(proto.dependency(i));
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
195 return pool_.FindFileByName(filename);
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc267 bool SimpleDescriptorDatabase::FindFileByName( function in class:google::protobuf::SimpleDescriptorDatabase
328 bool EncodedDescriptorDatabase::FindFileByName( function in class:google::protobuf::EncodedDescriptorDatabase
396 bool DescriptorPoolDatabase::FindFileByName( function in class:google::protobuf::DescriptorPoolDatabase
399 const FileDescriptor* file = pool_.FindFileByName(filename);
461 bool MergedDescriptorDatabase::FindFileByName( function in class:google::protobuf::MergedDescriptorDatabase
465 if (sources_[i]->FindFileByName(filename, output)) {
483 if (sources_[j]->FindFileByName(output->name(), &temp)) {
507 if (sources_[j]->FindFileByName(output->name(), &temp)) {
H A Ddescriptor_unittest.cc1817 EXPECT_EQ(bar_file_, pool_.FindFileByName(bar_file_->name()));
1818 EXPECT_TRUE(pool_.FindFileByName(baz_file->name()) == NULL);
3604 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
3651 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
3654 return wrapped_db_->FindFileByName(filename, output);
3682 bool FindFileByName(const string& filename, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
3684 return wrapped_db_->FindFileByName(filename, output);
3688 return FindFileByName("foo.proto", output);
3693 return FindFileByName("foo.proto", output);
3698 TEST_F(DatabaseBackedPoolTest, FindFileByName) {
[all...]
H A Ddescriptor.cc870 const FileDescriptor* DescriptorPool::FindFileByName(const string& name) const { function in class:google::protobuf::DescriptorPool
875 const FileDescriptor* result = underlay_->FindFileByName(name);
1233 if (!fallback_database_->FindFileByName(name, &file_proto) ||
2731 pool_->underlay_->FindFileByName(proto.dependency(i)) == NULL)) {
2792 dependency = pool_->underlay_->FindFileByName(proto.dependency(i));

Completed in 396 milliseconds