Searched refs:RepeatedField (Results 1 - 18 of 18) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Drepeated_field.h35 // RepeatedField and RepeatedPtrField are used by generated protocol message
42 // Typically, clients should not need to access RepeatedField objects directly,
99 // RepeatedField is used to represent repeated fields of a primitive type (in
101 // not ever use a RepeatedField directly; they will use the get-by-index,
104 class RepeatedField { class in namespace:google::protobuf
106 RepeatedField();
107 RepeatedField(const RepeatedField& other);
109 RepeatedField(Iter begin, const Iter& end);
110 ~RepeatedField();
580 inline RepeatedField<Element>::RepeatedField() function in class:google::protobuf::RepeatedField
587 inline RepeatedField<Element>::RepeatedField(const RepeatedField& other) function in class:google::protobuf::RepeatedField
596 inline RepeatedField<Element>::RepeatedField(Iter begin, const Iter& end) function in class:google::protobuf::RepeatedField
[all...]
H A Drepeated_field_unittest.cc58 // Test operations on a small RepeatedField.
59 TEST(RepeatedField, Small) {
60 RepeatedField<int> field;
100 // Test operations on a RepeatedField which is large enough to allocate a
102 TEST(RepeatedField, Large) {
103 RepeatedField<int> field;
121 TEST(RepeatedField, SwapSmallSmall) {
122 RepeatedField<int> field1;
123 RepeatedField<int> field2;
147 TEST(RepeatedField, SwapLargeSmal
[all...]
H A Drepeated_field_reflection_unittest.cc84 // Get RepeatedField objects for all fields of interest.
85 const RepeatedField<int32>& rf_int32 =
87 const RepeatedField<double>& rf_double =
90 // Get mutable RepeatedField objects for all fields of interest.
91 RepeatedField<int32>* mrf_int32 =
93 RepeatedField<double>* mrf_double =
177 const RepeatedField<int64>& rf_int64_extension =
181 RepeatedField<int64>* mrf_int64_extension =
H A Dextension_set.h270 // Fetches a RepeatedField extension by number; returns |default_value|
274 // Fetches a mutable version of a RepeatedField extension by number,
462 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 <in
[all...]
H A Ddynamic_message.cc98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >);
99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >);
100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >);
101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >);
102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >);
103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >);
104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >);
105 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >);
307 new(field_ptr) RepeatedField<TYPE>(); \
324 new(field_ptr) RepeatedField<in
[all...]
H A Dextension_set.cc304 extension->repeated_##LOWERCASE##_value = new RepeatedField<LOWERCASE>(); \
328 // We assume that all the RepeatedField<>* pointers have the same
348 extension->repeated_int32_value = new RepeatedField<int32>();
351 extension->repeated_int64_value = new RepeatedField<int64>();
354 extension->repeated_uint32_value = new RepeatedField<uint32>();
357 extension->repeated_uint64_value = new RepeatedField<uint64>();
360 extension->repeated_double_value = new RepeatedField<double>();
363 extension->repeated_float_value = new RepeatedField<float>();
366 extension->repeated_bool_value = new RepeatedField<bool>();
369 extension->repeated_enum_value = new RepeatedField<in
[all...]
H A Dwire_format_lite.h51 template <typename T> class RepeatedField; // repeated_field.h
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;
H A 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>* >( \
H A Dwire_format_lite_inl.h233 RepeatedField<CType>* values) {
251 RepeatedField<CType>* values) {
262 // added to the RepeatedField without having to do any resizing. Additionally,
302 RepeatedField<CPPTYPE>* values) { \
322 RepeatedField<CType>* value) {
329 RepeatedField<CType>* values) {
344 io::CodedInputStream* input, RepeatedField<CType>* values) {
408 RepeatedField<CPPTYPE>* values) { \
424 RepeatedField<CType>* values) {
H A Dmessage.h144 class RepeatedField; // repeated_field.h
654 // access to the data in a RepeatedField. The methods below provide aggregate
655 // access by exposing the RepeatedField object itself with the Message.
664 const RepeatedField<T>& GetRepeatedField(
669 RepeatedField<T>* MutableRepeatedField(
786 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
790 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
H A Dextension_set_unittest.cc592 // RepeatedField<T>, and will cause additional allocations when the array
605 int min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \
676 typename RepeatedField<T>::const_iterator iter =
678 typename RepeatedField<T>::const_iterator end =
689 typename RepeatedField<T>::iterator iter =
691 typename RepeatedField<T>::iterator end =
834 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_iter;
835 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_end;
843 RepeatedField<unittest::TestAllTypes_NestedEnum>::const_iterator
845 RepeatedField<unittes
[all...]
H A Dgenerated_message_reflection.cc254 total_size += GetRaw<RepeatedField<LOWERCASE> >(message, field) \
350 MutableRaw<RepeatedField<TYPE> >(message1, field)->Swap( \
351 MutableRaw<RepeatedField<TYPE> >(message2, field)); \
656 return GetRaw<RepeatedField<LOWERCASE> >(message, field).size()
742 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->Clear(); \
788 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->RemoveLast(); \
846 MutableRaw<RepeatedField<LOWERCASE> >(message, field) \
1643 return GetRaw<RepeatedField<Type> >(message, field).Get(index);
1656 MutableRaw<RepeatedField<Type> >(message, field)->Set(index, value);
1670 MutableRaw<RepeatedField<Typ
[all...]
H A 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_;
2730 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2732 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2742 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2744 inline ::google::protobuf::RepeatedField<
[all...]
H A Dwire_format_lite.cc284 RepeatedField<int>* values) {
H A Ddescriptor.cc2129 const RepeatedField<int32>& span = loc->span();
/external/protobuf/src/google/protobuf/compiler/
H A Dparser.h301 RepeatedField<int32>* public_dependency,
302 RepeatedField<int32>* weak_dependency,
H A Dparser_unittest.cc1637 bool CompareSpans(const RepeatedField<int>& span1,
1638 const RepeatedField<int>& span2) {
1770 RepeatedField<int> expected_span;
H A Dparser.cc1683 RepeatedField<int32>* public_dependency,
1684 RepeatedField<int32>* weak_dependency,

Completed in 446 milliseconds