Home
last modified time | relevance | path

Searched refs:SampleCountIterator (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_samples.h22 class SampleCountIterator; variable
146 virtual std::unique_ptr<SampleCountIterator> Iterator() const = 0;
178 virtual bool AddSubtractImpl(SampleCountIterator* iter, Operator op) = 0;
210 class BASE_EXPORT SampleCountIterator {
212 virtual ~SampleCountIterator();
236 class BASE_EXPORT SingleSampleIterator : public SampleCountIterator {
Dhistogram_samples.cc30 class SampleCountPickleIterator : public SampleCountIterator {
194 std::unique_ptr<SampleCountIterator> it = other.Iterator(); in Add()
214 std::unique_ptr<SampleCountIterator> it = other.Iterator(); in Subtract()
226 for (std::unique_ptr<SampleCountIterator> it = Iterator(); !it->Done(); in Serialize()
266 SampleCountIterator::~SampleCountIterator() = default;
268 bool SampleCountIterator::GetBucketIndex(size_t* index) const { in GetBucketIndex()
Ddummy_histogram.cc18 class DummySampleCountIterator : public SampleCountIterator {
52 std::unique_ptr<SampleCountIterator> Iterator() const override { in Iterator()
55 bool AddSubtractImpl(SampleCountIterator* iter, Operator op) override { in AddSubtractImpl()
Dsample_map.cc22 class SampleMapIterator : public SampleCountIterator {
108 std::unique_ptr<SampleCountIterator> SampleMap::Iterator() const { in Iterator()
112 bool SampleMap::AddSubtractImpl(SampleCountIterator* iter, Operator op) { in AddSubtractImpl()
Dsample_map.h36 std::unique_ptr<SampleCountIterator> Iterator() const override;
40 bool AddSubtractImpl(SampleCountIterator* iter, Operator op) override;
Dsample_vector.h42 std::unique_ptr<SampleCountIterator> Iterator() const override;
52 SampleCountIterator* iter,
154 class BASE_EXPORT SampleVectorIterator : public SampleCountIterator {
Dpersistent_sample_map.h45 std::unique_ptr<SampleCountIterator> Iterator() const override;
63 bool AddSubtractImpl(SampleCountIterator* iter, Operator op) override;
Dsample_map_unittest.cc81 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST()
124 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST()
151 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST()
Dpersistent_sample_map.cc24 class PersistentSampleMapIterator : public SampleCountIterator {
153 std::unique_ptr<SampleCountIterator> PersistentSampleMap::Iterator() const { in Iterator()
195 bool PersistentSampleMap::AddSubtractImpl(SampleCountIterator* iter, in AddSubtractImpl()
Dsample_vector_unittest.cc257 std::unique_ptr<SampleCountIterator> it2 = samples.Iterator(); in TEST_F()
282 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST_F()
322 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST_F()
406 std::unique_ptr<SampleCountIterator> it = samples2.Iterator(); in TEST_F()
501 std::unique_ptr<SampleCountIterator> it = samples1.Iterator(); in TEST_F()
Dpersistent_sample_map_unittest.cc164 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST()
213 std::unique_ptr<SampleCountIterator> it = samples1.Iterator(); in TEST()
243 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); in TEST()
Dsample_vector.cc109 std::unique_ptr<SampleCountIterator> SampleVectorBase::Iterator() const { in Iterator()
128 bool SampleVectorBase::AddSubtractImpl(SampleCountIterator* iter, in AddSubtractImpl()
Dsparse_histogram.cc246 std::unique_ptr<SampleCountIterator> it = snapshot->Iterator(); in WriteAsciiImpl()
Dsparse_histogram_unittest.cc364 std::unique_ptr<SampleCountIterator> it = snapshot->Iterator(); in TEST_P()