Home
last modified time | relevance | path

Searched refs:snapshot1 (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() local
54 EXPECT_EQ(1, snapshot1->TotalCount()); in TEST_F()
55 EXPECT_EQ(1, snapshot1->GetCount(100)); in TEST_F()
72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() local
73 EXPECT_EQ(15, snapshot1->TotalCount()); in TEST_F()
74 EXPECT_EQ(15, snapshot1->GetCount(100)); in TEST_F()
/external/v8/test/cctest/
Dtest-heap-profiler.cc694 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST() local
695 CHECK(ValidateSnapshot(snapshot1)); in TEST()
696 v8::SnapshotObjectId maxId1 = snapshot1->GetMaxSnapshotJSObjectId(); in TEST()
736 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST() local
737 CHECK(ValidateSnapshot(snapshot1)); in TEST()
748 const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1); in TEST()
781 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST() local
782 CHECK(ValidateSnapshot(snapshot1)); in TEST()
789 CHECK_GT(snapshot1->GetMaxSnapshotJSObjectId(), 7000u); in TEST()
790 CHECK(snapshot1->GetMaxSnapshotJSObjectId() <= in TEST()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java294 DiskLruCache.Snapshot snapshot1 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency() local
295 BufferedSource inV1 = Okio.buffer(snapshot1.getSource(0)); in readAndWriteOverlapsMaintainConsistency()
311 assertSnapshotValue(snapshot1, 1, "BBbb"); in readAndWriteOverlapsMaintainConsistency()
312 snapshot1.close(); in readAndWriteOverlapsMaintainConsistency()