Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py199 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'),
Dsymbol_database_test.py93 self._Database().pool.FindEnumTypeByName(
97 self._Database().pool.FindEnumTypeByName(
Dgenerator_test.py334 symbol_database.Default().pool.FindEnumTypeByName(
338 symbol_database.Default().pool.FindEnumTypeByName(
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc274 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,
Ddescriptor_pool.h140 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_containers.cc1067 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
1475 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
Ddescriptor.cc566 _GetDescriptor(self)->FindEnumTypeByName(enum_name); in EnumValueName()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc366 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 …]
Ddescriptor.h277 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
1237 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
1415 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
Ddescriptor.cc1244 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/
Dtype_resolver_util.cc107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
/external/protobuf/python/google/protobuf/
Ddescriptor.py602 return _message.default_pool.FindEnumTypeByName(full_name)
Ddescriptor_pool.py258 def FindEnumTypeByName(self, full_name): member in DescriptorPool