Lines Matching refs:scoped_ptr
39 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) { in NewSparseHistogram()
40 return scoped_ptr<SparseHistogram>(new SparseHistogram(name)); in NewSparseHistogram()
47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()
48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F()
53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F()
59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F()
66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()
67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F()
72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F()
78 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F()
100 scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples(); in TEST_F()
125 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()