Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc174 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST_F()
205 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST_F()
Dgenerated_message_reflection_unittest.cc575 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST()
596 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST()
Dtest_util.cc2711 EXPECT_EQ( nested_baz_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectAllFieldsSetViaReflection1()
2712 EXPECT_EQ(foreign_baz_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectAllFieldsSetViaReflection1()
2713 EXPECT_EQ( import_baz_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectAllFieldsSetViaReflection1()
2909 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectAllFieldsSetViaReflection3()
2910 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("default_foreign_enum"))); in ExpectAllFieldsSetViaReflection3()
2911 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("default_import_enum" ))); in ExpectAllFieldsSetViaReflection3()
3053 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectClearViaReflection()
3054 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectClearViaReflection()
3055 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectClearViaReflection()
3136 EXPECT_EQ( nested_bar_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectClearViaReflection()
[all …]
Dgenerated_message_reflection.cc1128 const EnumValueDescriptor* GeneratedMessageReflection::GetEnum( in GetEnum() function in google::protobuf::internal::GeneratedMessageReflection
1130 USAGE_CHECK_ALL(GetEnum, SINGULAR, ENUM); in GetEnum()
1134 value = GetExtensionSet(message).GetEnum( in GetEnum()
Dgenerated_message_reflection.h218 const EnumValueDescriptor* GetEnum(const Message& message,
Dwire_format.cc845 message_reflection->GetEnum(message, field); in SerializeFieldWithCachedSizes()
1028 message_reflection->GetEnum(message, field)->number()); in FieldDataOnlyByteSize()
Dmessage.h465 virtual const EnumValueDescriptor* GetEnum(
Dextension_set.h232 int GetEnum (int number, int default_value) const;
867 return static_cast<Type>(set.GetEnum(number, default_value)); in Get()
Dtext_format.cc1588 : reflection->GetEnum(message, field); in PrintFieldValue()
Dextension_set.cc399 int ExtensionSet::GetEnum(int number, int default_value) const { in GetEnum() function in google::protobuf::internal::ExtensionSet
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1690 message->GetReflection()->GetEnum(*message, field_descriptor); in CheckAndGetInteger()