Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc486 TEST(RepeatedPtrField, Small) { in TEST() argument
487 RepeatedPtrField<string> field; in TEST()
524 TEST(RepeatedPtrField, Large) { in TEST() argument
525 RepeatedPtrField<string> field; in TEST()
542 TEST(RepeatedPtrField, SwapSmallSmall) { in TEST() argument
543 RepeatedPtrField<string> field1; in TEST()
544 RepeatedPtrField<string> field2; in TEST()
572 TEST(RepeatedPtrField, SwapLargeSmall) { in TEST() argument
573 RepeatedPtrField<string> field1; in TEST()
574 RepeatedPtrField<string> field2; in TEST()
[all …]
Drepeated_field.h728 class RepeatedPtrField : public internal::RepeatedPtrFieldBase {
730 RepeatedPtrField();
731 explicit RepeatedPtrField(::google::protobuf::Arena* arena);
733 RepeatedPtrField(const RepeatedPtrField& other);
735 RepeatedPtrField(Iter begin, const Iter& end);
736 ~RepeatedPtrField();
738 RepeatedPtrField& operator=(const RepeatedPtrField& other);
757 void MergeFrom(const RepeatedPtrField& other);
758 void CopyFrom(const RepeatedPtrField& other);
774 void Swap(RepeatedPtrField* other);
[all …]
Dmessage.h161 class RepeatedPtrField; // repeated_field.h variable
814 const RepeatedPtrField<T>& GetRepeatedPtrField(
822 RepeatedPtrField<T>* MutableRepeatedPtrField(
1098 inline const RepeatedPtrField<string>& Reflection::GetRepeatedPtrField<string>( in DECLARE_GET_REPEATED_FIELD()
1100 return *static_cast<RepeatedPtrField<string>* >( in DECLARE_GET_REPEATED_FIELD()
1105 inline RepeatedPtrField<string>* Reflection::MutableRepeatedPtrField<string>(
1107 return static_cast<RepeatedPtrField<string>* >(
1115 inline const RepeatedPtrField<Message>& Reflection::GetRepeatedPtrField( in GetRepeatedPtrField()
1117 return *static_cast<const RepeatedPtrField<Message>* >( in GetRepeatedPtrField()
1123 inline RepeatedPtrField<Message>* Reflection::MutableRepeatedPtrField( in MutableRepeatedPtrField()
[all …]
Dtype.pb.h207 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
209 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
225 const ::google::protobuf::RepeatedPtrField< ::std::string>& oneofs() const;
226 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_oneofs();
235 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
237 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
261 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
262 ::google::protobuf::RepeatedPtrField< ::std::string> oneofs_;
263 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
481 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
[all …]
Ddescriptor.pb.h254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
376 const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
377 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
410 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
412 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
422 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
424 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
434 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
[all …]
Dapi.pb.h122 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
124 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
134 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
136 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
166 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
168 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
183 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
184 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
187 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
307 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
[all …]
Dfield_mask.pb.h113 const ::google::protobuf::RepeatedPtrField< ::std::string>& paths() const;
114 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_paths();
121 ::google::protobuf::RepeatedPtrField< ::std::string> paths_;
182 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
187 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
Dmap_field_test.cc71 RepeatedPtrField<Message>* InternalRepeatedField() { in InternalRepeatedField()
142 const RepeatedPtrField<Message>& repeated = in TEST_F()
143 reinterpret_cast<const RepeatedPtrField<Message>&>( in TEST_F()
155 RepeatedPtrField<Message>* repeated = in TEST_F()
156 reinterpret_cast<RepeatedPtrField<Message>*>( in TEST_F()
275 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect()
Ddynamic_message.cc127 return sizeof(RepeatedPtrField<Message>); in FieldSpaceUsed()
134 return sizeof(RepeatedPtrField<string>); in FieldSpaceUsed()
397 new(field_ptr) RepeatedPtrField<string>(); in SharedCtor()
411 new (field_ptr) RepeatedPtrField<Message>(); in SharedCtor()
494 reinterpret_cast<RepeatedPtrField<string>*>(field_ptr) in ~DynamicMessage()
495 ->~RepeatedPtrField<string>(); in ~DynamicMessage()
504 reinterpret_cast<RepeatedPtrField<Message>*>(field_ptr) in ~DynamicMessage()
505 ->~RepeatedPtrField<Message>(); in ~DynamicMessage()
Dextension_set.h486 RepeatedPtrField<string >* repeated_string_value;
487 RepeatedPtrField<MessageLite>* repeated_message_value;
832 typedef RepeatedPtrField<string> RepeatedFieldType;
854 static inline const RepeatedPtrField<string>&
856 return *reinterpret_cast<const RepeatedPtrField<string>*>( in GetRepeated()
860 static inline RepeatedPtrField<string>*
863 return reinterpret_cast<RepeatedPtrField<string>*>( in MutableRepeated()
1000 typedef RepeatedPtrField<Type> RepeatedFieldType;
1013 static inline const RepeatedPtrField<Type>& GetRepeated(int number, in GetRepeated()
1021 return *reinterpret_cast<const RepeatedPtrField<Type>*>( in GetRepeated()
[all …]
Dmap_field_inl.h397 MapFieldBase::repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMapNoLock()
400 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
405 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock()
406 reinterpret_cast<RepeatedPtrField<EntryType>*>( in SyncRepeatedFieldWithMapNoLock()
431 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock()
432 reinterpret_cast<RepeatedPtrField<EntryType>*>( in SyncMapWithRepeatedFieldNoLock()
436 for (typename RepeatedPtrField<EntryType>::iterator it = in SyncMapWithRepeatedFieldNoLock()
Dextension_set_unittest.cc754 int min_expected_size = sizeof(RepeatedPtrField<string>) + base_size; in TEST()
770 int min_expected_size = sizeof(RepeatedPtrField<unittest::ForeignMessage>) + in TEST()
927 RepeatedPtrField< ::std::string>::iterator string_iter; in TEST()
928 RepeatedPtrField< ::std::string>::iterator string_end; in TEST()
936 RepeatedPtrField< ::std::string>::const_iterator string_const_iter; in TEST()
937 RepeatedPtrField< ::std::string>::const_iterator string_const_end; in TEST()
967 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator in TEST()
969 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator in TEST()
978 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>:: in TEST()
980 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>:: in TEST()
Dstruct.pb.h386 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >*
388 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >&
396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value > values_;
731 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >*
736 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >&
Dmap_field.cc127 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
270 MapFieldBase::repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMapNoLock()
273 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
363 for (RepeatedPtrField<Message>::iterator it = in SyncMapWithRepeatedFieldNoLock()
Dreflection_internal.h176 typedef RepeatedPtrField<T> RepeatedFieldType;
245 typedef RepeatedPtrField<Message> RepeatedFieldType;
318 RepeatedPtrField<string> tmp; in Swap()
Drepeated_field_reflection_unittest.cc98 const RepeatedPtrField<string>& rpf_string = in TEST()
100 const RepeatedPtrField<ForeignMessage>& rpf_foreign_message = in TEST()
103 const RepeatedPtrField<Message>& rpf_message = in TEST()
108 RepeatedPtrField<string>* mrpf_string = in TEST()
110 RepeatedPtrField<ForeignMessage>* mrpf_foreign_message = in TEST()
113 RepeatedPtrField<Message>* mrpf_message = in TEST()
Darena_unittest.cc661 RepeatedPtrField<TestAllTypes> repeated_field; in TEST()
671 RepeatedPtrField<TestAllTypes> repeated_field; in TEST()
931 RepeatedPtrField<TestAllTypes> field1(arena1); in TestSwapRepeatedField()
932 RepeatedPtrField<TestAllTypes> field2(arena2); in TestSwapRepeatedField()
1016 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST()
1040 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST()
1061 RepeatedPtrField<TestAllTypes>* repeated_ptr_on_arena = in TEST()
1062 Arena::CreateMessage< RepeatedPtrField<TestAllTypes> >(&arena); in TEST()
Dtype.pb.cc800 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
805 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
855 const ::google::protobuf::RepeatedPtrField< ::std::string>&
860 ::google::protobuf::RepeatedPtrField< ::std::string>*
885 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
890 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
1860 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
1865 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
2425 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
2430 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
[all …]
Dfield_mask.pb.cc387 const ::google::protobuf::RepeatedPtrField< ::std::string>&
392 ::google::protobuf::RepeatedPtrField< ::std::string>*
Dapi.pb.cc748 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
753 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
778 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
783 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
890 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
895 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
1613 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
1618 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
/external/protobuf/src/google/protobuf/util/internal/
Dutility.h71 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options,
77 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options,
83 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options,
89 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options,
122 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options,
Dutility.cc60 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options, in GetBoolOptionOrDefault()
70 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options, in GetInt64OptionOrDefault()
80 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options, in GetDoubleOptionOrDefault()
90 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options, in GetStringOptionOrDefault()
140 const google::protobuf::RepeatedPtrField<google::protobuf::Option>& options, in FindOptionOrNull()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h125 const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
126 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
147 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
149 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
160 ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
162 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
381 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
383 …const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_Fi…
395 …::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > f…
455 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
[all …]
Dparser.h307 bool ParseImport(RepeatedPtrField<string>* dependency,
347 RepeatedPtrField<DescriptorProto>* messages,
356 RepeatedPtrField<DescriptorProto>* messages,
377 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
378 RepeatedPtrField<DescriptorProto>* messages,
493 RepeatedPtrField<DescriptorProto>* messages);
Dcommand_line_interface.h56 template<typename T> class RepeatedPtrField; // repeated_field.h variable
273 RepeatedPtrField<FileDescriptorProto>* output);

12