Searched refs:FindValueByName (Results 1 - 12 of 12) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumDescriptor.cs111 public EnumValueDescriptor FindValueByName(string name) method in class:Google.Protobuf.Reflection.EnumDescriptor
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs194 EnumValueDescriptor value = enumType.FindValueByName("FOREIGN_FOO");
200 Assert.Null(enumType.FindValueByName("NO_SUCH_VALUE"));
/external/protobuf/src/google/protobuf/
H A Dpreserve_unknown_enum_test.cc254 repeated_field->enum_type()->FindValueByName("BAR");
H A Ddescriptor_unittest.cc1195 // TestEnum2 is primarily here to test FindValueByName and friends.
1274 TEST_F(EnumDescriptorTest, FindValueByName) {
1275 EXPECT_EQ(foo_ , enum_ ->FindValueByName("FOO"));
1276 EXPECT_EQ(bar_ , enum_ ->FindValueByName("BAR"));
1277 EXPECT_EQ(foo2_, enum2_->FindValueByName("FOO"));
1278 EXPECT_EQ(baz2_, enum2_->FindValueByName("BAZ"));
1280 EXPECT_TRUE(enum_ ->FindValueByName("NO_SUCH_VALUE") == NULL);
1281 EXPECT_TRUE(enum_ ->FindValueByName("BAZ" ) == NULL);
1282 EXPECT_TRUE(enum2_->FindValueByName("BAR" ) == NULL);
3135 const EnumValueDescriptor* enumv = enumd->FindValueByName("VALU
[all...]
H A Ddescriptor.h823 const EnumValueDescriptor* FindValueByName(const string& name) const;
916 // for its type, then use EnumDescriptor::FindValueByName() or
H A Dtext_format.cc712 enum_value = enum_type->FindValueByName(value);
H A Dgenerated_message_reflection.cc64 const EnumValueDescriptor* d = descriptor->FindValueByName(name);
H A Ddescriptor.cc1445 EnumDescriptor::FindValueByName(const string& key) const { function in class:google::protobuf::EnumDescriptor
4925 // We can't just use field->enum_type()->FindValueByName() here
6020 enum_value = enum_type->FindValueByName(value_name);
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_containers.cc1307 return GetDescriptor(self)->FindValueByName(name);
H A Dmessage.cc938 enum_descriptor->FindValueByName(string(enum_label, size));
/external/protobuf/php/ext/google/protobuf/
H A Dupb.h2205 bool FindValueByName(const char* name, int32_t* num) const;
2884 inline bool EnumDef::FindValueByName(const char* name, int32_t *num) const { function in class:upb::EnumDef
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h2693 bool FindValueByName(const char* name, int32_t* num) const;
3512 inline bool EnumDef::FindValueByName(const char* name, int32_t *num) const { function in class:upb::EnumDef

Completed in 327 milliseconds