Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc90 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); in SetUp()
95 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions"); in SetUp()
100 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes"); in SetUp()
105 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2"); in SetUp()
179 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2.NestedMessage"); in TEST_F()
187 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2.FooGroup"); in TEST_F()
Ddescriptor_unittest.cc284 TEST_F(FileDescriptorTest, FindMessageTypeByName) { in TEST_F() argument
285 EXPECT_EQ(foo_message_, foo_file_->FindMessageTypeByName("FooMessage")); in TEST_F()
286 EXPECT_EQ(bar_message_, bar_file_->FindMessageTypeByName("BarMessage")); in TEST_F()
288 EXPECT_TRUE(foo_file_->FindMessageTypeByName("BarMessage") == NULL); in TEST_F()
289 EXPECT_TRUE(bar_file_->FindMessageTypeByName("FooMessage") == NULL); in TEST_F()
290 EXPECT_TRUE(baz_file_->FindMessageTypeByName("FooMessage") == NULL); in TEST_F()
292 EXPECT_TRUE(foo_file_->FindMessageTypeByName("NoSuchMessage") == NULL); in TEST_F()
293 EXPECT_TRUE(foo_file_->FindMessageTypeByName("FooEnum") == NULL); in TEST_F()
2181 EXPECT_EQ(bar_type_, pool_->FindMessageTypeByName(bar_type_->full_name())); in TEST_P()
2182 EXPECT_TRUE(pool_->FindMessageTypeByName(baz_type->full_name()) == NULL); in TEST_P()
[all …]
Ddescriptor_database.cc421 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension()
436 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers()
Ddescriptor.h1056 const Descriptor* FindMessageTypeByName(const string& name) const;
1222 const Descriptor* FindMessageTypeByName(const string& name) const;
Dgenerated_message_reflection.cc1423 const Descriptor* type = descriptor_pool_->FindMessageTypeByName(name); in FindKnownExtensionByName()
Ddescriptor.cc1064 const Descriptor* DescriptorPool::FindMessageTypeByName( in FindMessageTypeByName() function in google::protobuf::DescriptorPool
1326 FileDescriptor::FindMessageTypeByName(const string& key) const { in FindMessageTypeByName() function in google::protobuf::FileDescriptor
/external/protobuf/python/google/protobuf/internal/
Dsymbol_database_test.py94 self._Database().pool.FindMessageTypeByName(
98 self._Database().pool.FindMessageTypeByName(
Ddescriptor_pool_test.py105 msg1 = self.pool.FindMessageTypeByName(
126 msg2 = self.pool.FindMessageTypeByName(
168 msg3 = self.pool.FindMessageTypeByName(
187 self.pool.FindMessageTypeByName('Does not exist')
409 pool.FindMessageTypeByName(
414 pool.FindMessageTypeByName(
420 pool.FindMessageTypeByName(
Dmessage_factory_test.py94 cls = factory.GetPrototype(pool.FindMessageTypeByName(
98 cls2 = factory.GetPrototype(pool.FindMessageTypeByName(
/external/nanopb-c/generator/google/protobuf/
Dmessage_factory.py111 yield _POOL.FindMessageTypeByName(name)
Ddescriptor_pool.py140 def FindMessageTypeByName(self, full_name): member in DescriptorPool
470 message_desc = self.FindMessageTypeByName(message_name)
/external/protobuf/python/google/protobuf/
Dmessage_factory.py120 self.pool.FindMessageTypeByName(full_name))
Ddescriptor_pool.py224 def FindMessageTypeByName(self, full_name): member in DescriptorPool
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc236 const Descriptor* item_type = file->FindMessageTypeByName("Item"); in TEST_F()
238 const Descriptor* map_type = file->FindMessageTypeByName("Map"); in TEST_F()
Dcommand_line_interface.cc1363 const Descriptor* type = pool->FindMessageTypeByName(codec_type_); in EncodeOrDecode()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc112 const Descriptor* file_proto_desc = alternate_pool.FindMessageTypeByName( in CollectExtensions()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc529 GetDescriptorPool()->FindMessageTypeByName(message_name); in CheckAndGetInteger()