Searched refs:FindEnumTypeByName (Results 1 – 13 of 13) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 199 enum1 = self.pool.FindEnumTypeByName( 205 nested_enum1 = self.pool.FindEnumTypeByName( 213 enum2 = self.pool.FindEnumTypeByName( 219 nested_enum2 = self.pool.FindEnumTypeByName( 229 self.pool.FindEnumTypeByName('Does not exist') 562 pool.FindEnumTypeByName( 567 pool.FindEnumTypeByName( 573 pool.FindEnumTypeByName( 656 pool.FindEnumTypeByName('protobuf_unittest.ForeignEnum'),
|
D | symbol_database_test.py | 93 self._Database().pool.FindEnumTypeByName( 97 self._Database().pool.FindEnumTypeByName(
|
D | generator_test.py | 334 symbol_database.Default().pool.FindEnumTypeByName( 338 symbol_database.Default().pool.FindEnumTypeByName(
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 274 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg) { in FindEnumTypeByName() function 282 self->pool->FindEnumTypeByName(string(name, name_size)); in FindEnumTypeByName() 373 self->pool->FindEnumTypeByName(enum_descriptor->full_name())) { in AddEnumDescriptor() 490 { "FindEnumTypeByName", (PyCFunction)FindEnumTypeByName, METH_O,
|
D | descriptor_pool.h | 140 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
|
D | descriptor_containers.cc | 1067 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName() 1475 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
|
D | descriptor.cc | 566 _GetDescriptor(self)->FindEnumTypeByName(enum_name); in EnumValueName()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 366 TEST_F(FileDescriptorTest, FindEnumTypeByName) { in TEST_F() argument 367 EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName("FooEnum")); in TEST_F() 368 EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName("BarEnum")); in TEST_F() 370 EXPECT_TRUE(foo_file_->FindEnumTypeByName("BarEnum") == NULL); in TEST_F() 371 EXPECT_TRUE(bar_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F() 372 EXPECT_TRUE(baz_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F() 374 EXPECT_TRUE(foo_file_->FindEnumTypeByName("NoSuchEnum") == NULL); in TEST_F() 375 EXPECT_TRUE(foo_file_->FindEnumTypeByName("FooMessage") == NULL); in TEST_F() 1674 TEST_F(NestedDescriptorTest, FindEnumTypeByName) { in TEST_F() argument 1675 EXPECT_EQ(baz_ , message_ ->FindEnumTypeByName("Baz" )); in TEST_F() [all …]
|
D | descriptor.h | 277 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 1237 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 1415 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
|
D | descriptor.cc | 1244 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::DescriptorPool 1423 Descriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::Descriptor 1487 FileDescriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::FileDescriptor
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 602 return _message.default_pool.FindEnumTypeByName(full_name)
|
D | descriptor_pool.py | 258 def FindEnumTypeByName(self, full_name): member in DescriptorPool
|