Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc217 TEST_P(DescriptorDatabaseTest, FindFileContainingSymbol) { in TEST_P() argument
243 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file)); in TEST_P()
250 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file)); in TEST_P()
257 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file)); in TEST_P()
264 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file)); in TEST_P()
271 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file)); in TEST_P()
278 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file)); in TEST_P()
285 EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file)); in TEST_P()
292 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy", &file)); in TEST_P()
299 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy.Thud", &file)); in TEST_P()
[all …]
Ddescriptor_database.h78 virtual bool FindFileContainingSymbol(const string& symbol_name,
147 bool FindFileContainingSymbol(const string& symbol_name,
292 bool FindFileContainingSymbol(const string& symbol_name,
321 bool FindFileContainingSymbol(const string& symbol_name,
350 bool FindFileContainingSymbol(const string& symbol_name,
Ddescriptor_database.cc272 bool SimpleDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::SimpleDescriptorDatabase
334 bool EncodedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::EncodedDescriptorDatabase
406 bool DescriptorPoolDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPoolDatabase
409 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
472 bool MergedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::MergedDescriptorDatabase
476 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
Ddescriptor_unittest.cc5914 bool FindFileContainingSymbol(const string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
5949 bool FindFileContainingSymbol(const string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
5952 return wrapped_db_->FindFileContainingSymbol(symbol_name, output); in FindFileContainingSymbol()
5979 bool FindFileContainingSymbol(const string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
6043 TEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) { in TEST_F() argument
6046 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo"); in TEST_F()
6051 EXPECT_TRUE(pool.FindFileContainingSymbol("NoSuchSymbol") == NULL); in TEST_F()
6213 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no.such.field") == NULL); in TEST_F()
6214 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no_such_field") == NULL); in TEST_F()
6271 bool FindFileContainingSymbol(const string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::ExponentialErrorDatabase
Ddescriptor.h1403 const FileDescriptor* FindFileContainingSymbol(
Ddescriptor.cc1191 const FileDescriptor* DescriptorPool::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPool
1200 underlay_->FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
1635 || !fallback_database_->FindFileContainingSymbol(name, &file_proto) in TryFindSymbolInFallbackDatabase()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_database_test.py57 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
59 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
61 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
63 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
65 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
Dsymbol_database_test.py114 self._Database().pool.FindFileContainingSymbol(
118 self._Database().pool.FindFileContainingSymbol(
Ddescriptor_pool_test.py93 file_desc1 = self.pool.FindFileContainingSymbol(
101 file_desc2 = self.pool.FindFileContainingSymbol(
111 self.pool.FindFileContainingSymbol('Does not exist')
548 pool.FindFileContainingSymbol(
584 pool.FindFileContainingSymbol(
606 pool.FindFileContainingSymbol(
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py208 def FindFileContainingSymbol(self, symbol): member in DescriptorPool
233 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
236 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
255 self.FindFileContainingSymbol(full_name)
270 self.FindFileContainingSymbol(full_name)
303 scope = self.FindFileContainingSymbol(full_name)
Ddescriptor_database.py99 def FindFileContainingSymbol(self, symbol): member in DescriptorDatabase
/external/grpc-grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
Dreflection.py67 descriptor = self._pool.FindFileContainingSymbol(
80 descriptor = self._pool.FindFileContainingSymbol(
/external/grpc-grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc106 bool ProtoReflectionDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in grpc::ProtoReflectionDescriptorDatabase
108 if (cached_db_.FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
151 return cached_db_.FindFileContainingSymbol(symbol_name, output); in FindFileContainingSymbol()
Dproto_reflection_descriptor_database.h55 bool FindFileContainingSymbol(const string& symbol_name,
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.h55 bool FindFileContainingSymbol(const string& symbol_name,
Ddescriptor_pool.cc308 PyObject* FindFileContainingSymbol(PyDescriptorPool* self, PyObject* arg) { in FindFileContainingSymbol() function
316 self->pool->FindFileContainingSymbol(string(name, name_size)); in FindFileContainingSymbol()
495 { "FindFileContainingSymbol", (PyCFunction)FindFileContainingSymbol, METH_O,
Ddescriptor_database.cc119 bool PyDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::python::PyDescriptorDatabase
/external/protobuf/src/google/protobuf/compiler/
Dimporter.h100 bool FindFileContainingSymbol(const string& symbol_name,
Dimporter.cc155 bool SourceTreeDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::compiler::SourceTreeDescriptorDatabase
/external/grpc-grpc/src/cpp/ext/
Dproto_server_reflection.cc137 descriptor_pool_->FindFileContainingSymbol(symbol); in GetFileContainingSymbol()