Home
last modified time | relevance | path

Searched refs:FindMessageTypeByName (Results 1 – 25 of 39) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc100 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); in SetUp()
105 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions"); in SetUp()
110 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes"); in SetUp()
115 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2"); in SetUp()
119 proto3_descriptor_ = pool_.FindMessageTypeByName( in SetUp()
212 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2.NestedMessage"); in TEST_P()
220 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2.FooGroup"); in TEST_P()
Ddescriptor_unittest.cc413 TEST_F(FileDescriptorTest, FindMessageTypeByName) { in TEST_F() argument
414 EXPECT_EQ(foo_message_, foo_file_->FindMessageTypeByName("FooMessage")); in TEST_F()
415 EXPECT_EQ(bar_message_, bar_file_->FindMessageTypeByName("BarMessage")); in TEST_F()
417 EXPECT_TRUE(foo_file_->FindMessageTypeByName("BarMessage") == nullptr); in TEST_F()
418 EXPECT_TRUE(bar_file_->FindMessageTypeByName("FooMessage") == nullptr); in TEST_F()
419 EXPECT_TRUE(baz_file_->FindMessageTypeByName("FooMessage") == nullptr); in TEST_F()
421 EXPECT_TRUE(foo_file_->FindMessageTypeByName("NoSuchMessage") == nullptr); in TEST_F()
422 EXPECT_TRUE(foo_file_->FindMessageTypeByName("FooEnum") == nullptr); in TEST_F()
2806 EXPECT_EQ(bar_type_, pool_->FindMessageTypeByName(bar_type_->full_name())); in TEST_P()
2807 EXPECT_TRUE(pool_->FindMessageTypeByName(baz_type->full_name()) == nullptr); in TEST_P()
[all …]
Ddescriptor_database.cc917 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension()
931 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers()
Ddescriptor.h1491 const Descriptor* FindMessageTypeByName(ConstStringParam name) const;
1686 const Descriptor* FindMessageTypeByName(ConstStringParam name) const;
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py166 msg1 = self.pool.FindMessageTypeByName(
188 msg2 = self.pool.FindMessageTypeByName(
230 msg3 = self.pool.FindMessageTypeByName(
256 self.assertRaises(error_type, self.pool.FindMessageTypeByName, 0)
270 self.pool.FindMessageTypeByName('Does not exist')
337 factory1_message = self.pool.FindMessageTypeByName(
339 factory2_message = self.pool.FindMessageTypeByName(
359 factory1_message = self.pool.FindMessageTypeByName(
481 pool.FindMessageTypeByName(
561 self.pool.FindMessageTypeByName('protobuf_unittest.TestAllTypes'),
[all …]
Dkeywords_test.py52 des = self.pool.FindMessageTypeByName('google.protobuf.internal.class')
59 des = self.pool.FindMessageTypeByName('google.protobuf.internal.class.try')
Dsymbol_database_test.py106 self._Database().pool.FindMessageTypeByName(
110 self._Database().pool.FindMessageTypeByName(
Dmessage_factory_test.py101 cls = factory.GetPrototype(pool.FindMessageTypeByName(
105 cls2 = factory.GetPrototype(pool.FindMessageTypeByName(
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
D_base.py75 message_descriptor = self._pool.FindMessageTypeByName(
88 message_descriptor = self._pool.FindMessageTypeByName(
/third_party/grpc/test/cpp/end2end/
Dproto_server_reflection_test.cc110 const protobuf::Descriptor* desc = desc_pool_->FindMessageTypeByName(type); in CompareType()
112 ref_desc_pool_->FindMessageTypeByName(type); in CompareType()
/third_party/grpc/src/cpp/ext/
Dproto_server_reflection.cc153 descriptor_pool_->FindMessageTypeByName(request->containing_type()); in GetFileContainingExtension()
177 descriptor_pool_->FindMessageTypeByName(type); in GetAllExtensionNumbers()
/third_party/protobuf/python/google/protobuf/
Dsymbol_database.py148 return self._classes[self.pool.FindMessageTypeByName(symbol)]
Dproto_builder.py55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name)
Ddescriptor_pool.py488 message = self.FindMessageTypeByName(top_name)
496 def FindMessageTypeByName(self, full_name): member in DescriptorPool
546 message_descriptor = self.FindMessageTypeByName(message_name)
563 message_descriptor = self.FindMessageTypeByName(message_name)
590 scope = self.FindMessageTypeByName(message_name)
Ddescriptor.py296 return _message.default_pool.FindMessageTypeByName(full_name)
/third_party/grpc/test/cpp/util/
Dproto_file_parser.cc248 desc_pool_->FindMessageTypeByName(message_type_name); in GetSerializedProtoFromMessageType()
285 desc_pool_->FindMessageTypeByName(message_type_name); in GetFormattedStringFromMessageType()
/third_party/protobuf/conformance/
Dconformance_cpp.cc104 const Descriptor *descriptor = DescriptorPool::generated_pool()->FindMessageTypeByName( in DoTest()
/third_party/protobuf/benchmarks/cpp/
Dcpp_benchmark.cc60 DescriptorPool::generated_pool()->FindMessageTypeByName( in Fixture()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc242 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindMessageTypeByName( in FindMessageByName()
510 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindMessageTypeByName( in AddDescriptor()
Dextension_dict.cc247 pool->pool->FindMessageTypeByName(StringParam(name, name_size)); in _FindExtensionByName()
/third_party/grpc/doc/
Dserver_reflection_tutorial.md185 desc_pool->FindMessageTypeByName("helloworld.HelloRequest");
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc83 const Descriptor* descriptor = pool_->FindMessageTypeByName(type_name); in ResolveMessageType()
Djson_util_test.cc340 factory.GetPrototype(pool.FindMessageTypeByName("proto3.TestMessage")) in TEST_F()
/third_party/protobuf/
Dlibprotobuf.map32 …"google::protobuf::DescriptorPool::FindMessageTypeByName(std::__cxx11::basic_string<char, std::cha…
146 …"google::protobuf::DescriptorPool::FindMessageTypeByName(std::__1::basic_string<char, std::__1::ch…
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc132 const Descriptor* file_proto_desc = alternate_pool.FindMessageTypeByName( in CollectExtensions()

12