Searched refs:RepeatedPtrField (Results 1 - 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Drepeated_field.h35 // RepeatedField and RepeatedPtrField are used by generated protocol message
38 // specifically in the case of Protocol Buffers. RepeatedPtrField is
238 // The methods of this interface correspond to the methods of RepeatedPtrField,
259 // RepeatedPtrField<MessageLite>, but non-lite ExtensionSets need to
428 // RepeatedPtrField is like RepeatedField, but used for repeated strings or
431 class RepeatedPtrField : public internal::RepeatedPtrFieldBase { class in namespace:google::protobuf
433 RepeatedPtrField();
434 RepeatedPtrField(const RepeatedPtrField& other);
436 RepeatedPtrField(Ite
1067 inline RepeatedPtrField<Element>::RepeatedPtrField() {} function in class:google::protobuf::RepeatedPtrField
1070 inline RepeatedPtrField<Element>::RepeatedPtrField( function in class:google::protobuf::RepeatedPtrField
1078 inline RepeatedPtrField<Element>::RepeatedPtrField( function in class:google::protobuf::RepeatedPtrField
[all...]
H A Drepeated_field_unittest.cc426 // RepeatedPtrField tests. These pretty much just mirror the RepeatedField
429 TEST(RepeatedPtrField, Small) {
430 RepeatedPtrField<string> field;
467 TEST(RepeatedPtrField, Large) {
468 RepeatedPtrField<string> field;
485 TEST(RepeatedPtrField, SwapSmallSmall) {
486 RepeatedPtrField<string> field1;
487 RepeatedPtrField<string> field2;
515 TEST(RepeatedPtrField, SwapLargeSmall) {
516 RepeatedPtrField<strin
[all...]
H A Drepeated_field_reflection_unittest.cc96 // Get RepeatedPtrField objects for all fields of interest.
97 const RepeatedPtrField<string>& rpf_string =
99 const RepeatedPtrField<ForeignMessage>& rpf_foreign_message =
102 const RepeatedPtrField<Message>& rpf_message =
106 // Get mutable RepeatedPtrField objects for all fields of interest.
107 RepeatedPtrField<string>* mrpf_string =
109 RepeatedPtrField<ForeignMessage>* mrpf_foreign_message =
112 RepeatedPtrField<Message>* mrpf_message =
H A Dmessage.h147 class RepeatedPtrField; // repeated_field.h
675 const RepeatedPtrField<T>& GetRepeatedPtrField(
681 RepeatedPtrField<T>* MutableRepeatedPtrField(
811 inline const RepeatedPtrField<string>& Reflection::GetRepeatedPtrField<string>(
813 return *static_cast<RepeatedPtrField<string>* >(
818 inline RepeatedPtrField<string>* Reflection::MutableRepeatedPtrField<string>(
820 return static_cast<RepeatedPtrField<string>* >(
828 inline const RepeatedPtrField<Message>& Reflection::GetRepeatedPtrField(
830 return *static_cast<RepeatedPtrField<Message>* >(
837 inline RepeatedPtrField<Messag
[all...]
H A 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<
[all...]
H A Ddynamic_message.cc106 case FD::CPPTYPE_MESSAGE: return sizeof(RepeatedPtrField<Message>);
112 return sizeof(RepeatedPtrField<string>);
343 new(field_ptr) RepeatedPtrField<string>();
353 new(field_ptr) RepeatedPtrField<Message>();
427 reinterpret_cast<RepeatedPtrField<string>*>(field_ptr)
428 ->~RepeatedPtrField<string>();
434 reinterpret_cast<RepeatedPtrField<Message>*>(field_ptr)
435 ->~RepeatedPtrField<Message>();
H A 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>*>(
835 static inline RepeatedPtrField<string>*
838 return reinterpret_cast<RepeatedPtrField<string>*>(
973 typedef RepeatedPtrField<Type> RepeatedFieldType;
986 static inline const RepeatedPtrField<Type>& GetRepeated(int number,
990 // casting hack applies here, because a RepeatedPtrField<MessageLit
[all...]
H A Dextension_set_unittest.cc642 int min_expected_size = sizeof(RepeatedPtrField<string>) + base_size;
658 int min_expected_size = sizeof(RepeatedPtrField<unittest::ForeignMessage>) +
815 RepeatedPtrField< ::std::string>::iterator string_iter;
816 RepeatedPtrField< ::std::string>::iterator string_end;
824 RepeatedPtrField< ::std::string>::const_iterator string_const_iter;
825 RepeatedPtrField< ::std::string>::const_iterator string_const_end;
855 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator
857 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator
866 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::
868 RepeatedPtrField<unittes
[all...]
H A Dgenerated_message_reflection.cc272 total_size += GetRaw<RepeatedPtrField<string> >(message, field)
759 MutableRaw<RepeatedPtrField<string> >(message, field)->Clear();
805 MutableRaw<RepeatedPtrField<string> >(message, field)->RemoveLast();
1649 return GetRaw<RepeatedPtrField<Type> >(message, field).Get(index);
1662 RepeatedPtrField<Type>* repeated =
1663 MutableRaw<RepeatedPtrField<Type> >(message, field);
1676 RepeatedPtrField<Type>* repeated =
1677 MutableRaw<RepeatedPtrField<Type> >(message, field);
H A Dextension_set.cc372 extension->repeated_string_value = new RepeatedPtrField< ::std::string>();
375 extension->repeated_message_value = new RepeatedPtrField<MessageLite>();
507 extension->repeated_string_value = new RepeatedPtrField<string>();
640 new RepeatedPtrField<MessageLite>();
645 // RepeatedPtrField<MessageLite> does not know how to Add() since it cannot
803 HANDLE_TYPE( STRING, string, RepeatedPtrField< string>);
809 new RepeatedPtrField<MessageLite>();
811 // We can't call RepeatedPtrField<MessageLite>::MergeFrom() because
813 RepeatedPtrField<MessageLite>* other_repeated_message =
H A Dextension_set_heavy.cc216 new RepeatedPtrField<MessageLite>();
221 // RepeatedPtrField<Message> does not know how to Add() since it cannot
338 // repeated_message_value is actually a RepeatedPtrField<MessageLite>,
/external/protobuf/src/google/protobuf/compiler/
H A 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,
H A Dcommand_line_interface.h55 template<typename T> class RepeatedPtrField; // repeated_field.h
261 RepeatedPtrField<FileDescriptorProto>* output);
H A 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::CodeGeneratorResponse_File >&
349 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
362 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > file_;
420 inline const ::google::protobuf::RepeatedPtrField<
[all...]
H A Dparser.cc667 RepeatedPtrField<DescriptorProto>* messages,
688 RepeatedPtrField<DescriptorProto>* messages,
1210 bool Parser::ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
1211 RepeatedPtrField<DescriptorProto>* messages,
1682 bool Parser::ParseImport(RepeatedPtrField<string>* dependency,
H A Dcommand_line_interface.cc1473 RepeatedPtrField<FileDescriptorProto>* output) {

Completed in 597 milliseconds