Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc944 void GeneratedMessageReflection::AddEnum( in AddEnum() function in google::protobuf::internal::GeneratedMessageReflection
947 USAGE_CHECK_ALL(AddEnum, REPEATED, ENUM); in AddEnum()
948 USAGE_CHECK_ENUM_VALUE(AddEnum); in AddEnum()
951 MutableExtensionSet(message)->AddEnum(field->number(), field->type(), in AddEnum()
Ddescriptor_unittest.cc72 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { in AddEnum() function
162 AddEnumValue(AddEnum(file, name), name + "_DUMMY", 1); in AddEmptyEnum()
193 AddEnumValue(AddEnum(&foo_file, "FooEnum"), "FOO_ENUM_VALUE", 1); in SetUp()
204 AddEnumValue(AddEnum(&bar_file, "BarEnum"), "BAR_ENUM_VALUE", 1); in SetUp()
856 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp()
865 EnumDescriptorProto* enum2_proto = AddEnum(&bar_file, "TestEnum2"); in SetUp()
1584 EnumDescriptorProto* enum_type_proto = AddEnum(&file_proto, "DummyEnum"); in TEST_F()
Dextension_set.h288 void AddEnum (int number, FieldType type, bool packed, int value, desc);
695 set->AddEnum(number, field_type, is_packed, value, NULL); in Add()
Dmessage.h619 virtual void AddEnum (Message* message,
Dgenerated_message_reflection.h264 void AddEnum(Message* message,
Dwire_format.cc491 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
552 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
Dextension_set.cc326 void ExtensionSet::AddEnum(int number, FieldType type, in AddEnum() function in google::protobuf::internal::ExtensionSet
766 AddEnum(number, WireFormatLite::TYPE_ENUM, true, value, in ParseField()
823 AddEnum(number, WireFormatLite::TYPE_ENUM, false, value, in ParseField()
Dtest_util.cc2159 reflection->AddEnum(message, F("repeated_nested_enum" ), nested_bar_); in SetAllFieldsViaReflection()
2160 reflection->AddEnum(message, F("repeated_foreign_enum"), foreign_bar_); in SetAllFieldsViaReflection()
2161 reflection->AddEnum(message, F("repeated_import_enum" ), import_bar_); in SetAllFieldsViaReflection()
2192 reflection->AddEnum(message, F("repeated_nested_enum" ), nested_baz_); in SetAllFieldsViaReflection()
2193 reflection->AddEnum(message, F("repeated_foreign_enum"), foreign_baz_); in SetAllFieldsViaReflection()
2194 reflection->AddEnum(message, F("repeated_import_enum" ), import_baz_); in SetAllFieldsViaReflection()
2241 reflection->AddEnum (message, F("packed_enum" ), foreign_bar_); in SetPackedFieldsViaReflection()
2256 reflection->AddEnum (message, F("packed_enum" ), foreign_baz_); in SetPackedFieldsViaReflection()