/external/libchrome/base/metrics/ |
D | sample_vector_unittest.cc | 103 SampleVector samples2(2, &ranges); in TEST_F() local 104 samples2.Accumulate(1, 200); in TEST_F() 105 samples2.Accumulate(2, 200); in TEST_F() 106 samples2.Accumulate(4, 200); in TEST_F() 107 EXPECT_EQ(1400, samples2.sum()); in TEST_F() 108 EXPECT_EQ(600, samples2.TotalCount()); in TEST_F() 109 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST_F() 111 samples1.Add(samples2); in TEST_F() 120 samples1.Subtract(samples2); in TEST_F() 157 SampleVector samples2(2, &ranges2); in TEST_F() local [all …]
|
D | persistent_sample_map_unittest.cc | 77 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST() local 78 samples2.Accumulate(1, 200); in TEST() 79 samples2.Accumulate(2, 200); in TEST() 80 samples2.Accumulate(4, 200); in TEST() 82 samples1.Add(samples2); in TEST() 91 samples1.Subtract(samples2); in TEST() 119 PersistentSampleMap samples2(12, allocator2.get(), &meta12); in TEST() local 120 EXPECT_EQ(samples1.id(), samples2.id()); in TEST() 121 EXPECT_EQ(samples1.sum(), samples2.sum()); in TEST() 122 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST() [all …]
|
D | sample_map_unittest.cc | 45 SampleMap samples2(2); in TEST() local 51 samples2.Accumulate(1, 200); in TEST() 52 samples2.Accumulate(2, 200); in TEST() 53 samples2.Accumulate(4, 200); in TEST() 55 samples1.Add(samples2); in TEST() 64 samples1.Subtract(samples2); in TEST() 117 SampleMap samples2(2); in TEST() local 118 samples2.Accumulate(5, 1); in TEST() 119 samples2.Accumulate(20, 4); in TEST() 120 samples2.Accumulate(25, 5); in TEST() [all …]
|
D | histogram_unittest.cc | 393 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() local 394 EXPECT_EQ(78, samples2->TotalCount()); in TEST_P() 395 EXPECT_EQ(40, samples2->GetCount(20)); in TEST_P() 396 EXPECT_EQ(38, samples2->GetCount(30)); in TEST_P() 416 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() local 417 EXPECT_EQ(78, samples2->TotalCount()); in TEST_P() 418 EXPECT_EQ(40, samples2->GetCount(200000000)); in TEST_P() 419 EXPECT_EQ(38, samples2->GetCount(300000000)); in TEST_P() 420 EXPECT_EQ(19400000000LL, samples2->sum()); in TEST_P()
|
/external/catch2/include/internal/benchmark/ |
D | catch_sample_analysis.hpp | 35 std::vector<Duration2> samples2; in operator SampleAnalysis<Duration2>() local 36 samples2.reserve(samples.size()); in operator SampleAnalysis<Duration2>() 37 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in operator SampleAnalysis<Duration2>() 39 std::move(samples2), in operator SampleAnalysis<Duration2>()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DayPeriodsOld.java | 105 private DayPeriodsOld(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriodsOld() argument 107 fix(map, samples2, DayPeriod.MORNING2, DayPeriod.MORNING1); in DayPeriodsOld() 108 fix(map, samples2, DayPeriod.AFTERNOON2, DayPeriod.AFTERNOON1); in DayPeriodsOld() 109 fix(map, samples2, DayPeriod.EVENING2, DayPeriod.EVENING1); in DayPeriodsOld() 110 fix(map, samples2, DayPeriod.NIGHT2, DayPeriod.NIGHT1); in DayPeriodsOld() 112 samples = Collections.unmodifiableMap(samples2); in DayPeriodsOld() 115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix() argument 116 if (samples2.containsKey(dayPeriod2) && !samples2.containsKey(dayPeriod1)) { in fix() 117 samples2.put(dayPeriod1, samples2.get(dayPeriod2)); in fix() 118 samples2.remove(dayPeriod2); in fix()
|
D | DayPeriods.java | 105 private DayPeriods(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriods() argument 107 fix(map, samples2, DayPeriod.MORNING2, DayPeriod.MORNING1); in DayPeriods() 108 fix(map, samples2, DayPeriod.AFTERNOON2, DayPeriod.AFTERNOON1); in DayPeriods() 109 fix(map, samples2, DayPeriod.EVENING2, DayPeriod.EVENING1); in DayPeriods() 110 fix(map, samples2, DayPeriod.NIGHT2, DayPeriod.NIGHT1); in DayPeriods() 112 samples = Collections.unmodifiableMap(samples2); in DayPeriods() 115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix() argument 116 if (samples2.containsKey(dayPeriod2) && !samples2.containsKey(dayPeriod1)) { in fix() 117 samples2.put(dayPeriod1, samples2.get(dayPeriod2)); in fix() 118 samples2.remove(dayPeriod2); in fix()
|
/external/catch2/include/internal/benchmark/detail/ |
D | catch_analyse.hpp | 43 std::vector<Duration> samples2; in analyse() local 44 samples2.reserve(samples.size()); in analyse() 45 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](double d) { return… in analyse() 47 std::move(samples2), in analyse()
|
/external/webrtc/modules/audio_processing/agc2/ |
D | biquad_filter_unittest.cc | 127 std::array<float, kFrameSize> samples2; in TEST() local 129 filter.Process(kBiQuadInputSeq[i], samples2); in TEST() 132 EXPECT_EQ(samples1, samples2); in TEST()
|
/external/catch2/include/internal/ |
D | catch_interfaces_reporter.h | 191 std::vector<Duration2> samples2; in BenchmarkStats() local 192 samples2.reserve(samples.size()); in BenchmarkStats() 193 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in BenchmarkStats() 196 std::move(samples2), in BenchmarkStats()
|
/external/webrtc/api/audio/test/ |
D | audio_frame_unittest.cc | 148 int16_t samples2[(kNumChannelsMono + 1) * (kSamplesPerChannel + 1)]; in TEST() local 151 samples2[i] = 1000 + i; in TEST() 153 frame2.UpdateFrame(kTimestamp + 1, samples2, kSamplesPerChannel + 1, in TEST() 168 EXPECT_EQ(samples2[i], frame1.data()[i]); in TEST()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateCoverageLevels.java | 272 …private static void summarizeCoverage(PrintWriter summary, PrintWriter samples2, PrintWriter count… in summarizeCoverage() argument 366 samples2.println(); in summarizeCoverage() 367 samples2.println(locale + "\t" + english.getName(locale)); in summarizeCoverage() 389 … samples2.println(level + "\tMissing:\t" + integer.format(missingCount) + "\tFound:\t" in summarizeCoverage() 396 samples2.println("\t" + row); in summarizeCoverage() 399 samples2.println("\t..."); in summarizeCoverage() 411 samples2.println(summaryLine); in summarizeCoverage()
|
D | WritePluralRulesSpreadsheets.java | 240 Set<FixedDecimalRange> samples2 = samples.getSamples(); in getSample() local 241 if (samples2 == null) { in getSample() 244 for (FixedDecimalRange sample : samples2) { in getSample()
|
D | GeneratedPluralSamples.java | 273 Ranges samples2 = new Ranges(samples); 276 samples2.add(ni); 279 return format(samples2) + (isBounded ? "" : ", …"); 282 private String format(Ranges samples2) { 283 StringBuilder builder = new StringBuilder().append(samples2);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 367 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType); 368 if (samples2 != null) { 369 samples.add(samples2); 386 Set<FixedDecimalRange> samples2 = sample3.getSamples(); 387 if (samples2 == null) { 390 for (FixedDecimalRange sample : samples2) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 370 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType); 371 if (samples2 != null) { 372 samples.add(samples2); 389 Set<FixedDecimalRange> samples2 = sample3.getSamples(); 390 if (samples2 == null) { 393 for (FixedDecimalRange sample : samples2) {
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | beta_test.py | 306 samples2 = self.evaluate(beta2.sample(n_val, seed=123456)) 308 self.assertAllClose(samples1, samples2)
|
D | student_t_test.py | 189 samples2 = self.evaluate(student2.sample(n, seed=123456)) 191 self.assertAllClose(samples1, samples2)
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralRules.java | 1250 Set<FixedDecimalRange> samples2 = new LinkedHashSet<>(); in parse() local 1275 samples2.add(new FixedDecimalRange(sample, sample)); in parse() 1282 samples2.add(new FixedDecimalRange(start, end)); in parse() 1287 … return new FixedDecimalSamples(sampleType2, Collections.unmodifiableSet(samples2), bounded2); in parse()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralRules.java | 1185 Set<FixedDecimalRange> samples2 = new LinkedHashSet<>(); in parse() local 1210 samples2.add(new FixedDecimalRange(sample, sample)); in parse() 1217 samples2.add(new FixedDecimalRange(start, end)); in parse() 1222 … return new FixedDecimalSamples(sampleType2, Collections.unmodifiableSet(samples2), bounded2); in parse()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | intrapred_cfl_sse4.cc | 342 __m128i samples2, samples3; in CflSubsampler444_SSE4_1() local 371 samples2 = _mm_slli_epi16(_mm_cvtepu8_epi16(samples23), 3); in CflSubsampler444_SSE4_1() 374 StoreUnaligned16(luma_ptr + 16, samples2); in CflSubsampler444_SSE4_1() 376 inner_sum = _mm_add_epi16(samples2, inner_sum); in CflSubsampler444_SSE4_1() 396 StoreUnaligned16(luma_ptr + 16, samples2); in CflSubsampler444_SSE4_1()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | FragmentedMp4Builder.java | 98 … List<ByteBuffer> samples2 = o2.getSamples().subList(l2i(startSample2) - 1, l2i(endSample2) - 1); in sortTracksInSequence() 104 for (ByteBuffer byteBuffer : samples2) { in sortTracksInSequence()
|
/external/jemalloc_new/bin/ |
D | jeprof.in | 1704 my $samples2 = {}; # Map from line number to cumulative count 1772 AddEntry($samples2, $line, $running2); 1788 AddEntry($samples2, $lastline, $running2); 1829 my $n2 = GetEntry($samples2, $l);
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 5592 std::vector<Duration2> samples2; in operator BenchmarkStats<Duration2>() local 5593 samples2.reserve(samples.size()); in operator BenchmarkStats<Duration2>() 5594 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in operator BenchmarkStats<Duration2>() 5597 std::move(samples2), in operator BenchmarkStats<Duration2>() 7166 std::vector<Duration2> samples2; in operator SampleAnalysis<Duration2>() local 7167 samples2.reserve(samples.size()); in operator SampleAnalysis<Duration2>() 7168 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in operator SampleAnalysis<Duration2>() 7170 std::move(samples2), in operator SampleAnalysis<Duration2>() 7207 std::vector<Duration> samples2; in analyse() local 7208 samples2.reserve(samples.size()); in analyse() [all …]
|
/external/libabigail/tests/lib/ |
D | catch.hpp | 5625 std::vector<Duration2> samples2; in operator BenchmarkStats<Duration2>() local 5626 samples2.reserve(samples.size()); in operator BenchmarkStats<Duration2>() 5627 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in operator BenchmarkStats<Duration2>() 5630 std::move(samples2), in operator BenchmarkStats<Duration2>() 7198 std::vector<Duration2> samples2; in operator SampleAnalysis<Duration2>() local 7199 samples2.reserve(samples.size()); in operator SampleAnalysis<Duration2>() 7200 …std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { retu… in operator SampleAnalysis<Duration2>() 7202 std::move(samples2), in operator SampleAnalysis<Duration2>() 7239 std::vector<Duration> samples2; in analyse() local 7240 samples2.reserve(samples.size()); in analyse() [all …]
|