Home
last modified time | relevance | path

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

/third_party/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.py92 file_desc1 = self.pool.FindFileContainingSymbol(
100 file_desc2 = self.pool.FindFileContainingSymbol(
109 file_desc3 = self.pool.FindFileContainingSymbol(
116 file_desc4 = self.pool.FindFileContainingSymbol(
122 file_desc5 = self.pool.FindFileContainingSymbol(
128 assert descriptor_pool.Default().FindFileContainingSymbol(
130 assert descriptor_pool.Default().FindFileContainingSymbol(
132 assert descriptor_pool.Default().FindFileContainingSymbol(
136 file_desc6 = self.pool.FindFileContainingSymbol(
143 file_desc7 = self.pool.FindFileContainingSymbol(
[all …]
Dsymbol_database_test.py123 self._Database().pool.FindFileContainingSymbol(
127 self._Database().pool.FindFileContainingSymbol(
/third_party/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc207 TEST_P(DescriptorDatabaseTest, FindFileContainingSymbol) { in TEST_P() argument
232 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo", &file)); in TEST_P()
239 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.qux", &file)); in TEST_P()
244 database_->FindFileContainingSymbol("Foo.none_field.none", &file)); in TEST_P()
250 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Grault", &file)); in TEST_P()
257 EXPECT_TRUE(database_->FindFileContainingSymbol("Foo.Garply", &file)); in TEST_P()
264 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo", &file)); in TEST_P()
271 EXPECT_TRUE(database_->FindFileContainingSymbol("Waldo.FRED", &file)); in TEST_P()
278 EXPECT_TRUE(database_->FindFileContainingSymbol("plugh", &file)); in TEST_P()
285 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,
310 bool FindFileContainingSymbol(const std::string& symbol_name,
343 bool FindFileContainingSymbol(const std::string& symbol_name,
373 bool FindFileContainingSymbol(const std::string& symbol_name,
Ddescriptor_database.cc360 bool SimpleDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::SimpleDescriptorDatabase
581 bool EncodedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::EncodedDescriptorDatabase
905 bool DescriptorPoolDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPoolDatabase
907 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
966 bool MergedDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::MergedDescriptorDatabase
969 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
Ddescriptor_unittest.cc6677 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
6710 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
6713 return wrapped_db_->FindFileContainingSymbol(symbol_name, output); in FindFileContainingSymbol()
6740 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
6804 TEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) { in TEST_F() argument
6807 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo"); in TEST_F()
6812 EXPECT_TRUE(pool.FindFileContainingSymbol("NoSuchSymbol") == nullptr); in TEST_F()
6973 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no.such.field") == nullptr); in TEST_F()
6974 EXPECT_TRUE(pool.FindFileContainingSymbol("Foo.no_such_field") == nullptr); in TEST_F()
7031 bool FindFileContainingSymbol(const std::string& symbol_name, in FindFileContainingSymbol() function in google::protobuf::descriptor_unittest::ExponentialErrorDatabase
Ddescriptor.h1678 const FileDescriptor* FindFileContainingSymbol(
Ddescriptor.cc1401 const FileDescriptor* DescriptorPool::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::DescriptorPool
1412 underlay_->FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
1935 || !fallback_database_->FindFileContainingSymbol(name_string, &file_proto) in TryFindSymbolInFallbackDatabase()
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
D_base.py66 descriptor = self._pool.FindFileContainingSymbol(
79 descriptor = self._pool.FindFileContainingSymbol(
/third_party/grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc109 bool ProtoReflectionDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in grpc::ProtoReflectionDescriptorDatabase
111 if (cached_db_.FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
154 return cached_db_.FindFileContainingSymbol(symbol_name, output); in FindFileContainingSymbol()
Dproto_reflection_descriptor_database.h55 bool FindFileContainingSymbol(const string& symbol_name,
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.h54 bool FindFileContainingSymbol(const std::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
/third_party/protobuf/python/google/protobuf/
Ddescriptor_database.py106 def FindFileContainingSymbol(self, symbol): member in DescriptorDatabase
Ddescriptor_pool.py420 def FindFileContainingSymbol(self, symbol): member in DescriptorPool
718 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
721 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.h110 bool FindFileContainingSymbol(const std::string& symbol_name,
Dimporter.cc166 bool SourceTreeDescriptorDatabase::FindFileContainingSymbol( in FindFileContainingSymbol() function in google::protobuf::compiler::SourceTreeDescriptorDatabase
/third_party/grpc/src/cpp/ext/
Dproto_server_reflection.cc136 descriptor_pool_->FindFileContainingSymbol(symbol); in GetFileContainingSymbol()
/third_party/protobuf/
DCHANGES.txt485 * FindFileContainingSymbol in descriptor pool is now able to find field and enum values.
925 * descriptor_pool.FindFileContainingSymbol() now is able to find nested