Home
last modified time | relevance | path

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/
DEnumDescriptor.cs111 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/
DDescriptorsTest.cs194 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/
Dpreserve_unknown_enum_test.cc254 repeated_field->enum_type()->FindValueByName("BAR"); in TEST()
Ddescriptor_unittest.cc1273 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 …]
Ddescriptor.h829 const EnumValueDescriptor* FindValueByName(const string& name) const;
Dtext_format.cc714 enum_value = enum_type->FindValueByName(value); in ConsumeFieldValue()
Dgenerated_message_reflection.cc64 const EnumValueDescriptor* d = descriptor->FindValueByName(name); in ParseNamedEnum()
Ddescriptor.cc1445 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/
Ddescriptor_containers.cc1331 return GetDescriptor(self)->FindValueByName(name); in GetByName()
Dmessage.cc938 enum_descriptor->FindValueByName(string(enum_label, size)); in CheckAndGetInteger()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h2205 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/
Dupb.h2693 bool FindValueByName(const char* name, int32_t* num) const;
3512 inline bool EnumDef::FindValueByName(const char* name, int32_t *num) const {