Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dsymbol_database_test.py95 self._Database().pool.FindEnumTypeByName(
99 self._Database().pool.FindEnumTypeByName(
Ddescriptor_pool_test.py200 enum1 = self.pool.FindEnumTypeByName(
206 nested_enum1 = self.pool.FindEnumTypeByName(
214 enum2 = self.pool.FindEnumTypeByName(
220 nested_enum2 = self.pool.FindEnumTypeByName(
230 self.pool.FindEnumTypeByName('Does not exist')
563 pool.FindEnumTypeByName(
568 pool.FindEnumTypeByName(
574 pool.FindEnumTypeByName(
674 pool.FindEnumTypeByName('protobuf_unittest.ForeignEnum'),
Dgenerator_test.py334 symbol_database.Default().pool.FindEnumTypeByName(
338 symbol_database.Default().pool.FindEnumTypeByName(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
407 self->pool->FindEnumTypeByName(enum_descriptor->full_name())) { in AddEnumDescriptor()
524 { "FindEnumTypeByName", (PyCFunction)FindEnumTypeByName, METH_O,
Ddescriptor_pool.h140 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_containers.cc1091 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
1561 return GetDescriptor(self)->FindEnumTypeByName(name); in GetByName()
Ddescriptor.cc571 _GetDescriptor(self)->FindEnumTypeByName(enum_name); in EnumValueName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_unittest.cc365 TEST_F(FileDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
366 EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName("FooEnum")); in TEST_F()
367 EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName("BarEnum")); in TEST_F()
369 EXPECT_TRUE(foo_file_->FindEnumTypeByName("BarEnum") == NULL); in TEST_F()
370 EXPECT_TRUE(bar_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
371 EXPECT_TRUE(baz_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
373 EXPECT_TRUE(foo_file_->FindEnumTypeByName("NoSuchEnum") == NULL); in TEST_F()
374 EXPECT_TRUE(foo_file_->FindEnumTypeByName("FooMessage") == NULL); in TEST_F()
1673 TEST_F(NestedDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
1674 EXPECT_EQ(baz_ , message_ ->FindEnumTypeByName("Baz" )); in TEST_F()
[all …]
Ddescriptor.h277 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
1243 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
1421 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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util.cc107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor.py602 return _message.default_pool.FindEnumTypeByName(full_name)
Ddescriptor_pool.py258 def FindEnumTypeByName(self, full_name): member in DescriptorPool