Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc882 const EnumValueDescriptor* GeneratedMessageReflection::GetEnum( in GetEnum() function in google::protobuf::internal::GeneratedMessageReflection
884 USAGE_CHECK_ALL(GetEnum, SINGULAR, ENUM); in GetEnum()
888 value = GetExtensionSet(message).GetEnum( in GetEnum()
Dtest_util.cc2341 EXPECT_EQ( nested_baz_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectAllFieldsSetViaReflection1()
2342 EXPECT_EQ(foreign_baz_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectAllFieldsSetViaReflection1()
2343 EXPECT_EQ( import_baz_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectAllFieldsSetViaReflection1()
2519 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectAllFieldsSetViaReflection3()
2520 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("default_foreign_enum"))); in ExpectAllFieldsSetViaReflection3()
2521 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("default_import_enum" ))); in ExpectAllFieldsSetViaReflection3()
2655 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectClearViaReflection()
2656 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectClearViaReflection()
2657 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectClearViaReflection()
2737 EXPECT_EQ( nested_bar_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectClearViaReflection()
[all …]
Dextension_set.h228 int GetEnum (int number, int default_value) const;
670 return static_cast<Type>(set.GetEnum(number, default_value)); in Get()
Dgenerated_message_reflection.h169 const EnumValueDescriptor* GetEnum(const Message& message,
Dmessage.h458 virtual const EnumValueDescriptor* GetEnum(
Dwire_format.cc820 message_reflection->GetEnum(message, field); in SerializeFieldWithCachedSizes()
1002 message_reflection->GetEnum(message, field)->number()); in FieldDataOnlyByteSize()
Dtext_format.cc1085 reflection->GetEnum(message, field)->name()); in PrintFieldValue()
Dextension_set.cc287 int ExtensionSet::GetEnum(int number, int default_value) const { in PRIMITIVE_ACCESSORS()