/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_database.h | 72 virtual bool FindFileByName(const string& filename, 144 bool FindFileByName(const string& filename, 289 bool FindFileByName(const string& filename, 318 bool FindFileByName(const string& filename, 347 bool FindFileByName(const string& filename,
|
H A D | descriptor_database_unittest.cc | 182 TEST_P(DescriptorDatabaseTest, FindFileByName) { 192 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); 199 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); 207 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); 561 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { 565 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); 573 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); 581 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); 589 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); 597 EXPECT_FALSE(forward_merged_.FindFileByName("no_suc [all...] |
H A D | descriptor_database.cc | 267 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 D | descriptor_unittest.cc | 1891 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 D | descriptor.cc | 964 const FileDescriptor* DescriptorPool::FindFileByName(const string& name) const { function in class:google::protobuf::DescriptorPool 969 result = underlay_->FindFileByName(name); 1326 if (!fallback_database_->FindFileByName(name, &file_proto) || 3074 pool_->underlay_->FindFileByName(proto.dependency(i)) == NULL)) { 3143 dependency = pool_->underlay_->FindFileByName(proto.dependency(i));
|
H A D | descriptor.h | 1099 const FileDescriptor* FindFileByName(const string& name) const;
|
/external/protobuf/src/google/protobuf/ |
H A D | descriptor_database.h | 71 virtual bool FindFileByName(const string& filename, 143 bool FindFileByName(const string& filename, 288 bool FindFileByName(const string& filename, 317 bool FindFileByName(const string& filename, 346 bool FindFileByName(const string& filename,
|
H A D | descriptor_database_unittest.cc | 182 TEST_P(DescriptorDatabaseTest, FindFileByName) { 192 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); 199 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); 207 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); 561 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { 565 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); 573 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); 581 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); 589 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); 597 EXPECT_FALSE(forward_merged_.FindFileByName("no_suc [all...] |
H A D | descriptor_database.cc | 267 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 D | descriptor_unittest.cc | 1817 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 D | descriptor.h | 969 const FileDescriptor* FindFileByName(const string& name) const;
|
H A D | descriptor.cc | 870 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));
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor_database.py | 59 def FindFileByName(self, name): member in class:DescriptorDatabase
|
H A D | descriptor_pool.py | 70 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/python/google/protobuf/internal/ |
H A D | descriptor_database_test.py | 51 self.assertEquals(file_desc_proto, db.FindFileByName(
|
H A D | descriptor_pool_test.py | 59 file_desc1 = self.pool.FindFileByName(name1) 66 file_desc2 = self.pool.FindFileByName(name2) 74 self.pool.FindFileByName('Does not exist')
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 124 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i)));
|
H A D | importer.h | 99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
|
H A D | importer.cc | 122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase 195 return pool_.FindFileByName(filename);
|
H A D | plugin.pb.cc | 41 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 120 pool.FindFileByName(request.file_to_generate(i));
|
H A D | importer.h | 99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
|
H A D | importer.cc | 122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase 195 return pool_.FindFileByName(filename);
|
H A D | plugin.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | python_descriptor.cc | 308 if (google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|