Home
last modified time | relevance | path

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

12345678910

/external/protobuf/php/tests/
Dundefined_test.php5 use Google\Protobuf\Internal\RepeatedField; alias
18 $arr = new RepeatedField(GPBType::INT32);
27 $arr = new RepeatedField(GPBType::INT32);
37 $arr = new RepeatedField(GPBType::INT32);
46 $arr = new RepeatedField(GPBType::INT32);
56 $arr = new RepeatedField(GPBType::UINT32);
65 $arr = new RepeatedField(GPBType::UINT32);
75 $arr = new RepeatedField(GPBType::UINT32);
84 $arr = new RepeatedField(GPBType::UINT32);
94 $arr = new RepeatedField(GPBType::INT64);
[all …]
Darray_test.php5 use Google\Protobuf\Internal\RepeatedField; alias
19 $arr = new RepeatedField(GPBType::INT32);
69 $arr = new RepeatedField(GPBType::INT32);
86 $arr = new RepeatedField(GPBType::UINT32);
158 $arr = new RepeatedField(GPBType::INT64);
232 $arr = new RepeatedField(GPBType::UINT64);
295 $arr = new RepeatedField(GPBType::FLOAT);
335 $arr = new RepeatedField(GPBType::DOUBLE);
375 $arr = new RepeatedField(GPBType::BOOL);
417 $arr = new RepeatedField(GPBType::STRING);
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/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 …]
/external/protobuf/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 …]
/external/protobuf/php/ext/google/protobuf/
Darray.c50 PHP_ME(RepeatedField, __construct, NULL, ZEND_ACC_PUBLIC)
51 PHP_ME(RepeatedField, append, NULL, ZEND_ACC_PUBLIC)
52 PHP_ME(RepeatedField, offsetExists, arginfo_offsetGet, ZEND_ACC_PUBLIC)
53 PHP_ME(RepeatedField, offsetGet, arginfo_offsetGet, ZEND_ACC_PUBLIC)
54 PHP_ME(RepeatedField, offsetSet, arginfo_offsetSet, ZEND_ACC_PUBLIC)
55 PHP_ME(RepeatedField, offsetUnset, arginfo_offsetGet, ZEND_ACC_PUBLIC)
56 PHP_ME(RepeatedField, count, arginfo_void, ZEND_ACC_PUBLIC)
57 PHP_ME(RepeatedField, getIterator, arginfo_void, ZEND_ACC_PUBLIC)
97 PHP_PROTO_OBJECT_FREE_START(RepeatedField, repeated_field)
105 PHP_PROTO_OBJECT_DTOR_START(RepeatedField, repeated_field)
[all …]
/external/protobuf/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 …]
/external/protobuf/src/google/protobuf/
Drepeated_field.h120 class RepeatedField final {
126 RepeatedField();
127 explicit RepeatedField(Arena* arena);
128 RepeatedField(const RepeatedField& other);
130 RepeatedField(Iter begin, const Iter& end);
131 ~RepeatedField();
133 RepeatedField& operator=(const RepeatedField& other);
135 RepeatedField(RepeatedField&& other) noexcept;
136 RepeatedField& operator=(RepeatedField&& other) noexcept;
170 void MergeFrom(const RepeatedField& other);
[all …]
Drepeated_field_unittest.cc65 TEST(RepeatedField, Small) { in TEST() argument
66 RepeatedField<int> field; in TEST()
124 TEST(RepeatedField, Large) { in TEST() argument
125 RepeatedField<int> field; in TEST()
143 TEST(RepeatedField, SwapSmallSmall) { in TEST() argument
144 RepeatedField<int> field1; in TEST()
145 RepeatedField<int> field2; in TEST()
169 TEST(RepeatedField, SwapLargeSmall) { in TEST() argument
170 RepeatedField<int> field1; in TEST()
171 RepeatedField<int> field2; in TEST()
[all …]
Dwire_format_lite.h265 RepeatedField<CType>* value);
272 RepeatedField<CType>* value);
288 io::CodedInputStream* input, RepeatedField<CType>* value);
294 RepeatedField<CType>* value);
300 RepeatedField<int>* values);
306 io::CodedOutputStream* unknown_fields_stream, RepeatedField<int>* values);
499 const RepeatedField<T>& value, uint8* (*Writer)(T, uint8*),
503 const RepeatedField<T>& value, uint8* (*Writer)(T, uint8*),
507 const RepeatedField<int32>& value, uint8* output);
509 const RepeatedField<int64>& value, uint8* output);
[all …]
Drepeated_field.cc124 template class PROTOBUF_EXPORT RepeatedField<bool>; variable
125 template class PROTOBUF_EXPORT RepeatedField<int32>; variable
126 template class PROTOBUF_EXPORT RepeatedField<uint32>; variable
127 template class PROTOBUF_EXPORT RepeatedField<int64>; variable
128 template class PROTOBUF_EXPORT RepeatedField<uint64>; variable
129 template class PROTOBUF_EXPORT RepeatedField<float>; variable
130 template class PROTOBUF_EXPORT RepeatedField<double>; variable
Dextension_set.h568 RepeatedField<int32>* repeated_int32_value;
569 RepeatedField<int64>* repeated_int64_value;
570 RepeatedField<uint32>* repeated_uint32_value;
571 RepeatedField<uint64>* repeated_uint64_value;
572 RepeatedField<float>* repeated_float_value;
573 RepeatedField<double>* repeated_double_value;
574 RepeatedField<bool>* repeated_bool_value;
575 RepeatedField<int>* repeated_enum_value;
964 typedef RepeatedField<Type> RepeatedFieldType;
971 static inline const RepeatedField<ConstType>& GetRepeated(
[all …]
Dwire_format_lite.cc295 io::CodedOutputStream* unknown_fields_stream, RepeatedField<int>* values) { in ReadPackedEnumPreserveUnknowns()
681 size_t WireFormatLite::Int32Size(const RepeatedField<int32>& value) { in Int32Size()
685 size_t WireFormatLite::UInt32Size(const RepeatedField<uint32>& value) { in UInt32Size()
689 size_t WireFormatLite::SInt32Size(const RepeatedField<int32>& value) { in SInt32Size()
693 size_t WireFormatLite::EnumSize(const RepeatedField<int>& value) { in EnumSize()
700 size_t WireFormatLite::Int32Size(const RepeatedField<int32>& value) { in Int32Size()
709 size_t WireFormatLite::UInt32Size(const RepeatedField<uint32>& value) { in UInt32Size()
718 size_t WireFormatLite::SInt32Size(const RepeatedField<int32>& value) { in SInt32Size()
727 size_t WireFormatLite::EnumSize(const RepeatedField<int>& value) { in EnumSize()
744 size_t WireFormatLite::Int64Size(const RepeatedField<int64>& value) { in Int64Size()
[all …]
/external/tensorflow/tensorflow/core/util/
Dsaved_tensor_slice_util.h67 typename SaveTypeTraits<T>::RepeatedField* MutableTensorProtoData(
78 typedef protobuf::RepeatedField<FTYPE> RepeatedField; \
87 inline protobuf::RepeatedField<FTYPE>* MutableTensorProtoData<TYPE>( \
91 return reinterpret_cast<protobuf::RepeatedField<FTYPE>*>( \
99 typename protobuf::RepeatedField<FTYPE> copy(data, data + n); \
109 typename protobuf::RepeatedField<FTYPE> copy(sub, sub + 2 * n); \
146 typename protobuf::RepeatedField<int32> copy(p, p + n);
156 typedef protobuf::RepeatedField<int32> RepeatedField;
165 inline protobuf::RepeatedField<int32>* MutableTensorProtoData<Eigen::half>(
172 typename protobuf::RepeatedField<int32>* val = t->mutable_half_val();
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs676 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
681 public pbc::RepeatedField<int> RepeatedInt32 {
689 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
691 public pbc::RepeatedField<long> RepeatedInt64 {
699 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
701 public pbc::RepeatedField<uint> RepeatedUint32 {
709 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
711 public pbc::RepeatedField<ulong> RepeatedUint64 {
719 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
721 public pbc::RepeatedField<int> RepeatedSint32 {
[all …]
DUnittestProto3.cs601 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
606 public pbc::RepeatedField<int> RepeatedInt32 {
614 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
616 public pbc::RepeatedField<long> RepeatedInt64 {
624 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
626 public pbc::RepeatedField<uint> RepeatedUint32 {
634 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
636 public pbc::RepeatedField<ulong> RepeatedUint64 {
644 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
646 public pbc::RepeatedField<int> RepeatedSint32 {
[all …]
DUnittestWellKnownTypes.cs990 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pb…
992 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyField {
1000 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pb…
1002 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiField {
1010 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> durationField…
1012 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> DurationField {
1020 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = ne…
1022 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> EmptyField {
1030 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskFie…
1032 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField {
[all …]
/external/perfetto/src/trace_processor/metrics/android/
Dandroid_cpu.sql46 RepeatedField(
64 RepeatedField(
92 RepeatedField(
128 RepeatedField(
159 RepeatedField(
187 SELECT RepeatedField(
Dandroid_task_names.sql25 RepeatedField(name) AS thread_names
33 RepeatedField(package_list.package_name) AS packages
39 'process', RepeatedField(
Djava_heap_histogram.sql37 RepeatedField(JavaHeapHistogram_TypeCount(
49 RepeatedField(JavaHeapHistogram_Sample(
57 'instance_stats', RepeatedField(JavaHeapHistogram_InstanceStats(
Dunmapped_java_symbols.sql41 SELECT upid, RepeatedField(type_name) AS types
61 SELECT upid, RepeatedField(
80 (SELECT RepeatedField(types) FROM java_symbols_per_process)
Dandroid_thread_time_in_state.sql69 RepeatedField(AndroidThreadTimeInStateMetric_MetricsByCoreType(
79 RepeatedField(AndroidThreadTimeInStateMetric_Thread(
103 RepeatedField(AndroidThreadTimeInStateMetric_MetricsByCoreType(
114 RepeatedField(AndroidThreadTimeInStateMetric_Process(
Djava_heap_stats.sql53 RepeatedField(JavaHeapStats_HeapRoots(
91 RepeatedField(JavaHeapStats_Sample(
105 'instance_stats', RepeatedField(JavaHeapStats_InstanceStats(
/external/tensorflow/tensorflow/core/example/
Dfeature_util.cc67 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>( in GetFeatureValues()
73 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>( in GetFeatureValues()
79 const protobuf::RepeatedField<float>& GetFeatureValues<float>( in GetFeatureValues()
85 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature) { in GetFeatureValues()
165 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>(
169 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>(
173 const protobuf::RepeatedField<float>& GetFeatureValues<float>(
177 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature);
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs49 …public sealed class RepeatedField<T> : IList<T>, IList, IDeepCloneable<RepeatedField<T>>, IEquatab… class
72 public RepeatedField<T> Clone() in Clone()
74 RepeatedField<T> clone = new RepeatedField<T>(); in Clone()
309 var otherRepeatedField = values as RepeatedField<T>; in AddRange()
393 return Equals(obj as RepeatedField<T>); in Equals()
428 public bool Equals(RepeatedField<T> other) in Equals()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs234 …private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> file_ …
236 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> File {
421 private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
426 public pbc::RepeatedField<string> Dependency {
434 private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
439 public pbc::RepeatedField<int> PublicDependency {
447 private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
453 public pbc::RepeatedField<int> WeakDependency {
461 …private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> messageTyp…
466 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {
[all …]

12345678910