Searched refs:FindValueByName (Results 1 - 12 of 12) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | EnumDescriptor.cs | 111 public EnumValueDescriptor FindValueByName(string name) method in class:Google.Protobuf.Reflection.EnumDescriptor
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
H A D | DescriptorsTest.cs | 194 EnumValueDescriptor value = enumType.FindValueByName("FOREIGN_FOO"); 200 Assert.Null(enumType.FindValueByName("NO_SUCH_VALUE"));
|
/external/protobuf/src/google/protobuf/ |
H A D | preserve_unknown_enum_test.cc | 254 repeated_field->enum_type()->FindValueByName("BAR");
|
H A D | descriptor_unittest.cc | 1195 // 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 D | descriptor.h | 823 const EnumValueDescriptor* FindValueByName(const string& name) const; 916 // for its type, then use EnumDescriptor::FindValueByName() or
|
H A D | text_format.cc | 712 enum_value = enum_type->FindValueByName(value);
|
H A D | generated_message_reflection.cc | 64 const EnumValueDescriptor* d = descriptor->FindValueByName(name);
|
H A D | descriptor.cc | 1445 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 D | descriptor_containers.cc | 1307 return GetDescriptor(self)->FindValueByName(name);
|
H A D | message.cc | 938 enum_descriptor->FindValueByName(string(enum_label, size));
|
/external/protobuf/php/ext/google/protobuf/ |
H A 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 { function in class:upb::EnumDef
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
H A 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 { function in class:upb::EnumDef
|
Completed in 327 milliseconds