Searched refs:FindFileContainingSymbol (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_database_test.py53 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol(
55 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol(
57 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol(
59 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol(
H A Ddescriptor_pool_test.py80 file_desc1 = self.pool.FindFileContainingSymbol(
88 file_desc2 = self.pool.FindFileContainingSymbol(
98 self.pool.FindFileContainingSymbol('Does not exist')
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc211 TEST_P(DescriptorDatabaseTest, FindFileContainingSymbol) {
237 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file));
244 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file));
251 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file));
258 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file));
265 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file));
272 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file));
279 EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file));
286 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy", &file));
293 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzz
[all...]
H A Ddescriptor_database.h78 virtual bool FindFileContainingSymbol(const string& symbol_name,
110 // FindFileContainingSymbol() is fully-implemented. When you add a file, its
146 bool FindFileContainingSymbol(const string& symbol_name,
284 // Like FindFileContainingSymbol but returns only the name of the file.
291 bool FindFileContainingSymbol(const string& symbol_name,
320 bool FindFileContainingSymbol(const string& symbol_name,
349 bool FindFileContainingSymbol(const string& symbol_name,
H A Ddescriptor_database.cc273 bool SimpleDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::SimpleDescriptorDatabase
334 bool EncodedDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::EncodedDescriptorDatabase
406 bool DescriptorPoolDatabase::FindFileContainingSymbol( function in class:google::protobuf::DescriptorPoolDatabase
409 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name);
472 bool MergedDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::MergedDescriptorDatabase
476 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) {
H A Ddescriptor_unittest.cc4071 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
4106 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
4109 return wrapped_db_->FindFileContainingSymbol(symbol_name, output);
4136 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
4200 TEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) {
4203 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo");
4208 EXPECT_TRUE(pool.FindFileContainingSymbol("NoSuchSymbol") == NULL);
4366 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no.such.field") == NULL);
4367 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no_such_field") == NULL);
4379 // If FindFileContainingSymbol() o
[all...]
H A Ddescriptor.h1105 const FileDescriptor* FindFileContainingSymbol(
H A Ddescriptor.cc977 const FileDescriptor* DescriptorPool::FindFileContainingSymbol( function in class:google::protobuf::DescriptorPool
984 underlay_->FindFileContainingSymbol(symbol_name);
1367 // FindFileContainingSymbol() is allowed to return both false positives
1376 if (!fallback_database_->FindFileContainingSymbol(name, &file_proto)) {
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc211 TEST_P(DescriptorDatabaseTest, FindFileContainingSymbol) {
237 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file));
244 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file));
251 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file));
258 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file));
265 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file));
272 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file));
279 EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file));
286 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy", &file));
293 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzz
[all...]
H A Ddescriptor_database.h77 virtual bool FindFileContainingSymbol(const string& symbol_name,
109 // FindFileContainingSymbol() is fully-implemented. When you add a file, its
145 bool FindFileContainingSymbol(const string& symbol_name,
283 // Like FindFileContainingSymbol but returns only the name of the file.
290 bool FindFileContainingSymbol(const string& symbol_name,
319 bool FindFileContainingSymbol(const string& symbol_name,
348 bool FindFileContainingSymbol(const string& symbol_name,
H A Ddescriptor_database.cc273 bool SimpleDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::SimpleDescriptorDatabase
334 bool EncodedDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::EncodedDescriptorDatabase
406 bool DescriptorPoolDatabase::FindFileContainingSymbol( function in class:google::protobuf::DescriptorPoolDatabase
409 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name);
472 bool MergedDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::MergedDescriptorDatabase
476 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) {
H A Ddescriptor_unittest.cc3621 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
3656 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
3659 return wrapped_db_->FindFileContainingSymbol(symbol_name, output);
3686 bool FindFileContainingSymbol(const string& symbol_name, function in class:google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
3750 TEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) {
3753 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo");
3758 EXPECT_TRUE(pool.FindFileContainingSymbol("NoSuchSymbol") == NULL);
3892 // If FindFileContainingSymbol() or FindFileContainingExtension() return a
H A Ddescriptor.h975 const FileDescriptor* FindFileContainingSymbol(
H A Ddescriptor.cc885 const FileDescriptor* DescriptorPool::FindFileContainingSymbol( function in class:google::protobuf::DescriptorPool
892 underlay_->FindFileContainingSymbol(symbol_name);
1246 if (!fallback_database_->FindFileContainingSymbol(name, &file_proto)) {
/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Ddescriptor_database.py78 def FindFileContainingSymbol(self, symbol): member in class:DescriptorDatabase
H A Ddescriptor_pool.py116 def FindFileContainingSymbol(self, symbol): member in class:DescriptorPool
130 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
133 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
152 self.FindFileContainingSymbol(full_name)
167 self.FindFileContainingSymbol(full_name)
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.h74 // Note: This class does not implement FindFileContainingSymbol() or
100 bool FindFileContainingSymbol(const string& symbol_name,
H A Dimporter.cc150 bool SourceTreeDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.h74 // Note: This class does not implement FindFileContainingSymbol() or
100 bool FindFileContainingSymbol(const string& symbol_name,
H A Dimporter.cc150 bool SourceTreeDescriptorDatabase::FindFileContainingSymbol( function in class:google::protobuf::compiler::SourceTreeDescriptorDatabase

Completed in 342 milliseconds