Home
last modified time | relevance | path

Searched refs:RepeatedField (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.h104 class RepeatedField {
106 RepeatedField();
107 RepeatedField(const RepeatedField& other);
109 RepeatedField(Iter begin, const Iter& end);
110 ~RepeatedField();
112 RepeatedField& operator=(const RepeatedField& other);
132 void MergeFrom(const RepeatedField& other);
133 void CopyFrom(const RepeatedField& other);
157 void Swap(RepeatedField* other);
580 inline RepeatedField<Element>::RepeatedField() in RepeatedField() function
[all …]
Drepeated_field_unittest.cc59 TEST(RepeatedField, Small) { in TEST() argument
60 RepeatedField<int> field; in TEST()
102 TEST(RepeatedField, Large) { in TEST() argument
103 RepeatedField<int> field; in TEST()
121 TEST(RepeatedField, SwapSmallSmall) { in TEST() argument
122 RepeatedField<int> field1; in TEST()
123 RepeatedField<int> field2; in TEST()
147 TEST(RepeatedField, SwapLargeSmall) { in TEST() argument
148 RepeatedField<int> field1; in TEST()
149 RepeatedField<int> field2; in TEST()
[all …]
Dextension_set.h462 RepeatedField <int32 >* repeated_int32_value;
463 RepeatedField <int64 >* repeated_int64_value;
464 RepeatedField <uint32 >* repeated_uint32_value;
465 RepeatedField <uint64 >* repeated_uint64_value;
466 RepeatedField <float >* repeated_float_value;
467 RepeatedField <double >* repeated_double_value;
468 RepeatedField <bool >* repeated_bool_value;
469 RepeatedField <int >* repeated_enum_value;
689 typedef RepeatedField<Type> RepeatedFieldType;
696 static inline const RepeatedField<ConstType>&
[all …]
Drepeated_field_reflection_unittest.cc85 const RepeatedField<int32>& rf_int32 = in TEST()
87 const RepeatedField<double>& rf_double = in TEST()
91 RepeatedField<int32>* mrf_int32 = in TEST()
93 RepeatedField<double>* mrf_double = in TEST()
177 const RepeatedField<int64>& rf_int64_extension = in TEST()
181 RepeatedField<int64>* mrf_int64_extension = in TEST()
Ddynamic_message.cc98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); in FieldSpaceUsed()
99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); in FieldSpaceUsed()
100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); in FieldSpaceUsed()
101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); in FieldSpaceUsed()
102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); in FieldSpaceUsed()
103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); in FieldSpaceUsed()
104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); in FieldSpaceUsed()
105 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >); in FieldSpaceUsed()
307 new(field_ptr) RepeatedField<TYPE>(); \ in DynamicMessage()
324 new(field_ptr) RepeatedField<int>(); in DynamicMessage()
[all …]
Dextension_set.cc304 extension->repeated_##LOWERCASE##_value = new RepeatedField<LOWERCASE>(); \
348 extension->repeated_int32_value = new RepeatedField<int32>(); in MutableRawRepeatedField()
351 extension->repeated_int64_value = new RepeatedField<int64>(); in MutableRawRepeatedField()
354 extension->repeated_uint32_value = new RepeatedField<uint32>(); in MutableRawRepeatedField()
357 extension->repeated_uint64_value = new RepeatedField<uint64>(); in MutableRawRepeatedField()
360 extension->repeated_double_value = new RepeatedField<double>(); in MutableRawRepeatedField()
363 extension->repeated_float_value = new RepeatedField<float>(); in MutableRawRepeatedField()
366 extension->repeated_bool_value = new RepeatedField<bool>(); in MutableRawRepeatedField()
369 extension->repeated_enum_value = new RepeatedField<int>(); in MutableRawRepeatedField()
447 extension->repeated_enum_value = new RepeatedField<int>(); in AddEnum()
[all …]
Dwire_format_lite.h51 template <typename T> class RepeatedField; // repeated_field.h variable
263 RepeatedField<CType>* value) INL;
271 RepeatedField<CType>* value);
287 RepeatedField<CType>* value) INL;
292 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value);
298 RepeatedField<int>* value);
506 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
512 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
Dmessage.cc193 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
195 return *static_cast<RepeatedField<TYPE>* >( \
201 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
203 return static_cast<RepeatedField<TYPE>* >( \
Dmessage.h144 class RepeatedField; // repeated_field.h variable
664 const RepeatedField<T>& GetRepeatedField(
669 RepeatedField<T>* MutableRepeatedField(
786 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
790 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
Dwire_format_lite_inl.h233 RepeatedField<CType>* values) { in ReadRepeatedPrimitive()
251 RepeatedField<CType>* values) { in ReadRepeatedFixedSizePrimitive()
302 RepeatedField<CPPTYPE>* values) { \
322 RepeatedField<CType>* value) { in READ_REPEATED_FIXED_SIZE_PRIMITIVE()
329 RepeatedField<CType>* values) { in ReadPackedPrimitive()
344 io::CodedInputStream* input, RepeatedField<CType>* values) { in ReadPackedFixedSizePrimitive()
408 RepeatedField<CPPTYPE>* values) { \
424 RepeatedField<CType>* values) { in ReadPackedPrimitiveNoInline()
Dextension_set_unittest.cc605 int min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \ in TEST()
676 typename RepeatedField<T>::const_iterator iter = in SumAllExtensions()
678 typename RepeatedField<T>::const_iterator end = in SumAllExtensions()
689 typename RepeatedField<T>::iterator iter = in IncAllExtensions()
691 typename RepeatedField<T>::iterator end = in IncAllExtensions()
834 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_iter; in TEST()
835 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_end; in TEST()
843 RepeatedField<unittest::TestAllTypes_NestedEnum>::const_iterator in TEST()
845 RepeatedField<unittest::TestAllTypes_NestedEnum>::const_iterator in TEST()
Dgenerated_message_reflection.cc254 total_size += GetRaw<RepeatedField<LOWERCASE> >(message, field) \ in SpaceUsed()
350 MutableRaw<RepeatedField<TYPE> >(message1, field)->Swap( \ in SwapField()
351 MutableRaw<RepeatedField<TYPE> >(message2, field)); \ in SwapField()
656 return GetRaw<RepeatedField<LOWERCASE> >(message, field).size() in FieldSize()
742 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->Clear(); \ in ClearField()
788 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->RemoveLast(); \ in RemoveLast()
846 MutableRaw<RepeatedField<LOWERCASE> >(message, field) \ in SwapElements()
1643 return GetRaw<RepeatedField<Type> >(message, field).Get(index); in GetRepeatedField()
1656 MutableRaw<RepeatedField<Type> >(message, field)->Set(index, value); in SetRepeatedField()
1670 MutableRaw<RepeatedField<Type> >(message, field)->Add(value); in AddField()
Ddescriptor.pb.h339 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
341 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
351 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
353 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
440 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_;
441 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_;
2740 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2742 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2752 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2754 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
[all …]
Dwire_format_lite.cc284 RepeatedField<int>* values) { in ReadPackedEnumNoInline()
Ddescriptor.cc2129 const RepeatedField<int32>& span = loc->span(); in GetSourceLocation()
/external/protobuf/src/google/protobuf/compiler/
Dparser.h301 RepeatedField<int32>* public_dependency,
302 RepeatedField<int32>* weak_dependency,
Dparser_unittest.cc1637 bool CompareSpans(const RepeatedField<int>& span1, in CompareSpans()
1638 const RepeatedField<int>& span2) { in CompareSpans()
1770 RepeatedField<int> expected_span; in HasSpanWithComment()
Dparser.cc1683 RepeatedField<int32>* public_dependency, in ParseImport()
1684 RepeatedField<int32>* weak_dependency, in ParseImport()
/external/protobuf/
DCHANGES.txt373 * RepeatedField and RepeatedPtrField now have back-insertion iterators.