Searched refs:FindValueByName (Results 1 – 12 of 12) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | EnumDescriptor.cs | 111 public EnumValueDescriptor FindValueByName(string name) in FindValueByName() method in Google.Protobuf.Reflection.EnumDescriptor
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 194 EnumValueDescriptor value = enumType.FindValueByName("FOREIGN_FOO"); in EnumDescriptor() 200 Assert.Null(enumType.FindValueByName("NO_SUCH_VALUE")); in EnumDescriptor()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 254 repeated_field->enum_type()->FindValueByName("BAR"); in TEST()
|
D | descriptor_unittest.cc | 1273 TEST_F(EnumDescriptorTest, FindValueByName) { in TEST_F() argument 1274 EXPECT_EQ(foo_ , enum_ ->FindValueByName("FOO")); in TEST_F() 1275 EXPECT_EQ(bar_ , enum_ ->FindValueByName("BAR")); in TEST_F() 1276 EXPECT_EQ(foo2_, enum2_->FindValueByName("FOO")); in TEST_F() 1277 EXPECT_EQ(baz2_, enum2_->FindValueByName("BAZ")); in TEST_F() 1279 EXPECT_TRUE(enum_ ->FindValueByName("NO_SUCH_VALUE") == NULL); in TEST_F() 1280 EXPECT_TRUE(enum_ ->FindValueByName("BAZ" ) == NULL); in TEST_F() 1281 EXPECT_TRUE(enum2_->FindValueByName("BAR" ) == NULL); in TEST_F() 3137 const EnumValueDescriptor* enumv = enumd->FindValueByName("VALUE"); in TEST() 6206 EXPECT_TRUE(test_enum->FindValueByName("NO_SUCH_VALUE") == NULL); in TEST_F() [all …]
|
D | descriptor.h | 829 const EnumValueDescriptor* FindValueByName(const string& name) const;
|
D | text_format.cc | 714 enum_value = enum_type->FindValueByName(value); in ConsumeFieldValue()
|
D | generated_message_reflection.cc | 64 const EnumValueDescriptor* d = descriptor->FindValueByName(name); in ParseNamedEnum()
|
D | descriptor.cc | 1445 EnumDescriptor::FindValueByName(const string& key) const { in FindValueByName() function in google::protobuf::EnumDescriptor 6039 enum_value = enum_type->FindValueByName(value_name); in SetOptionValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 1331 return GetDescriptor(self)->FindValueByName(name); in GetByName()
|
D | message.cc | 938 enum_descriptor->FindValueByName(string(enum_label, size)); in CheckAndGetInteger()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/ |
D | upb.h | 2205 bool FindValueByName(const char* name, int32_t* num) const; 2884 inline bool EnumDef::FindValueByName(const char* name, int32_t *num) const { in FindValueByName() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | upb.h | 2693 bool FindValueByName(const char* name, int32_t* num) const; 3512 inline bool EnumDef::FindValueByName(const char* name, int32_t *num) const {
|