Home
last modified time | relevance | path

Searched refs:AddRange (Results 1 – 25 of 58) sorted by relevance

123

/external/google-benchmark/test/
Dbenchmark_gtest.cc13 AddRange(&dst, 1, 2, 2); in TEST()
19 AddRange(&dst, static_cast<int64_t>(1), static_cast<int64_t>(2), 2); in TEST()
25 AddRange(&dst, 5, 15, 2); in TEST()
31 AddRange(&dst, static_cast<int64_t>(5), static_cast<int64_t>(15), 2); in TEST()
37 AddRange(&dst, int8_t{1}, std::numeric_limits<int8_t>::max(), 8); in TEST()
43 AddRange(&dst, int64_t{1}, std::numeric_limits<int64_t>::max(), 1024); in TEST()
52 AddRange(&dst, -8, 0, 2); in TEST()
58 AddRange(&dst, -8, -1, 2); in TEST()
64 AddRange(&dst, -8, 8, 2); in TEST()
70 AddRange(&dst, -30, 32, 5); in TEST()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs181 message.GetOrInitializeExtension(RepeatedBoolExtension).AddRange(new[] { true, false }); in CreateFullTestAllExtensions()
182 …message.GetOrInitializeExtension(RepeatedBytesExtension).AddRange(new[] { ByteString.CopyFrom(1, 2… in CreateFullTestAllExtensions()
183 … message.GetOrInitializeExtension(RepeatedDoubleExtension).AddRange(new[] { -12.25, 23.5 }); in CreateFullTestAllExtensions()
184 …message.GetOrInitializeExtension(RepeatedFixed32Extension).AddRange(new[] { UInt32.MaxValue, 23u }… in CreateFullTestAllExtensions()
185 …message.GetOrInitializeExtension(RepeatedFixed64Extension).AddRange(new[] { UInt64.MaxValue, 12345… in CreateFullTestAllExtensions()
186 … message.GetOrInitializeExtension(RepeatedFloatExtension).AddRange(new[] { 100f, 12.25f }); in CreateFullTestAllExtensions()
187 …message.GetOrInitializeExtension(RepeatedForeignEnumExtension).AddRange(new[] { Proto2.ForeignEnum… in CreateFullTestAllExtensions()
188 …message.GetOrInitializeExtension(RepeatedForeignMessageExtension).AddRange(new[] { new Proto2.Fore… in CreateFullTestAllExtensions()
189 …message.GetOrInitializeExtension(RepeatedImportEnumExtension).AddRange(new[] { Proto2.ImportEnum.I… in CreateFullTestAllExtensions()
190 …message.GetOrInitializeExtension(RepeatedImportMessageExtension).AddRange(new[] { new Proto2.Impor… in CreateFullTestAllExtensions()
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs181 message.GetOrInitializeExtension(RepeatedBoolExtension).AddRange(new[] { true, false }); in CreateFullTestAllExtensions()
182 …message.GetOrInitializeExtension(RepeatedBytesExtension).AddRange(new[] { ByteString.CopyFrom(1, 2… in CreateFullTestAllExtensions()
183 … message.GetOrInitializeExtension(RepeatedDoubleExtension).AddRange(new[] { -12.25, 23.5 }); in CreateFullTestAllExtensions()
184 …message.GetOrInitializeExtension(RepeatedFixed32Extension).AddRange(new[] { UInt32.MaxValue, 23u }… in CreateFullTestAllExtensions()
185 …message.GetOrInitializeExtension(RepeatedFixed64Extension).AddRange(new[] { UInt64.MaxValue, 12345… in CreateFullTestAllExtensions()
186 … message.GetOrInitializeExtension(RepeatedFloatExtension).AddRange(new[] { 100f, 12.25f }); in CreateFullTestAllExtensions()
187 …message.GetOrInitializeExtension(RepeatedForeignEnumExtension).AddRange(new[] { Proto2.ForeignEnum… in CreateFullTestAllExtensions()
188 …message.GetOrInitializeExtension(RepeatedForeignMessageExtension).AddRange(new[] { new Proto2.Fore… in CreateFullTestAllExtensions()
189 …message.GetOrInitializeExtension(RepeatedImportEnumExtension).AddRange(new[] { Proto2.ImportEnum.I… in CreateFullTestAllExtensions()
190 …message.GetOrInitializeExtension(RepeatedImportMessageExtension).AddRange(new[] { new Proto2.Impor… in CreateFullTestAllExtensions()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/frames/
Dquic_frames_test.cc53 frame.packets.AddRange(QuicPacketNumber(4), QuicPacketNumber(501)); in TEST_F()
328 ack_frame1.packets.AddRange(QuicPacketNumber(1), QuicPacketNumber(11)); in TEST_F()
340 ack_frame2.packets.AddRange(QuicPacketNumber(21), QuicPacketNumber(100)); in TEST_F()
348 ack_frame2.packets.AddRange(QuicPacketNumber(102), QuicPacketNumber(200)); in TEST_F()
438 ack_frame1.packets.AddRange(QuicPacketNumber(1), QuicPacketNumber(10)); in TEST_F()
439 ack_frame1.packets.AddRange(QuicPacketNumber(50), QuicPacketNumber(100)); in TEST_F()
456 ack_frame1.packets.AddRange(QuicPacketNumber(20), QuicPacketNumber(30)); in TEST_F()
472 ack_frame2.packets.AddRange(QuicPacketNumber(20), QuicPacketNumber(25)); in TEST_F()
473 ack_frame2.packets.AddRange(QuicPacketNumber(40), QuicPacketNumber(45)); in TEST_F()
474 ack_frame2.packets.AddRange(QuicPacketNumber(60), QuicPacketNumber(65)); in TEST_F()
[all …]
Dquic_ack_frame.h41 void AddRange(QuicPacketNumber lower, QuicPacketNumber higher);
/external/libcxx/utils/google-benchmark/test/
Dbenchmark_gtest.cc11 AddRange(&dst, 1, 2, 2); in TEST()
17 AddRange(&dst, static_cast<int64_t>(1), static_cast<int64_t>(2), 2); in TEST()
23 AddRange(&dst, 5, 15, 2); in TEST()
29 AddRange(&dst, static_cast<int64_t>(5), static_cast<int64_t>(15), 2); in TEST()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs81 list.AddRange(new[] { "foo", "bar" }.Select(x => x)); in AddRange_SlowPath()
93 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { "foo", null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_ReferenceType()
102 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { 20, (int?)null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_NullableValueType()
109 list.AddRange(new List<int> { 20, 30 }); in AddRange_Optimized_NonNullableValueType()
119 list.AddRange(new List<string> { "foo", "bar" }); in AddRange_Optimized_ReferenceType()
129 list.AddRange(new List<int?> { 20, 30 }); in AddRange_Optimized_NullableValueType()
142 Assert.Catch<ArgumentException>(() => list.AddRange(new List<string> { "foo", null })); in AddRange_Optimized_NullsProhibited_ReferenceType()
152 Assert.Catch<ArgumentException>(() => list.AddRange(new List<int?> { 20, null })); in AddRange_Optimized_NullsProhibited_NullableValueType()
159 list.AddRange(new List<int> { 4, 5, 6 }); in AddRange_AlreadyNotEmpty()
167 list.AddRange(new RepeatedField<string> { "foo", "bar" }); in AddRange_RepeatedField()
/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs81 list.AddRange(new[] { "foo", "bar" }.Select(x => x)); in AddRange_SlowPath()
93 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { "foo", null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_ReferenceType()
102 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { 20, (int?)null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_NullableValueType()
109 list.AddRange(new List<int> { 20, 30 }); in AddRange_Optimized_NonNullableValueType()
119 list.AddRange(new List<string> { "foo", "bar" }); in AddRange_Optimized_ReferenceType()
129 list.AddRange(new List<int?> { 20, 30 }); in AddRange_Optimized_NullableValueType()
142 Assert.Catch<ArgumentException>(() => list.AddRange(new List<string> { "foo", null })); in AddRange_Optimized_NullsProhibited_ReferenceType()
152 Assert.Catch<ArgumentException>(() => list.AddRange(new List<int?> { 20, null })); in AddRange_Optimized_NullsProhibited_NullableValueType()
159 list.AddRange(new List<int> { 4, 5, 6 }); in AddRange_AlreadyNotEmpty()
167 list.AddRange(new RepeatedField<string> { "foo", "bar" }); in AddRange_RepeatedField()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs82 list.AddRange(new[] { "foo", "bar" }.Select(x => x)); in AddRange_SlowPath()
94 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { "foo", null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_ReferenceType()
103 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { 20, (int?)null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_NullableValueType()
110 list.AddRange(new List<int> { 20, 30 }); in AddRange_Optimized_NonNullableValueType()
120 list.AddRange(new List<string> { "foo", "bar" }); in AddRange_Optimized_ReferenceType()
130 list.AddRange(new List<int?> { 20, 30 }); in AddRange_Optimized_NullableValueType()
143 Assert.Catch<ArgumentException>(() => list.AddRange(new List<string> { "foo", null })); in AddRange_Optimized_NullsProhibited_ReferenceType()
153 Assert.Catch<ArgumentException>(() => list.AddRange(new List<int?> { 20, null })); in AddRange_Optimized_NullsProhibited_NullableValueType()
160 list.AddRange(new List<int> { 4, 5, 6 }); in AddRange_AlreadyNotEmpty()
168 list.AddRange(new RepeatedField<string> { "foo", "bar" }); in AddRange_RepeatedField()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs82 list.AddRange(new[] { "foo", "bar" }.Select(x => x)); in AddRange_SlowPath()
94 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { "foo", null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_ReferenceType()
103 … Assert.Catch<ArgumentException>(() => list.AddRange(new[] { 20, (int?)null }.Select(x => x))); in AddRange_SlowPath_NullsProhibited_NullableValueType()
110 list.AddRange(new List<int> { 20, 30 }); in AddRange_Optimized_NonNullableValueType()
120 list.AddRange(new List<string> { "foo", "bar" }); in AddRange_Optimized_ReferenceType()
130 list.AddRange(new List<int?> { 20, 30 }); in AddRange_Optimized_NullableValueType()
143 Assert.Catch<ArgumentException>(() => list.AddRange(new List<string> { "foo", null })); in AddRange_Optimized_NullsProhibited_ReferenceType()
153 Assert.Catch<ArgumentException>(() => list.AddRange(new List<int?> { 20, null })); in AddRange_Optimized_NullsProhibited_NullableValueType()
160 list.AddRange(new List<int> { 4, 5, 6 }); in AddRange_AlreadyNotEmpty()
168 list.AddRange(new RepeatedField<string> { "foo", "bar" }); in AddRange_RepeatedField()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStackColoring.h62 void AddRange(unsigned start, unsigned end) { bv.set(start, end); } in AddRange() function
135 R.AddRange(0, NumInst); in getFullLiveRange()
DSafeStackColoring.cpp241 LiveRanges[AllocaNo].AddRange(Start[AllocaNo], InstNo); in calculateLiveIntervals()
250 LiveRanges[AllocaNo].AddRange(Start[AllocaNo], BBEnd); in calculateLiveIntervals()
295 R.AddRange(0, 1); in run()
/external/llvm/lib/CodeGen/
DSafeStackColoring.h52 void AddRange(unsigned start, unsigned end) { bv.set(start, end); } in AddRange() function
120 R.AddRange(0, NumInst); in getFullLiveRange()
DSafeStackColoring.cpp224 LiveRanges[AllocaNo].AddRange(Start[AllocaNo], InstNo); in calculateLiveIntervals()
233 LiveRanges[AllocaNo].AddRange(Start[AllocaNo], BBEnd); in calculateLiveIntervals()
276 R.AddRange(0, 1); in run()
/external/libbrillo/brillo/http/
Dhttp_request_test.cc116 request.AddRange(-10); in TEST_F()
117 request.AddRange(100, 200); in TEST_F()
118 request.AddRange(300); in TEST_F()
Dhttp_request.h257 void AddRange(int64_t bytes);
262 void AddRange(uint64_t from_byte, uint64_t to_byte);
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas143 procedure AddRange(const Values: array of T); overload;
144 procedure AddRange(const Collection: IEnumerable<T>); overload;
145 procedure AddRange(Collection: TEnumerable<T>); overload;
146 procedure AddRange(const List: IList<T>); overload;
229 procedure AddRange(const List: IList<T>); overload;
463 procedure TList<T>.AddRange(const List: IList<T>); procedure
/external/google-breakpad/src/common/
Ddwarf_range_list_handler.h60 void AddRange(uint64_t begin, uint64_t end);
Ddwarf_range_list_handler.cc42 void DwarfRangeListHandler::AddRange(uint64_t begin, uint64_t end) { in AddRange() function in google_breakpad::DwarfRangeListHandler
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_register.h9 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() function
Dbenchmark_register.cc275 AddRange(&arglist, start, limit, range_multiplier_); in Range()
289 AddRange(&arglists[i], ranges[i].first, ranges[i].second, in Ranges()
438 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h189 Diag &AddRange(Range A) { in AddRange() function
210 Diag &operator<<(const Range &R) { return AddRange(R); }
/external/google-benchmark/src/
Dbenchmark_register.cc295 AddRange(&arglist, start, limit, range_multiplier_); in Range()
308 AddRange(&arglists[i], ranges[i].first, ranges[i].second, in Ranges()
471 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs101 mask.Paths.AddRange(input); in ToString()
160 mask.Paths.AddRange(input); in Normalize()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs101 mask.Paths.AddRange(input); in ToString()
160 mask.Paths.AddRange(input); in Normalize()

123