Home
last modified time | relevance | path

Searched refs:FindEnumTypeByName (Results 1 – 13 of 13) sorted by relevance

/third_party/protobuf/python/google/protobuf/internal/
Dsymbol_database_test.py96 self._Database().pool.FindEnumTypeByName(
100 self._Database().pool.FindEnumTypeByName(
Ddescriptor_pool_test.py259 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 …]
Dgenerator_test.py345 symbol_database.Default().pool.FindEnumTypeByName(
349 symbol_database.Default().pool.FindEnumTypeByName(
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.h109 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_pool.cc318 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()
Ddescriptor_containers.cc1096 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
1568 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
Ddescriptor.cc624 _GetDescriptor(self)->FindEnumTypeByName(enum_name); in EnumValueName()
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc425 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 …]
Ddescriptor.h374 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const;
1493 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const;
1690 const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const;
Ddescriptor.cc1455 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/
Dtype_resolver_util.cc100 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py659 return _message.default_pool.FindEnumTypeByName(full_name)
Ddescriptor_pool.py514 def FindEnumTypeByName(self, full_name): member in DescriptorPool