Searched refs:RepeatedField (Results 1 - 12 of 12) 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,
67 // RepeatedField is used to represent repeated fields of a primitive type (in
69 // not ever use a RepeatedField directly; they will use the get-by-index,
72 class RepeatedField { class in namespace:google::protobuf
74 RepeatedField();
75 ~RepeatedField();
92 void MergeFrom(const RepeatedField& other);
98 // Resize the RepeatedField to a new, smaller size. This is O(1).
111 void Swap(RepeatedField* othe
421 inline RepeatedField<Element>::RepeatedField() function in class:google::protobuf::RepeatedField
[all...]
H A Drepeated_field_unittest.cc57 // Test operations on a RepeatedField which is small enough that it does
59 TEST(RepeatedField, Small) {
60 RepeatedField<int> field;
93 // Test operations on a RepeatedField which is large enough to allocate a
95 TEST(RepeatedField, Large) {
96 RepeatedField<int> field;
113 TEST(RepeatedField, SwapSmallSmall) {
114 RepeatedField<int> field1;
115 RepeatedField<int> field2;
128 TEST(RepeatedField, SwapLargeSmal
[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 >);
251 new(field_ptr) RepeatedField<TYPE>(); \
268 new(field_ptr) RepeatedField<in
[all...]
H A Dwire_format_lite.h49 template <typename T> class RepeatedField; // repeated_field.h
254 RepeatedField<CType>* value) INL;
262 RepeatedField<CType>* value);
278 RepeatedField<CType>* value) INL;
283 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value);
289 RepeatedField<int>* value);
489 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
H A Dextension_set.h67 template <typename Element> class RepeatedField; // repeated_field.h
397 RepeatedField <int32 >* repeated_int32_value;
398 RepeatedField <int64 >* repeated_int64_value;
399 RepeatedField <uint32 >* repeated_uint32_value;
400 RepeatedField <uint64 >* repeated_uint64_value;
401 RepeatedField <float >* repeated_float_value;
402 RepeatedField <double >* repeated_double_value;
403 RepeatedField <bool >* repeated_bool_value;
404 RepeatedField <int >* repeated_enum_value;
416 // meaning for repeated types; for those, the size of the RepeatedField
[all...]
H A Dgenerated_message_reflection.cc227 total_size += GetRaw<RepeatedField<LOWERCASE> >(message, field) \
347 MutableRaw<RepeatedField<TYPE> >(message1, field)->Swap( \
348 MutableRaw<RepeatedField<TYPE> >(message2, field)); \
437 return GetRaw<RepeatedField<LOWERCASE> >(message, field).size()
518 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->Clear(); \
564 MutableRaw<RepeatedField<LOWERCASE> >(message, field)->RemoveLast(); \
608 MutableRaw<RepeatedField<LOWERCASE> >(message, field) \
1191 return GetRaw<RepeatedField<Type> >(message, field).Get(index);
1204 MutableRaw<RepeatedField<Type> >(message, field)->Set(index, value);
1218 MutableRaw<RepeatedField<Typ
[all...]
H A Dwire_format_lite_inl.h228 RepeatedField<CType>* values) {
246 RepeatedField<CType>* values) {
257 // added to the RepeatedField without having to do any resizing. Additionally,
297 RepeatedField<CPPTYPE>* values) { \
317 RepeatedField<CType>* value) {
324 RepeatedField<CType>* values) {
339 RepeatedField<CType>* values) {
H A Dextension_set.cc266 extension->repeated_##LOWERCASE##_value = new RepeatedField<LOWERCASE>(); \
335 extension->repeated_enum_value = new RepeatedField<int>();
610 HANDLE_TYPE( INT32, int32, RepeatedField < int32>);
611 HANDLE_TYPE( INT64, int64, RepeatedField < int64>);
612 HANDLE_TYPE( UINT32, uint32, RepeatedField < uint32>);
613 HANDLE_TYPE( UINT64, uint64, RepeatedField < uint64>);
614 HANDLE_TYPE( FLOAT, float, RepeatedField < float>);
615 HANDLE_TYPE( DOUBLE, double, RepeatedField < double>);
616 HANDLE_TYPE( BOOL, bool, RepeatedField < bool>);
617 HANDLE_TYPE( ENUM, enum, RepeatedField < in
[all...]
H A Dwire_format_lite.cc191 RepeatedField<int>* values) {
H A Dextension_set_unittest.cc396 // RepeatedField<T>, and will cause additional allocations when the array
409 int min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \
/external/chromium/chrome/browser/policy/
H A Duser_policy_cache.cc161 using google::protobuf::RepeatedField;
255 RepeatedField<bool>::const_iterator i;
262 RepeatedField<google::protobuf::int64>::const_iterator i;
281 RepeatedField<double>::const_iterator i;
/external/chromium/chrome/browser/history/
H A Din_memory_url_index.cc29 using google::protobuf::RepeatedField;
976 const RepeatedField<int32>& word_ids(iter->word_id());
977 for (RepeatedField<int32>::const_iterator jiter = word_ids.begin();
1023 const RepeatedField<int64>& history_ids(iter->history_id());
1024 for (RepeatedField<int64>::const_iterator jiter = history_ids.begin();

Completed in 149 milliseconds