Searched refs:FindFileByName (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database.h72 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 Ddescriptor_database_unittest.cc182 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 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));
H A Ddescriptor.h1099 const FileDescriptor* FindFileByName(const string& name) const;
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database.h71 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 Ddescriptor_database_unittest.cc182 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 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.h969 const FileDescriptor* FindFileByName(const string& name) const;
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));
/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/python/google/protobuf/internal/
H A Ddescriptor_database_test.py51 self.assertEquals(file_desc_proto, db.FindFileByName(
H A Ddescriptor_pool_test.py59 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 Dplugin.cc124 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i)));
H A Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
H A Dimporter.cc122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
195 return pool_.FindFileByName(filename);
H A Dplugin.pb.cc41 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
/external/protobuf/src/google/protobuf/compiler/
H A Dplugin.cc120 pool.FindFileByName(request.file_to_generate(i));
H A Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
H A Dimporter.cc122 bool SourceTreeDescriptorDatabase::FindFileByName( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
195 return pool_.FindFileByName(filename);
H A Dplugin.pb.cc35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
H A Dpython_descriptor.cc308 if (google::protobuf::DescriptorPool::generated_pool()->FindFileByName(

Completed in 499 milliseconds

12