Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dpreserve_unknown_enum_test.cc196 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()
Ddynamic_message_unittest.cc193 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST_F()
224 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST_F()
Dtest_util.cc2712 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 …]
Dgenerated_message_reflection_unittest.cc632 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST()
653 EXPECT_EQ(unittest::TestOneof2::BAR, reflection->GetEnum( in TEST()
Dwire_format.cc898 message_reflection->GetEnum(message, field); in SerializeFieldWithCachedSizes()
1088 message_reflection->GetEnum(message, field)->number()); in FieldDataOnlyByteSize()
Dextension_set.h236 int GetEnum (int number, int default_value) const;
915 return static_cast<Type>(set.GetEnum(number, default_value)); in Get()
Dmessage.h513 virtual const EnumValueDescriptor* GetEnum(
Dgenerated_message_reflection.h254 const EnumValueDescriptor* GetEnum(const Message& message,
Dgenerated_message_reflection.cc1290 const EnumValueDescriptor* GeneratedMessageReflection::GetEnum( in GetEnum() function in google::protobuf::internal::GeneratedMessageReflection
1303 value = GetExtensionSet(message).GetEnum( in GetEnumValue()
Dmap_test_util.cc1275 const EnumValueDescriptor* val = sub_message->GetReflection()->GetEnum( in ExpectMapFieldsSetViaReflection()
1793 ->GetEnum(*sub_message, value_descriptor) in ExpectMapEntryClearViaReflection()
Dextension_set.cc423 int ExtensionSet::GetEnum(int number, int default_value) const { in GetEnum() function in google::protobuf::internal::ExtensionSet
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc2292 message->GetReflection()->GetEnum(*message, field_descriptor); in CheckAndGetInteger()