Home
last modified time | relevance | path

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

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py177 enum1 = self.pool.FindEnumTypeByName(
183 nested_enum1 = self.pool.FindEnumTypeByName(
191 enum2 = self.pool.FindEnumTypeByName(
197 nested_enum2 = self.pool.FindEnumTypeByName(
207 self.pool.FindEnumTypeByName('Does not exist')
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc294 TEST_F(FileDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
295 EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName("FooEnum")); in TEST_F()
296 EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName("BarEnum")); in TEST_F()
298 EXPECT_TRUE(foo_file_->FindEnumTypeByName("BarEnum") == NULL); in TEST_F()
299 EXPECT_TRUE(bar_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
300 EXPECT_TRUE(baz_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
302 EXPECT_TRUE(foo_file_->FindEnumTypeByName("NoSuchEnum") == NULL); in TEST_F()
303 EXPECT_TRUE(foo_file_->FindEnumTypeByName("FooMessage") == NULL); in TEST_F()
1327 TEST_F(NestedDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
1328 EXPECT_EQ(baz_ , message_ ->FindEnumTypeByName("Baz" )); in TEST_F()
[all …]
Ddescriptor.h195 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
853 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
986 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
Ddescriptor.cc930 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::DescriptorPool
1094 Descriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::Descriptor
1153 FileDescriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::FileDescriptor
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc296 TEST_F(FileDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
297 EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName("FooEnum")); in TEST_F()
298 EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName("BarEnum")); in TEST_F()
300 EXPECT_TRUE(foo_file_->FindEnumTypeByName("BarEnum") == NULL); in TEST_F()
301 EXPECT_TRUE(bar_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
302 EXPECT_TRUE(baz_file_->FindEnumTypeByName("FooEnum") == NULL); in TEST_F()
304 EXPECT_TRUE(foo_file_->FindEnumTypeByName("NoSuchEnum") == NULL); in TEST_F()
305 EXPECT_TRUE(foo_file_->FindEnumTypeByName("FooMessage") == NULL); in TEST_F()
1329 TEST_F(NestedDescriptorTest, FindEnumTypeByName) { in TEST_F() argument
1330 EXPECT_EQ(baz_ , message_ ->FindEnumTypeByName("Baz" )); in TEST_F()
[all …]
Ddescriptor.h214 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
960 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
1116 const EnumDescriptor* FindEnumTypeByName(const string& name) const;
Ddescriptor.cc1022 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() function in google::protobuf::DescriptorPool
1185 Descriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::Descriptor
1244 FileDescriptor::FindEnumTypeByName(const string& key) const { in FindEnumTypeByName() function in google::protobuf::FileDescriptor
/external/chromium_org/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py155 def FindEnumTypeByName(self, full_name): member in DescriptorPool
493 enum_desc = self.FindEnumTypeByName(enum_name)