Searched refs:FindEnumTypeByName (Results 1 – 13 of 13) sorted by relevance
/third_party/protobuf/python/google/protobuf/internal/ |
D | symbol_database_test.py | 96 self._Database().pool.FindEnumTypeByName( 100 self._Database().pool.FindEnumTypeByName(
|
D | descriptor_pool_test.py | 259 self.assertRaises(error_type, self.pool.FindEnumTypeByName, 0) 273 enum1 = self.pool.FindEnumTypeByName( 280 nested_enum1 = self.pool.FindEnumTypeByName( 288 enum2 = self.pool.FindEnumTypeByName( 294 nested_enum2 = self.pool.FindEnumTypeByName( 304 self.pool.FindEnumTypeByName('Does not exist') 568 self.pool.FindEnumTypeByName('protobuf_unittest.ForeignEnum'), 680 self.pool.FindEnumTypeByName('collector.MyEnum') 913 pool.FindEnumTypeByName( 918 pool.FindEnumTypeByName( [all …]
|
D | generator_test.py | 345 symbol_database.Default().pool.FindEnumTypeByName( 349 symbol_database.Default().pool.FindEnumTypeByName(
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.h | 109 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
|
D | descriptor_pool.cc | 318 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg) { in FindEnumTypeByName() function 326 self->pool->FindEnumTypeByName(StringParam(name, name_size)); in FindEnumTypeByName() 336 return FindEnumTypeByName(reinterpret_cast<PyDescriptorPool*>(self), arg); in FindEnumTypeByNameMethod() 527 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindEnumTypeByName( in AddEnumDescriptor()
|
D | descriptor_containers.cc | 1096 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName() 1568 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
|
D | descriptor.cc | 624 _GetDescriptor(self)->FindEnumTypeByName(enum_name); in EnumValueName()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 425 TEST_F(FileDescriptorTest, FindEnumTypeByName) { in TEST_F() argument 426 EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName("FooEnum")); in TEST_F() 427 EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName("BarEnum")); in TEST_F() 429 EXPECT_TRUE(foo_file_->FindEnumTypeByName("BarEnum") == nullptr); in TEST_F() 430 EXPECT_TRUE(bar_file_->FindEnumTypeByName("FooEnum") == nullptr); in TEST_F() 431 EXPECT_TRUE(baz_file_->FindEnumTypeByName("FooEnum") == nullptr); in TEST_F() 433 EXPECT_TRUE(foo_file_->FindEnumTypeByName("NoSuchEnum") == nullptr); in TEST_F() 434 EXPECT_TRUE(foo_file_->FindEnumTypeByName("FooMessage") == nullptr); in TEST_F() 1813 TEST_F(NestedDescriptorTest, FindEnumTypeByName) { in TEST_F() argument 1814 EXPECT_EQ(baz_, message_->FindEnumTypeByName("Baz")); in TEST_F() [all …]
|
D | descriptor.h | 374 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; 1493 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; 1690 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const;
|
D | descriptor.cc | 1455 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::DescriptorPool 1687 const EnumDescriptor* Descriptor::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::Descriptor 1762 const EnumDescriptor* FileDescriptor::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::FileDescriptor
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 100 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor.py | 659 return _message.default_pool.FindEnumTypeByName(full_name)
|
D | descriptor_pool.py | 514 def FindEnumTypeByName(self, full_name): member in DescriptorPool
|