Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc843 message->AddExtension(unittest::repeated_int32_extension_lite , 201); in SetAllExtensions()
844 message->AddExtension(unittest::repeated_int64_extension_lite , 202); in SetAllExtensions()
845 message->AddExtension(unittest::repeated_uint32_extension_lite , 203); in SetAllExtensions()
846 message->AddExtension(unittest::repeated_uint64_extension_lite , 204); in SetAllExtensions()
847 message->AddExtension(unittest::repeated_sint32_extension_lite , 205); in SetAllExtensions()
848 message->AddExtension(unittest::repeated_sint64_extension_lite , 206); in SetAllExtensions()
849 message->AddExtension(unittest::repeated_fixed32_extension_lite , 207); in SetAllExtensions()
850 message->AddExtension(unittest::repeated_fixed64_extension_lite , 208); in SetAllExtensions()
851 message->AddExtension(unittest::repeated_sfixed32_extension_lite, 209); in SetAllExtensions()
852 message->AddExtension(unittest::repeated_sfixed64_extension_lite, 210); in SetAllExtensions()
[all …]
Dextension_set_unittest.cc464 destination.AddExtension(unittest::unpacked_int32_extension, 1); in TEST()
465 destination.AddExtension(unittest::unpacked_enum_extension, in TEST()
485 destination.AddExtension(unittest::packed_int32_extension, 1); in TEST()
486 destination.AddExtension(unittest::packed_enum_extension, in TEST()
507 message.AddExtension(unittest::TestRequired::multi); in TEST()
526 message.AddExtension(unittest::repeated_string_extension)->assign("bar"); in TEST()
606 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
610 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
611 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
615 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
[all …]
Dtest_util.cc1019 message->AddExtension(unittest::repeated_int32_extension , 201); in SetAllExtensions()
1020 message->AddExtension(unittest::repeated_int64_extension , 202); in SetAllExtensions()
1021 message->AddExtension(unittest::repeated_uint32_extension , 203); in SetAllExtensions()
1022 message->AddExtension(unittest::repeated_uint64_extension , 204); in SetAllExtensions()
1023 message->AddExtension(unittest::repeated_sint32_extension , 205); in SetAllExtensions()
1024 message->AddExtension(unittest::repeated_sint64_extension , 206); in SetAllExtensions()
1025 message->AddExtension(unittest::repeated_fixed32_extension , 207); in SetAllExtensions()
1026 message->AddExtension(unittest::repeated_fixed64_extension , 208); in SetAllExtensions()
1027 message->AddExtension(unittest::repeated_sfixed32_extension, 209); in SetAllExtensions()
1028 message->AddExtension(unittest::repeated_sfixed64_extension, 210); in SetAllExtensions()
[all …]
Dreflection_ops_unittest.cc139 message2.AddExtension(unittest::repeated_int32_extension, in TEST()
143 message.AddExtension(unittest::repeated_int32_extension, i); in TEST()
394 message.AddExtension(unittest::TestRequired::multi); in TEST()
451 message.AddExtension(unittest::TestRequired::multi); in TEST()
452 message.AddExtension(unittest::TestRequired::multi); in TEST()
Ddescriptor_database.cc76 if (!AddExtension(file.extension(i), value)) return false; in AddFile()
144 if (!AddExtension(message_type.extension(i), value)) return false; in AddNestedExtensions()
150 bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddExtension( in AddExtension() function in google::protobuf::SimpleDescriptorDatabase::DescriptorIndex
Ddescriptor_database.h171 bool AddExtension(const FieldDescriptorProto& field,
Drepeated_field_reflection_unittest.cc169 extended_message.AddExtension( in TEST()
Ddescriptor_unittest.cc106 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension() function
197 AddExtension(&foo_file, "FooMessage", "foo_extension", 1, in SetUp()
208 AddExtension(&bar_file, "bar_package.BarMessage", "bar_extension", 1, in SetUp()
788 AddExtension(&file, "ExtendableMessage", "baz_foo", 11, in SetUp()
791 AddExtension(&file, "ExtendableMessage", "BazBar", 12, in SetUp()
794 AddExtension(&file, "ExtendableMessage", "BazBaz", 13, in SetUp()
797 AddExtension(&file, "ExtendableMessage", "bazFoo", 14, // Conflict in SetUp()
800 AddExtension(&file, "ExtendableMessage", "bazbar", 15, // Conflict in SetUp()
1486 AddExtension(&foo_file, "Foo", "foo_int32", 10, in SetUp()
1489 AddExtension(&foo_file, "Foo", "foo_enum", 19, in SetUp()
[all …]
Dextension_set.h1190 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( \
1199 inline void AddExtension( \
Ddescriptor.cc429 bool AddExtension(const FieldDescriptor* field);
824 bool DescriptorPool::Tables::AddExtension(const FieldDescriptor* field) { in AddExtension() function in google::protobuf::DescriptorPool::Tables
4349 if (!tables_->AddExtension(field)) { in CrossLinkField()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc787 message.AddExtension(ExtensionMessage::repeated_int32_ext, 123); in TEST()