/external/okhttp/okio/okio/src/test/java/okio/ |
D | SegmentSharingTest.java | 34 ByteString snapshot = new Buffer().snapshot(); in snapshotOfEmptyBuffer() local 35 assertEquivalent(snapshot, ByteString.EMPTY); in snapshotOfEmptyBuffer() 39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotsAreEquivalent() 40 assertEquivalent(byteString, concatenateBuffers(xs, ys + zs).snapshot()); in snapshotsAreEquivalent() 41 assertEquivalent(byteString, concatenateBuffers(xs + ys + zs).snapshot()); in snapshotsAreEquivalent() 46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotGetByte() 66 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotWriteToOutputStream() 78 ByteString snapshot = buffer.snapshot(); in snapshotSegmentsAreNotRecycled() local 79 assertEquals(xs + ys + zs, snapshot.utf8()); in snapshotSegmentsAreNotRecycled() 110 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotJavaSerialization() [all …]
|
/external/v8/test/cctest/ |
D | test-heap-profiler.cc | 98 const v8::HeapSnapshot* snapshot) { in GetGlobalObject() argument 99 CHECK_EQ(2, snapshot->GetRoot()->GetChildrenCount()); in GetGlobalObject() 102 snapshot->GetRoot()->GetChild(1)->GetToNode(); in GetGlobalObject() 141 static bool ValidateSnapshot(const v8::HeapSnapshot* snapshot, int depth = 3) { in ValidateSnapshot() argument 143 reinterpret_cast<const i::HeapSnapshot*>(snapshot)); in ValidateSnapshot() 215 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST() local 216 CHECK(ValidateSnapshot(snapshot)); in TEST() 217 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST() 243 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST() local 244 CHECK(ValidateSnapshot(snapshot)); in TEST() [all …]
|
/external/valgrind/massif/ |
D | ms_main.c | 95 snapshot=0 103 snapshot=1 127 - each snapshot specifies an x-axis value and one or more y-axis values. 1031 static Bool is_snapshot_in_use(Snapshot* snapshot) in is_snapshot_in_use() argument 1033 if (Unused == snapshot->kind) { in is_snapshot_in_use() 1035 tl_assert(snapshot->time == UNUSED_SNAPSHOT_TIME); in is_snapshot_in_use() 1036 tl_assert(snapshot->heap_extra_szB == 0); in is_snapshot_in_use() 1037 tl_assert(snapshot->heap_szB == 0); in is_snapshot_in_use() 1038 tl_assert(snapshot->stacks_szB == 0); in is_snapshot_in_use() 1039 tl_assert(snapshot->alloc_sxpt == NULL); in is_snapshot_in_use() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | SnapshotArray.java | 41 private T[] snapshot, recycled; field in SnapshotArray 79 snapshot = items; in begin() 87 if (snapshot == null) return; in end() 88 if (snapshot != items && snapshots == 0) { in end() 90 recycled = snapshot; in end() 94 snapshot = null; in end() 98 if (snapshot == null || snapshot != items) return; in modified()
|
/external/libchrome/base/metrics/ |
D | histogram_snapshot_manager.cc | 43 scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples()); in PrepareDelta() local 48 int corruption = histogram.FindCorruption(*snapshot); in PrepareDelta() 79 to_log = snapshot.release(); in PrepareDelta() 85 InspectLoggedSamplesInconsistency(*snapshot, already_logged); in PrepareDelta() 86 snapshot->Subtract(*already_logged); in PrepareDelta() 87 already_logged->Add(*snapshot); in PrepareDelta() 88 to_log = snapshot.get(); in PrepareDelta()
|
D | statistics_recorder.cc | 133 Histograms snapshot; in WriteHTMLGraph() local 134 GetSnapshot(query, &snapshot); in WriteHTMLGraph() 135 for (const HistogramBase* histogram : snapshot) { in WriteHTMLGraph() 151 Histograms snapshot; in WriteGraph() local 152 GetSnapshot(query, &snapshot); in WriteGraph() 153 for (const HistogramBase* histogram : snapshot) { in WriteGraph() 171 Histograms snapshot; in ToJSON() local 172 GetSnapshot(query, &snapshot); in ToJSON() 175 for (const HistogramBase* histogram : snapshot) { in ToJSON() 291 Histograms* snapshot) { in GetSnapshot() argument [all …]
|
D | histogram_unittest.cc | 338 scoped_ptr<SampleVector> snapshot = histogram->SnapshotSampleVector(); in TEST_F() local 340 histogram->FindCorruption(*snapshot)); in TEST_F() 341 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_F() 342 EXPECT_EQ(2, snapshot->TotalCount()); in TEST_F() 344 snapshot->counts_[3] += 100; // Sample count won't match redundant count. in TEST_F() 346 histogram->FindCorruption(*snapshot)); in TEST_F() 347 snapshot->counts_[2] -= 200; in TEST_F() 349 histogram->FindCorruption(*snapshot)); in TEST_F() 352 snapshot->counts_[1] += 100; in TEST_F() 354 histogram->FindCorruption(*snapshot)); in TEST_F() [all …]
|
D | sparse_histogram.cc | 73 scoped_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotSamples() local 76 snapshot->Add(samples_); in SnapshotSamples() 77 return std::move(snapshot); in SnapshotSamples() 136 scoped_ptr<HistogramSamples> snapshot = SnapshotSamples(); in WriteAsciiImpl() local 137 Count total_count = snapshot->TotalCount(); in WriteAsciiImpl() 149 scoped_ptr<SampleCountIterator> it = snapshot->Iterator(); in WriteAsciiImpl() 164 it = snapshot->Iterator(); in WriteAsciiImpl()
|
D | sparse_histogram_unittest.cc | 48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() local 49 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_F() 50 EXPECT_EQ(0, snapshot->sum()); in TEST_F() 67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() local 68 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_F() 69 EXPECT_EQ(0, snapshot->sum()); in TEST_F()
|
D | statistics_recorder_unittest.cc | 161 StatisticsRecorder::Histograms snapshot; in TEST_F() local 162 StatisticsRecorder::GetSnapshot("Test", &snapshot); in TEST_F() 163 EXPECT_EQ(3u, snapshot.size()); in TEST_F() 165 snapshot.clear(); in TEST_F() 166 StatisticsRecorder::GetSnapshot("1", &snapshot); in TEST_F() 167 EXPECT_EQ(1u, snapshot.size()); in TEST_F() 169 snapshot.clear(); in TEST_F() 170 StatisticsRecorder::GetSnapshot("hello", &snapshot); in TEST_F() 171 EXPECT_EQ(0u, snapshot.size()); in TEST_F()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AbstractService.java | 140 private volatile StateSnapshot snapshot = new StateSnapshot(NEW); 172 snapshot = new StateSnapshot(STARTING); 194 snapshot = new StateSnapshot(TERMINATED); 198 snapshot = new StateSnapshot(STARTING, true, null); 202 snapshot = new StateSnapshot(STOPPING); 304 if (snapshot.state != STARTING) { 306 "Cannot notifyStarted() when the service is " + snapshot.state); 311 if (snapshot.shutdownWhenStartupFinishes) { 312 snapshot = new StateSnapshot(STOPPING); 317 snapshot = new StateSnapshot(RUNNING); [all …]
|
/external/valgrind/massif/tests/ |
D | culling1.stderr.exp | 226 Massif: (skipped 1 snapshot) 228 Massif: (skipped 1 snapshot) 230 Massif: (skipped 1 snapshot) 232 Massif: (skipped 1 snapshot) 234 Massif: (skipped 1 snapshot) 236 Massif: (skipped 1 snapshot) 238 Massif: (skipped 1 snapshot) 240 Massif: (skipped 1 snapshot) 242 Massif: (skipped 1 snapshot) 244 Massif: (skipped 1 snapshot) [all …]
|
/external/webrtc/tools/cpu/ |
D | cpu_mon.py | 46 snapshot = CpuSnapshot(label) 47 snapshot.Capture(sample_count) 49 return snapshot 63 snapshot = GrabCpuSamples(sample_count) 64 if snapshot == None: 66 snapshots.append(snapshot)
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | DiskLruCacheTest.java | 163 DiskLruCache.Snapshot snapshot = cache.get("k1"); in writeAndReadEntry() local 164 assertSnapshotValue(snapshot, 0, "ABC"); in writeAndReadEntry() 165 assertSnapshotValue(snapshot, 1, "DE"); in writeAndReadEntry() 176 DiskLruCache.Snapshot snapshot = cache.get("k1"); in readAndWriteEntryAcrossCacheOpenAndClose() local 177 assertSnapshotValue(snapshot, 0, "A"); in readAndWriteEntryAcrossCacheOpenAndClose() 178 assertSnapshotValue(snapshot, 1, "B"); in readAndWriteEntryAcrossCacheOpenAndClose() 179 snapshot.close(); in readAndWriteEntryAcrossCacheOpenAndClose() 190 DiskLruCache.Snapshot snapshot = cache.get("k1"); in readAndWriteEntryWithoutProperClose() local 191 assertSnapshotValue(snapshot, 0, "A"); in readAndWriteEntryWithoutProperClose() 192 assertSnapshotValue(snapshot, 1, "B"); in readAndWriteEntryWithoutProperClose() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 181 DiskLruCache.Snapshot snapshot; in get() local 184 snapshot = cache.get(key); in get() 185 if (snapshot == null) { in get() 194 entry = new Entry(snapshot.getSource(ENTRY_METADATA)); in get() 196 Util.closeQuietly(snapshot); in get() 200 Response response = entry.response(request, snapshot); in get() 253 DiskLruCache.Snapshot snapshot = ((CacheResponseBody) cached.body()).snapshot; in update() local 256 editor = snapshot.edit(); // Returns null if snapshot is not current. in update() 331 DiskLruCache.Snapshot snapshot = delegate.next(); in urls() local 333 BufferedSource metadata = Okio.buffer(snapshot.getSource(ENTRY_METADATA)); in urls() [all …]
|
/external/v8/src/profiler/ |
D | heap-snapshot-generator-inl.h | 15 return &snapshot()->entries()[from_index()]; in from() 20 return snapshot()->profiler()->isolate(); in isolate() 24 HeapSnapshot* HeapGraphEdge::snapshot() const { in snapshot() function 25 return to_entry_->snapshot(); in snapshot()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
D | volume.py | 132 snapshot = self.get_snapshots()[-1] 133 return self.create_from_snapshot(name, snapshot, size) 135 def create_from_snapshot(self, name, snapshot, size=None): argument 143 ebs_volume = ec2.create_volume(size, self.zone_name, snapshot) 191 for snapshot in rs: 192 if snapshot.volume_id in all_vols: 193 if snapshot.progress == '100%': 194 snapshot.date = boto.utils.parse_ts(snapshot.start_time) 195 snapshot.keep = True 196 snaps.append(snapshot) [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
D | Selection.java | 36 snapshot(); in choose() 79 void snapshot () { in snapshot() method in Selection 97 snapshot(); in set() 109 snapshot(); in setAll() 135 snapshot(); in addAll() 159 snapshot(); in removeAll() 174 snapshot(); in clear()
|
/external/valgrind/gdbserver_tests/ |
D | mssnapshot.stderrB.exp | 18 snapshot [<filename>] 20 takes a snapshot (or a detailed snapshot) 24 saves all snapshot(s) taken so far in <filename>
|
/external/chromium-trace/catapult/tracing/tracing/ui/extras/system_stats/ |
D | system_stats_snapshot_view.css | 6 .tr-ui-e-system-stats-snapshot-view .subhead { 11 .tr-ui-e-system-stats-snapshot-view ul { 21 .tr-ui-e-system-stats-snapshot-view li {
|
/external/libpcap/ |
D | pcap-snoop.c | 110 if (cc == (p->snapshot + sizeof(struct snoopheader)) && in pcap_read_snoop() 111 (datalen < p->snapshot)) in pcap_read_snoop() 114 caplen = (datalen < p->snapshot) ? datalen : p->snapshot; in pcap_read_snoop() 349 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen) in pcap_activate_snoop() 350 p->snapshot = ifr.ifr_mtu + ll_hdrlen; in pcap_activate_snoop() 358 snooplen = p->snapshot - ll_hdrlen; in pcap_activate_snoop()
|
D | pcap-snit.c | 190 if (caplen > p->snapshot) in pcap_read_snit() 191 caplen = p->snapshot; in pcap_read_snit() 299 if (p->snapshot < 96) in pcap_activate_snit() 303 p->snapshot = 96; in pcap_activate_snit() 364 si.ic_len = sizeof(p->snapshot); in pcap_activate_snit() 365 si.ic_dp = (char *)&p->snapshot; in pcap_activate_snit()
|
D | pcap-nit.c | 180 if (caplen > p->snapshot) in pcap_read_nit() 181 caplen = p->snapshot; in pcap_read_nit() 223 nioc.nioc_snaplen = p->snapshot; in nit_setflags() 274 if (p->snapshot < 96) in pcap_activate_nit() 278 p->snapshot = 96; in pcap_activate_nit()
|
/external/autotest/client/tests/kvmtest/ |
D | control.with_modbuild | 14 # nightly kvm snapshot base URL 21 # look for yesterday's snapshot 37 # ex: http://people.qumranet.com/avi/snapshots/kvm-snapshot-20071021.tar.gz 40 tarball = base+'kvm-snapshot-%s.tar.gz' %(d)
|
/external/v8/src/ |
D | startup-data-util.cc | 108 char* snapshot; in InitializeExternalStartupData() local 110 RelativePath(&snapshot, directory_path, "snapshot_blob.bin")); in InitializeExternalStartupData() 112 free(snapshot); in InitializeExternalStartupData()
|