Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs50 var list = new RepeatedField<string>(); in NullValuesRejected()
53 Assert.Throws<ArgumentNullException>(() => list.Add((RepeatedField<string>)null)); in NullValuesRejected()
61 var list = new RepeatedField<string>(); in Add_SingleItem()
70 var list = new RepeatedField<string>(); in Add_Sequence()
80 var list = new RepeatedField<string>(); in AddRange_SlowPath()
90 var list = new RepeatedField<string>(); in AddRange_SlowPath_NullsProhibited_ReferenceType()
99 var list = new RepeatedField<int?>(); in AddRange_SlowPath_NullsProhibited_NullableValueType()
108 var list = new RepeatedField<int>(); in AddRange_Optimized_NonNullableValueType()
118 var list = new RepeatedField<string>(); in AddRange_Optimized_ReferenceType()
128 var list = new RepeatedField<int?>(); in AddRange_Optimized_NullableValueType()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Drepeated_field.c44 RepeatedField* ruby_to_RepeatedField(VALUE _self) { in ruby_to_RepeatedField()
45 RepeatedField* self; in ruby_to_RepeatedField()
46 TypedData_Get_Struct(_self, RepeatedField, &RepeatedField_type, self); in ruby_to_RepeatedField()
50 void* RepeatedField_memoryat(RepeatedField* self, int index, int element_size) { in RepeatedField_memoryat()
54 static int index_position(VALUE _index, RepeatedField* repeated_field) { in index_position()
63 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_subarray()
87 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_each()
109 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_index()
159 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_index_set()
187 void RepeatedField_reserve(RepeatedField* self, int new_size) { in RepeatedField_reserve()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Drepeated_field.h107 class RepeatedField {
109 RepeatedField();
110 explicit RepeatedField(Arena* arena);
111 RepeatedField(const RepeatedField& other);
113 RepeatedField(Iter begin, const Iter& end);
114 ~RepeatedField();
116 RepeatedField& operator=(const RepeatedField& other);
136 void MergeFrom(const RepeatedField& other);
137 void CopyFrom(const RepeatedField& other);
162 void Swap(RepeatedField* other);
[all …]
Drepeated_field_unittest.cc60 TEST(RepeatedField, Small) { in TEST() argument
61 RepeatedField<int> field; in TEST()
104 TEST(RepeatedField, Large) { in TEST() argument
105 RepeatedField<int> field; in TEST()
123 TEST(RepeatedField, SwapSmallSmall) { in TEST() argument
124 RepeatedField<int> field1; in TEST()
125 RepeatedField<int> field2; in TEST()
149 TEST(RepeatedField, SwapLargeSmall) { in TEST() argument
150 RepeatedField<int> field1; in TEST()
151 RepeatedField<int> field2; in TEST()
[all …]
Dextension_set.h496 RepeatedField <int32 >* repeated_int32_value;
497 RepeatedField <int64 >* repeated_int64_value;
498 RepeatedField <uint32 >* repeated_uint32_value;
499 RepeatedField <uint64 >* repeated_uint64_value;
500 RepeatedField <float >* repeated_float_value;
501 RepeatedField <double >* repeated_double_value;
502 RepeatedField <bool >* repeated_bool_value;
503 RepeatedField <int >* repeated_enum_value;
732 typedef RepeatedField<Type> RepeatedFieldType;
739 static inline const RepeatedField<ConstType>&
[all …]
Ddynamic_message.cc114 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); in FieldSpaceUsed()
115 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); in FieldSpaceUsed()
116 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); in FieldSpaceUsed()
117 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); in FieldSpaceUsed()
118 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); in FieldSpaceUsed()
119 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); in FieldSpaceUsed()
120 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); in FieldSpaceUsed()
121 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >); in FieldSpaceUsed()
358 new(field_ptr) RepeatedField<TYPE>(); \ in SharedCtor()
375 new(field_ptr) RepeatedField<int>(); in SharedCtor()
[all …]
Dwire_format_lite.h51 template <typename T> class RepeatedField; // repeated_field.h variable
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);
557 RepeatedField<CType>* value);
562 RepeatedField<CType>* value);
Dmessage.cc196 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
198 return *static_cast<RepeatedField<TYPE>* >( \
204 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
206 return static_cast<RepeatedField<TYPE>* >( \
Dwire_format_lite_inl.h235 RepeatedField<CType>* values) { in ReadRepeatedPrimitive()
253 RepeatedField<CType>* values) { in ReadRepeatedFixedSizePrimitive()
304 RepeatedField<CPPTYPE>* values) { \
324 RepeatedField<CType>* value) { in READ_REPEATED_FIXED_SIZE_PRIMITIVE()
331 RepeatedField<CType>* values) { in ReadPackedPrimitive()
346 io::CodedInputStream* input, RepeatedField<CType>* values) { in ReadPackedFixedSizePrimitive()
410 RepeatedField<CPPTYPE>* values) { \
426 RepeatedField<CType>* values) { in READ_REPEATED_PACKED_FIXED_SIZE_PRIMITIVE()
Dmessage.h158 class RepeatedField; // repeated_field.h variable
799 const RepeatedField<T>& GetRepeatedField(
806 RepeatedField<T>* MutableRepeatedField(
1072 const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
1077 RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
Dextension_set_unittest.cc785 int min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \ in TEST()
856 typename RepeatedField<T>::const_iterator iter = in SumAllExtensions()
858 typename RepeatedField<T>::const_iterator end = in SumAllExtensions()
869 typename RepeatedField<T>::iterator iter = in IncAllExtensions()
871 typename RepeatedField<T>::iterator end = in IncAllExtensions()
1014 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_iter; in TEST()
1015 RepeatedField<unittest::TestAllTypes_NestedEnum>::iterator enum_end; in TEST()
1023 RepeatedField<unittest::TestAllTypes_NestedEnum>::const_iterator in TEST()
1025 RepeatedField<unittest::TestAllTypes_NestedEnum>::const_iterator in TEST()
Drepeated_field_reflection_unittest.cc86 const RepeatedField<int32>& rf_int32 = in TEST()
88 const RepeatedField<double>& rf_double = in TEST()
92 RepeatedField<int32>* mrf_int32 = in TEST()
94 RepeatedField<double>* mrf_double = in TEST()
176 const RepeatedField<int64>& rf_int64_extension = in TEST()
180 RepeatedField<int64>* mrf_int64_extension = in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs579 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
584 public pbc::RepeatedField<int> RepeatedInt32 {
592 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
594 public pbc::RepeatedField<long> RepeatedInt64 {
602 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
604 public pbc::RepeatedField<uint> RepeatedUint32 {
612 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
614 public pbc::RepeatedField<ulong> RepeatedUint64 {
622 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
624 public pbc::RepeatedField<int> RepeatedSint32 {
[all …]
DUnittestWellKnownTypes.cs965 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pb…
967 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyField {
975 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pb…
977 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiField {
985 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> durationField…
987 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> DurationField {
995 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = ne…
997 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> EmptyField {
1005 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskFie…
1007 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField {
[all …]
DUnittestIssues.cs415 …private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> values_ = new…
417 public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> Values {
425 …private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> packedValues_…
427 public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> PackedValues {
667 private readonly pbc::RepeatedField<int> primitiveArray_ = new pbc::RepeatedField<int>();
670 public pbc::RepeatedField<int> PrimitiveArray {
690 …private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedChild> messageArr…
693 public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedChild> MessageArray {
713 …private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedEnum> enumArray_ …
716 public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedEnum> EnumArray {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs1164 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
1169 public pbc::RepeatedField<int> RepeatedInt32 {
1177 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
1179 public pbc::RepeatedField<long> RepeatedInt64 {
1187 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
1189 public pbc::RepeatedField<uint> RepeatedUint32 {
1197 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
1199 public pbc::RepeatedField<ulong> RepeatedUint64 {
1207 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
1209 public pbc::RepeatedField<int> RepeatedSint32 {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs49 …public sealed class RepeatedField<T> : IList<T>, IList, IDeepCloneable<RepeatedField<T>>, IEquatab… class
68 public RepeatedField<T> Clone() in Clone()
70 RepeatedField<T> clone = new RepeatedField<T>(); in Clone()
301 var otherRepeatedField = values as RepeatedField<T>; in AddRange()
385 return Equals(obj as RepeatedField<T>); in Equals()
420 public bool Equals(RepeatedField<T> other) in Equals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs213 …private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> file_ …
215 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> File {
364 private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
369 public pbc::RepeatedField<string> Dependency {
377 private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
382 public pbc::RepeatedField<int> PublicDependency {
390 private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
396 public pbc::RepeatedField<int> WeakDependency {
404 …private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> messageTyp…
409 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs149 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> fields_ = new pb…
154 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> Fields {
162 private readonly pbc::RepeatedField<string> oneofs_ = new pbc::RepeatedField<string>();
167 public pbc::RepeatedField<string> Oneofs {
175 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new …
180 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
499 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new …
504 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
915 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> enumvalue_ =…
920 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> Enumvalue {
[all …]
DApi.cs113 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> methods_ = new …
118 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Methods {
126 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new …
131 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
187 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> mixins_ = new pb…
192 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> Mixins {
480 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new …
485 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
DFieldMask.cs277 private readonly pbc::RepeatedField<string> paths_ = new pbc::RepeatedField<string>();
282 public pbc::RepeatedField<string> Paths {
DStruct.cs568 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> values_ = new pb…
573 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Values {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs123 …ate readonly pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNum…
125 …public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> P…
441 …private readonly pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person> people_ =…
443 public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person> People {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/protobuf/
Drepeated_field.rb50 class RepeatedField class
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.h308 RepeatedField<int32>* public_dependency,
309 RepeatedField<int32>* weak_dependency,

12