Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc256 r->AddEnum(&message, repeated_field, enum_value); in TEST()
Dgenerated_message_reflection.cc1413 void GeneratedMessageReflection::AddEnum( in AddEnum() function in google::protobuf::internal::GeneratedMessageReflection
1417 USAGE_CHECK_ENUM_VALUE(AddEnum); in AddEnum()
1424 USAGE_CHECK_ALL(AddEnum, REPEATED, ENUM); in AddEnumValue()
1445 MutableExtensionSet(message)->AddEnum(field->number(), field->type(), in AddEnumValueInternal()
Dextension_set.h328 void AddEnum (int number, FieldType type, bool packed, int value, desc);
923 set->AddEnum(number, field_type, is_packed, value, NULL); in Add()
Dwire_format.cc543 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
621 message_reflection->AddEnum(message, field, enum_value); in ParseAndMergeField()
Ddescriptor_unittest.cc81 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { in AddEnum() function
179 AddEnumValue(AddEnum(file, name), name + "_DUMMY", 1); in AddEmptyEnum()
265 AddEnumValue(AddEnum(&foo_file, "FooEnum"), "FOO_ENUM_VALUE", 1); in SetUp()
276 AddEnumValue(AddEnum(&bar_file, "BarEnum"), "BAR_ENUM_VALUE", 1); in SetUp()
1203 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp()
1212 EnumDescriptorProto* enum2_proto = AddEnum(&bar_file, "TestEnum2"); in SetUp()
2215 EnumDescriptorProto* enum_type_proto = AddEnum(&file_proto, "DummyEnum"); in TEST_F()
Dextension_set.cc461 void ExtensionSet::AddEnum(int number, FieldType type, in AddEnum() function in google::protobuf::internal::ExtensionSet
1207 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, in ParseFieldWithExtensionInfo()
1268 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, value, in ParseFieldWithExtensionInfo()
Dgenerated_message_reflection.h387 void AddEnum(Message* message,
Dmessage.h723 virtual void AddEnum (Message* message,
Dtest_util.cc2455 reflection->AddEnum(message, F("repeated_nested_enum" ), nested_bar_); in SetAllFieldsViaReflection()
2456 reflection->AddEnum(message, F("repeated_foreign_enum"), foreign_bar_); in SetAllFieldsViaReflection()
2457 reflection->AddEnum(message, F("repeated_import_enum" ), import_bar_); in SetAllFieldsViaReflection()
2490 reflection->AddEnum(message, F("repeated_nested_enum" ), nested_baz_); in SetAllFieldsViaReflection()
2491 reflection->AddEnum(message, F("repeated_foreign_enum"), foreign_baz_); in SetAllFieldsViaReflection()
2492 reflection->AddEnum(message, F("repeated_import_enum" ), import_baz_); in SetAllFieldsViaReflection()
2602 reflection->AddEnum (message, F("packed_enum" ), foreign_bar_); in SetPackedFieldsViaReflection()
2617 reflection->AddEnum (message, F("packed_enum" ), foreign_baz_); in SetPackedFieldsViaReflection()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc412 reflection->AddEnum(message, field_descriptor, enum_value); in Append()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h2978 bool AddEnum(EnumDef* e, Status* s);
3660 inline bool FileDef::AddEnum(EnumDef* e, Status* s) {