Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_database_test.py66 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
69 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
72 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
75 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
77 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
80 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
83 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
85 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
87 self.assertEqual(file_desc_proto2, db.FindFileContainingSymbol(
90 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol(
[all …]
Ddescriptor_pool_test.py88 file_desc1 = self.pool.FindFileContainingSymbol(
96 file_desc2 = self.pool.FindFileContainingSymbol(
105 file_desc3 = self.pool.FindFileContainingSymbol(
112 file_desc4 = self.pool.FindFileContainingSymbol(
118 file_desc5 = self.pool.FindFileContainingSymbol(
124 assert descriptor_pool.Default().FindFileContainingSymbol(
126 assert descriptor_pool.Default().FindFileContainingSymbol(
128 assert descriptor_pool.Default().FindFileContainingSymbol(
132 file_desc6 = self.pool.FindFileContainingSymbol(
139 file_desc7 = self.pool.FindFileContainingSymbol(
[all …]
Dsymbol_database_test.py123 self._Database().pool.FindFileContainingSymbol(
127 self._Database().pool.FindFileContainingSymbol(
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc206 TEST_P(DescriptorDatabaseTest, FindFileContainingSymbol) { in TEST_P() argument
231 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file)); in TEST_P()
238 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file)); in TEST_P()
243 database_->FindFileContainingSymbol("Foo.none_field.none", &file)); in TEST_P()
249 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file)); in TEST_P()
256 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file)); in TEST_P()
263 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file)); in TEST_P()
270 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file)); in TEST_P()
277 EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file)); in TEST_P()
284 EXPECT_TRUE(database_->FindFileContainingSymbol("Xyzzy", &file)); in TEST_P()
[all …]
Ddescriptor_database.h84 virtual bool FindFileContainingSymbol(const std::string& symbol_name,
179 bool FindFileContainingSymbol(const std::string& symbol_name,
325 bool FindFileContainingSymbol(const std::string& symbol_name,
356 bool FindFileContainingSymbol(const std::string& symbol_name,
386 bool FindFileContainingSymbol(const std::string& symbol_name,
Ddescriptor_database.cc352 bool SimpleDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::SimpleDescriptorDatabase
416 bool EncodedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::EncodedDescriptorDatabase
488 bool DescriptorPoolDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPoolDatabase
490 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
549 bool MergedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::MergedDescriptorDatabase
552 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
Ddescriptor_unittest.cc6566 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
6599 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
6602 return wrapped_db_->FindFileContainingSymbol(symbol_name, output); in FindFileContainingSymbol()
6629 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
6693 TEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) { in TEST_F() argument
6696 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo"); in TEST_F()
6701 EXPECT_TRUE(pool.FindFileContainingSymbol("NoSuchSymbol") == nullptr); in TEST_F()
6862 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no.such.field") == nullptr); in TEST_F()
6863 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no_such_field") == nullptr); in TEST_F()
6920 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::ExponentialErrorDatabase
Ddescriptor.h1587 const FileDescriptor* FindFileContainingSymbol(
Ddescriptor.cc1409 const FileDescriptor* DescriptorPool::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPool
1420 underlay_->FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
1915 || !fallback_database_->FindFileContainingSymbol(name, &file_proto) in TryFindSymbolInFallbackDatabase()
/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.cc400 static PyObject* FindFileContainingSymbol(PyObject* self, PyObject* arg) { in FindFileContainingSymbol() function
408 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindFileContainingSymbol( in FindFileContainingSymbol()
666 { "FindFileContainingSymbol", FindFileContainingSymbol, METH_O,
Ddescriptor_database.cc119 bool PyDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::python::PyDescriptorDatabase
/external/protobuf/python/google/protobuf/
Ddescriptor_database.py106 def FindFileContainingSymbol(self, symbol): member in DescriptorDatabase
Ddescriptor_pool.py371 def FindFileContainingSymbol(self, symbol): member in DescriptorPool
678 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
681 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
/external/protobuf/src/google/protobuf/compiler/
Dimporter.h110 bool FindFileContainingSymbol(const std::string& symbol_name,
Dimporter.cc169 bool SourceTreeDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::compiler::SourceTreeDescriptorDatabase
/external/rust/crates/grpcio-sys/grpc/src/cpp/ext/
Dproto_server_reflection.cc136 descriptor_pool_->FindFileContainingSymbol(symbol); in GetFileContainingSymbol()
/external/grpc-grpc/src/cpp/ext/
Dproto_server_reflection.cc137 descriptor_pool_->FindFileContainingSymbol(symbol); in GetFileContainingSymbol()
/external/protobuf/
DCHANGES.txt143 * FindFileContainingSymbol in descriptor pool is now able to find field and enum values.
583 * descriptor_pool.FindFileContainingSymbol() now is able to find nested