Searched refs:snapshot2 (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/metrics/ |
D | sparse_histogram_unittest.cc | 59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() local 60 EXPECT_EQ(3, snapshot2->TotalCount()); in TEST_F() 61 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST_F() 62 EXPECT_EQ(1, snapshot2->GetCount(101)); in TEST_F() 78 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() local 79 EXPECT_EQ(55, snapshot2->TotalCount()); in TEST_F() 80 EXPECT_EQ(30, snapshot2->GetCount(100)); in TEST_F() 81 EXPECT_EQ(25, snapshot2->GetCount(101)); in TEST_F()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | DiskLruCacheTest.java | 304 DiskLruCache.Snapshot snapshot2 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency() local 305 assertSnapshotValue(snapshot2, 0, "CCcc"); in readAndWriteOverlapsMaintainConsistency() 306 assertSnapshotValue(snapshot2, 1, "DDdd"); in readAndWriteOverlapsMaintainConsistency() 307 snapshot2.close(); in readAndWriteOverlapsMaintainConsistency()
|
/external/v8/test/cctest/ |
D | test-heap-profiler.cc | 703 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST() local 704 CHECK(ValidateSnapshot(snapshot2)); in TEST() 705 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST() 745 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST() local 746 CHECK(ValidateSnapshot(snapshot2)); in TEST() 749 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST() 786 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST() local 787 CHECK(ValidateSnapshot(snapshot2)); in TEST() 791 snapshot2->GetMaxSnapshotJSObjectId()); in TEST() 794 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST()
|
/external/libweave/src/ |
D | component_manager_unittest.cc | 1235 auto snapshot2 = manager_.GetAndClearRecordedStateChanges(); in TEST_F() local 1236 EXPECT_EQ(manager_.GetLastStateChangeId(), snapshot2.update_id); in TEST_F() 1237 EXPECT_TRUE(snapshot2.state_changes.empty()); in TEST_F()
|