/external/protobuf/src/google/protobuf/ |
repeated_field.h | 35 // 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 { 106 RepeatedField(); 107 RepeatedField(const RepeatedField& other); 109 RepeatedField(Iter begin, const Iter& end); 110 ~RepeatedField(); [all...] |
repeated_field_unittest.cc | 58 // 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, SwapLargeSmall) [all...] |
repeated_field_reflection_unittest.cc | 84 // 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 =
|
extension_set.h | 270 // 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 <int >* repeated_enum_value [all...] |
dynamic_message.cc | 98 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<int>() [all...] |
extension_set.cc | 304 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<int>() [all...] |
message.cc | 193 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \ 195 return *static_cast<RepeatedField<TYPE>* >( \ 201 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \ 203 return static_cast<RepeatedField<TYPE>* >( \
|
wire_format_lite.h | 51 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;
|
extension_set_unittest.cc | 592 // 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 = [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
repeated_field.h | 35 // RepeatedField and RepeatedPtrField are used by generated protocol message 42 // Typically, clients should not need to access RepeatedField objects directly, 78 // RepeatedField is used to represent repeated fields of a primitive type (in 80 // not ever use a RepeatedField directly; they will use the get-by-index, 83 class RepeatedField { 85 RepeatedField(); 86 RepeatedField(const RepeatedField& other); 88 RepeatedField(Iter begin, const Iter& end); 89 ~RepeatedField(); [all...] |
wire_format_lite.h | 51 template <typename T> class RepeatedField; // repeated_field.h 252 RepeatedField<CType>* value) INL; 260 RepeatedField<CType>* value); 276 RepeatedField<CType>* value) INL; 281 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value); 287 RepeatedField<int>* value); 491 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
|
wire_format_lite_inl.h | 227 RepeatedField<CType>* values) { 245 RepeatedField<CType>* values) { 256 // added to the RepeatedField without having to do any resizing. Additionally, 296 RepeatedField<CPPTYPE>* values) { \ 316 RepeatedField<CType>* value) { 323 RepeatedField<CType>* values) { 338 RepeatedField<CType>* values) { [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
repeated_field.h | 35 // RepeatedField and RepeatedPtrField are used by generated protocol message 42 // Typically, clients should not need to access RepeatedField objects directly, 78 // RepeatedField is used to represent repeated fields of a primitive type (in 80 // not ever use a RepeatedField directly; they will use the get-by-index, 83 class RepeatedField { 85 RepeatedField(); 86 RepeatedField(const RepeatedField& other); 88 RepeatedField(Iter begin, const Iter& end); 89 ~RepeatedField(); [all...] |
wire_format_lite.h | 51 template <typename T> class RepeatedField; // repeated_field.h 252 RepeatedField<CType>* value) INL; 260 RepeatedField<CType>* value); 276 RepeatedField<CType>* value) INL; 281 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value); 287 RepeatedField<int>* value); 491 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
|
wire_format_lite_inl.h | 227 RepeatedField<CType>* values) { 245 RepeatedField<CType>* values) { 256 // added to the RepeatedField without having to do any resizing. Additionally, 296 RepeatedField<CPPTYPE>* values) { \ 316 RepeatedField<CType>* value) { 323 RepeatedField<CType>* values) { 338 RepeatedField<CType>* values) { [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
repeated_field.h | 35 // RepeatedField and RepeatedPtrField are used by generated protocol message 42 // Typically, clients should not need to access RepeatedField objects directly, 78 // RepeatedField is used to represent repeated fields of a primitive type (in 80 // not ever use a RepeatedField directly; they will use the get-by-index, 83 class RepeatedField { 85 RepeatedField(); 86 RepeatedField(const RepeatedField& other); 88 RepeatedField(Iter begin, const Iter& end); 89 ~RepeatedField(); [all...] |
wire_format_lite.h | 51 template <typename T> class RepeatedField; // repeated_field.h 252 RepeatedField<CType>* value) INL; 260 RepeatedField<CType>* value); 276 RepeatedField<CType>* value) INL; 281 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value); 287 RepeatedField<int>* value); 491 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
|
wire_format_lite_inl.h | 227 RepeatedField<CType>* values) { 245 RepeatedField<CType>* values) { 256 // added to the RepeatedField without having to do any resizing. Additionally, 296 RepeatedField<CPPTYPE>* values) { \ 316 RepeatedField<CType>* value) { 323 RepeatedField<CType>* values) { 338 RepeatedField<CType>* values) { [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
repeated_field.h | 35 // RepeatedField and RepeatedPtrField are used by generated protocol message 42 // Typically, clients should not need to access RepeatedField objects directly, 78 // RepeatedField is used to represent repeated fields of a primitive type (in 80 // not ever use a RepeatedField directly; they will use the get-by-index, 83 class RepeatedField { 85 RepeatedField(); 86 RepeatedField(const RepeatedField& other); 88 RepeatedField(Iter begin, const Iter& end); 89 ~RepeatedField(); [all...] |
wire_format_lite.h | 51 template <typename T> class RepeatedField; // repeated_field.h 252 RepeatedField<CType>* value) INL; 260 RepeatedField<CType>* value); 276 RepeatedField<CType>* value) INL; 281 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value); 287 RepeatedField<int>* value); 491 RepeatedField<CType>* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE;
|
wire_format_lite_inl.h | 227 RepeatedField<CType>* values) { 245 RepeatedField<CType>* values) { 256 // added to the RepeatedField without having to do any resizing. Additionally, 296 RepeatedField<CPPTYPE>* values) { \ 316 RepeatedField<CType>* value) { 323 RepeatedField<CType>* values) { 338 RepeatedField<CType>* values) { [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
repeated_field.h | 35 // RepeatedField and RepeatedPtrField are used by generated protocol message 42 // Typically, clients should not need to access RepeatedField objects directly, 102 // RepeatedField is used to represent repeated fields of a primitive type (in 104 // not ever use a RepeatedField directly; they will use the get-by-index, 107 class RepeatedField { 109 RepeatedField(); 110 explicit RepeatedField(Arena* arena); 111 RepeatedField(const RepeatedField& other); 113 RepeatedField(Iter begin, const Iter& end) [all...] |
extension_set.h | 281 // Fetches a RepeatedField extension by number; returns |default_value| 285 // Fetches a mutable version of a RepeatedField extension by number, 478 RepeatedField <int32 >* repeated_int32_value; 479 RepeatedField <int64 >* repeated_int64_value; 480 RepeatedField <uint32 >* repeated_uint32_value; 481 RepeatedField <uint64 >* repeated_uint64_value; 482 RepeatedField <float >* repeated_float_value; 483 RepeatedField <double >* repeated_double_value; 484 RepeatedField <bool >* repeated_bool_value; 485 RepeatedField <int >* repeated_enum_value [all...] |
wire_format_lite.h | 51 template <typename T> class RepeatedField; // repeated_field.h 263 RepeatedField<CType>* value); 271 RepeatedField<CType>* value); 285 static bool ReadPackedPrimitive(input, RepeatedField<CType>* value); 290 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value); 296 RepeatedField<int>* values); 305 RepeatedField<int>* values); 529 RepeatedField<CType>* value); 534 RepeatedField<CType>* value);
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
UnknownFieldSetTest.java | 282 Descriptors.FieldDescriptor repeatedField = 285 assertNotNull(repeatedField); 294 .addField(repeatedField.getNumber(), 317 .getField(repeatedField.getNumber()) 335 .getField(repeatedField.getNumber()) 580 Descriptors.FieldDescriptor repeatedField = 583 assertNotNull(repeatedField); 592 .addField(repeatedField.getNumber(), 619 .getField(repeatedField.getNumber()) 637 .getField(repeatedField.getNumber() [all...] |