Home
last modified time | relevance | path

Searched refs:RepeatedPtrField (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc429 TEST(RepeatedPtrField, Small) { in TEST() argument
430 RepeatedPtrField<string> field; in TEST()
467 TEST(RepeatedPtrField, Large) { in TEST() argument
468 RepeatedPtrField<string> field; in TEST()
485 TEST(RepeatedPtrField, SwapSmallSmall) { in TEST() argument
486 RepeatedPtrField<string> field1; in TEST()
487 RepeatedPtrField<string> field2; in TEST()
515 TEST(RepeatedPtrField, SwapLargeSmall) { in TEST() argument
516 RepeatedPtrField<string> field1; in TEST()
517 RepeatedPtrField<string> field2; in TEST()
[all …]
Drepeated_field.h431 class RepeatedPtrField : public internal::RepeatedPtrFieldBase {
433 RepeatedPtrField();
434 RepeatedPtrField(const RepeatedPtrField& other);
436 RepeatedPtrField(Iter begin, const Iter& end);
437 ~RepeatedPtrField();
439 RepeatedPtrField& operator=(const RepeatedPtrField& other);
458 void MergeFrom(const RepeatedPtrField& other);
459 void CopyFrom(const RepeatedPtrField& other);
474 void Swap(RepeatedPtrField* other);
1056 class RepeatedPtrField<Element>::TypeHandler
[all …]
Dmessage.h147 class RepeatedPtrField; // repeated_field.h variable
675 const RepeatedPtrField<T>& GetRepeatedPtrField(
681 RepeatedPtrField<T>* MutableRepeatedPtrField(
811 inline const RepeatedPtrField<string>& Reflection::GetRepeatedPtrField<string>( in DECLARE_GET_REPEATED_FIELD()
813 return *static_cast<RepeatedPtrField<string>* >( in DECLARE_GET_REPEATED_FIELD()
818 inline RepeatedPtrField<string>* Reflection::MutableRepeatedPtrField<string>(
820 return static_cast<RepeatedPtrField<string>* >(
828 inline const RepeatedPtrField<Message>& Reflection::GetRepeatedPtrField( in GetRepeatedPtrField()
830 return *static_cast<RepeatedPtrField<Message>* >( in GetRepeatedPtrField()
837 inline RepeatedPtrField<Message>* Reflection::MutableRepeatedPtrField( in MutableRepeatedPtrField()
[all …]
Drepeated_field_reflection_unittest.cc97 const RepeatedPtrField<string>& rpf_string = in TEST()
99 const RepeatedPtrField<ForeignMessage>& rpf_foreign_message = in TEST()
102 const RepeatedPtrField<Message>& rpf_message = in TEST()
107 RepeatedPtrField<string>* mrpf_string = in TEST()
109 RepeatedPtrField<ForeignMessage>* mrpf_foreign_message = in TEST()
112 RepeatedPtrField<Message>* mrpf_message = in TEST()
Ddescriptor.pb.h217 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
219 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
229 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
329 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
330 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
363 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
365 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
375 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
377 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
387 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
[all …]
Ddynamic_message.cc106 case FD::CPPTYPE_MESSAGE: return sizeof(RepeatedPtrField<Message>); in FieldSpaceUsed()
112 return sizeof(RepeatedPtrField<string>); in FieldSpaceUsed()
343 new(field_ptr) RepeatedPtrField<string>(); in DynamicMessage()
353 new(field_ptr) RepeatedPtrField<Message>(); in DynamicMessage()
427 reinterpret_cast<RepeatedPtrField<string>*>(field_ptr) in ~DynamicMessage()
428 ->~RepeatedPtrField<string>(); in ~DynamicMessage()
434 reinterpret_cast<RepeatedPtrField<Message>*>(field_ptr) in ~DynamicMessage()
435 ->~RepeatedPtrField<Message>(); in ~DynamicMessage()
Dextension_set.h470 RepeatedPtrField<string >* repeated_string_value;
471 RepeatedPtrField<MessageLite>* repeated_message_value;
807 typedef RepeatedPtrField<string> RepeatedFieldType;
829 static inline const RepeatedPtrField<string>&
831 return *reinterpret_cast<const RepeatedPtrField<string>*>( in GetRepeated()
835 static inline RepeatedPtrField<string>*
838 return reinterpret_cast<RepeatedPtrField<string>*>( in MutableRepeated()
973 typedef RepeatedPtrField<Type> RepeatedFieldType;
986 static inline const RepeatedPtrField<Type>& GetRepeated(int number, in GetRepeated()
994 return *reinterpret_cast<const RepeatedPtrField<Type>*>( in GetRepeated()
[all …]
Dextension_set_unittest.cc642 int min_expected_size = sizeof(RepeatedPtrField<string>) + base_size; in TEST()
658 int min_expected_size = sizeof(RepeatedPtrField<unittest::ForeignMessage>) + in TEST()
815 RepeatedPtrField< ::std::string>::iterator string_iter; in TEST()
816 RepeatedPtrField< ::std::string>::iterator string_end; in TEST()
824 RepeatedPtrField< ::std::string>::const_iterator string_const_iter; in TEST()
825 RepeatedPtrField< ::std::string>::const_iterator string_const_end; in TEST()
855 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator in TEST()
857 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator in TEST()
866 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>:: in TEST()
868 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>:: in TEST()
Dgenerated_message_reflection.cc272 total_size += GetRaw<RepeatedPtrField<string> >(message, field) in SpaceUsed()
759 MutableRaw<RepeatedPtrField<string> >(message, field)->Clear(); in ClearField()
805 MutableRaw<RepeatedPtrField<string> >(message, field)->RemoveLast(); in RemoveLast()
1649 return GetRaw<RepeatedPtrField<Type> >(message, field).Get(index); in GetRepeatedPtrField()
1662 RepeatedPtrField<Type>* repeated = in MutableRepeatedField()
1663 MutableRaw<RepeatedPtrField<Type> >(message, field); in MutableRepeatedField()
1676 RepeatedPtrField<Type>* repeated = in AddField()
1677 MutableRaw<RepeatedPtrField<Type> >(message, field); in AddField()
Dextension_set.cc372 extension->repeated_string_value = new RepeatedPtrField< ::std::string>(); in MutableRawRepeatedField()
375 extension->repeated_message_value = new RepeatedPtrField<MessageLite>(); in MutableRawRepeatedField()
507 extension->repeated_string_value = new RepeatedPtrField<string>(); in AddString()
640 new RepeatedPtrField<MessageLite>(); in AddMessage()
803 HANDLE_TYPE( STRING, string, RepeatedPtrField< string>); in MergeFrom()
809 new RepeatedPtrField<MessageLite>(); in MergeFrom()
813 RepeatedPtrField<MessageLite>* other_repeated_message = in MergeFrom()
Dextension_set_heavy.cc216 new RepeatedPtrField<MessageLite>(); in AddMessage()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h111 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
112 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
133 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
135 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
147 ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
149 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
347 …inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResp…
349 …inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_F…
362 …::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > f…
420 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
[all …]
Dparser.h300 bool ParseImport(RepeatedPtrField<string>* dependency,
343 RepeatedPtrField<DescriptorProto>* messages,
352 RepeatedPtrField<DescriptorProto>* messages,
365 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
366 RepeatedPtrField<DescriptorProto>* messages,
Dcommand_line_interface.h55 template<typename T> class RepeatedPtrField; // repeated_field.h variable
261 RepeatedPtrField<FileDescriptorProto>* output);
Dparser.cc667 RepeatedPtrField<DescriptorProto>* messages, in ParseMessageField()
688 RepeatedPtrField<DescriptorProto>* messages, in ParseMessageFieldNoLabel()
1210 bool Parser::ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions, in ParseExtend()
1211 RepeatedPtrField<DescriptorProto>* messages, in ParseExtend()
1682 bool Parser::ParseImport(RepeatedPtrField<string>* dependency, in ParseImport()
Dcommand_line_interface.cc1473 RepeatedPtrField<FileDescriptorProto>* output) { in GetTransitiveDependencies()
/external/protobuf/
DCHANGES.txt373 * RepeatedField and RepeatedPtrField now have back-insertion iterators.