Home
last modified time | relevance | path

Searched refs:samples2 (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/base/metrics/
Dsample_vector_unittest.cc62 SampleVector samples2(&ranges); in TEST() local
63 samples2.Accumulate(1, 200); in TEST()
64 samples2.Accumulate(2, 200); in TEST()
65 samples2.Accumulate(4, 200); in TEST()
66 EXPECT_EQ(1400, samples2.sum()); in TEST()
67 EXPECT_EQ(600, samples2.TotalCount()); in TEST()
68 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
70 samples1.Add(samples2); in TEST()
79 samples1.Subtract(samples2); in TEST()
117 SampleVector samples2(&ranges2); in TEST() local
[all …]
Dsample_map_unittest.cc28 SampleMap samples2; in TEST() local
34 samples2.Accumulate(1, 200); in TEST()
35 samples2.Accumulate(2, 200); in TEST()
36 samples2.Accumulate(4, 200); in TEST()
38 samples1.Add(samples2); in TEST()
47 samples1.Subtract(samples2); in TEST()
/external/chromium_org/chrome/browser/search/
Dmost_visited_iframe_source_unittest.cc47 scoped_ptr<base::HistogramSamples> samples2(histogram->SnapshotSamples()); in TEST_F() local
48 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
49 EXPECT_EQ(1, samples2->GetCount(1)); in TEST_F()
56 EXPECT_EQ(samples2->TotalCount() + 2, samples3->TotalCount()); in TEST_F()
65 EXPECT_EQ(samples2->TotalCount() + 2, samples3->TotalCount()); in TEST_F()
90 scoped_ptr<base::HistogramSamples> samples2(histogram->SnapshotSamples()); in TEST_F() local
91 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
92 EXPECT_EQ(1, samples2->GetCount(1)); in TEST_F()
101 EXPECT_EQ(samples2->TotalCount() + 2, samples3->TotalCount()); in TEST_F()
/external/chromium_org/dbus/
Dsignal_sender_verification_unittest.cc204 scoped_ptr<base::HistogramSamples> samples2( in TEST_F() local
208 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary_unittest.cc1126 scoped_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_F() local
1128 samples2->Subtract(*baseline); in TEST_F()
1129 EXPECT_EQ(2,samples2->sum()); in TEST_F()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DFragmentedMp4Builder.java98 … List<ByteBuffer> samples2 = o2.getSamples().subList(l2i(startSample2) - 1, l2i(endSample2) - 1); in sortTracksInSequence()
104 for (ByteBuffer byteBuffer : samples2) { in sortTracksInSequence()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dpprof1654 my $samples2 = {}; # Map from line number to cumulative count
1722 AddEntry($samples2, $line, $running2);
1738 AddEntry($samples2, $lastline, $running2);
1779 my $n2 = GetEntry($samples2, $l);
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dpprof1654 my $samples2 = {}; # Map from line number to cumulative count
1722 AddEntry($samples2, $line, $running2);
1738 AddEntry($samples2, $lastline, $running2);
1779 my $n2 = GetEntry($samples2, $l);
/external/chromium_org/net/cookies/
Dcookie_monster_unittest.cc2294 scoped_ptr<base::HistogramSamples> samples2( in TEST_F() local
2296 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
2303 EXPECT_EQ(samples2->TotalCount(), samples3->TotalCount()); in TEST_F()