Searched refs:GetEnum (Results 1 – 11 of 11) sorted by relevance
196 const google::protobuf::EnumValueDescriptor* enum_value = r->GetEnum(message, field); in TEST()202 r->GetEnum(message, field); in TEST()218 EXPECT_EQ(enum_value, r->GetEnum(*m, field)); in TEST()239 const google::protobuf::EnumValueDescriptor* enum_value = r->GetEnum(message, in TEST()265 r->GetEnum(message, singular_field)->number(); in TEST()
193 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST_F()224 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST_F()
2712 EXPECT_EQ( nested_baz_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectAllFieldsSetViaReflection1()2713 EXPECT_EQ(foreign_baz_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectAllFieldsSetViaReflection1()2714 EXPECT_EQ( import_baz_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectAllFieldsSetViaReflection1()2910 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectAllFieldsSetViaReflection3()2911 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("default_foreign_enum"))); in ExpectAllFieldsSetViaReflection3()2912 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("default_import_enum" ))); in ExpectAllFieldsSetViaReflection3()3054 EXPECT_EQ( nested_foo_, reflection->GetEnum(message, F("optional_nested_enum" ))); in ExpectClearViaReflection()3055 EXPECT_EQ(foreign_foo_, reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectClearViaReflection()3056 EXPECT_EQ( import_foo_, reflection->GetEnum(message, F("optional_import_enum" ))); in ExpectClearViaReflection()3137 EXPECT_EQ( nested_bar_, reflection->GetEnum(message, F("default_nested_enum" ))); in ExpectClearViaReflection()[all …]
632 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST()653 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST()
236 int GetEnum (int number, int default_value) const;915 return static_cast<Type>(set.GetEnum(number, default_value)); in Get()
898 message_reflection->GetEnum(message, field); in SerializeFieldWithCachedSizes()1088 message_reflection->GetEnum(message, field)->number()); in FieldDataOnlyByteSize()
254 const EnumValueDescriptor* GetEnum(const Message& message,
513 virtual const EnumValueDescriptor* GetEnum(
1290 const EnumValueDescriptor* GeneratedMessageReflection::GetEnum( in GetEnum() function in google::protobuf::internal::GeneratedMessageReflection1303 value = GetExtensionSet(message).GetEnum( in GetEnumValue()
1275 const EnumValueDescriptor* val = sub_message->GetReflection()->GetEnum( in ExpectMapFieldsSetViaReflection()1793 ->GetEnum(*sub_message, value_descriptor) in ExpectMapEntryClearViaReflection()
2292 message->GetReflection()->GetEnum(*message, field_descriptor); in CheckAndGetInteger()