/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/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/libchrome/base/metrics/ |
D | sparse_histogram.cc | 121 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotSamples() local 124 snapshot->Add(*samples_); in SnapshotSamples() 125 return std::move(snapshot); in SnapshotSamples() 131 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotDelta() local 133 snapshot->Add(*samples_); in SnapshotDelta() 136 snapshot->Subtract(*logged_samples_); in SnapshotDelta() 137 logged_samples_->Add(*snapshot); in SnapshotDelta() 138 return std::move(snapshot); in SnapshotDelta() 145 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotFinalDelta() local 147 snapshot->Add(*samples_); in SnapshotFinalDelta() [all …]
|
D | statistics_recorder.cc | 211 Histograms snapshot; in WriteHTMLGraph() local 212 GetSnapshot(query, &snapshot); in WriteHTMLGraph() 213 std::sort(snapshot.begin(), snapshot.end(), &HistogramNameLesser); in WriteHTMLGraph() 214 for (const HistogramBase* histogram : snapshot) { in WriteHTMLGraph() 230 Histograms snapshot; in WriteGraph() local 231 GetSnapshot(query, &snapshot); in WriteGraph() 232 std::sort(snapshot.begin(), snapshot.end(), &HistogramNameLesser); in WriteGraph() 233 for (const HistogramBase* histogram : snapshot) { in WriteGraph() 251 Histograms snapshot; in ToJSON() local 252 GetSnapshot(query, &snapshot); in ToJSON() [all …]
|
D | histogram_delta_serialization_unittest.cc | 38 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST() local 39 EXPECT_EQ(1, snapshot->GetCount(1)); in TEST() 40 EXPECT_EQ(1, snapshot->GetCount(10)); in TEST() 41 EXPECT_EQ(1, snapshot->GetCount(100)); in TEST() 42 EXPECT_EQ(1, snapshot->GetCount(1000)); in TEST()
|
D | sparse_histogram_unittest.cc | 95 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() local 96 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 97 EXPECT_EQ(0, snapshot->sum()); in TEST_P() 114 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() local 115 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 116 EXPECT_EQ(0, snapshot->sum()); in TEST_P() 133 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() local 134 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 135 EXPECT_EQ(0, snapshot->sum()); in TEST_P()
|
D | histogram_unittest.cc | 486 std::unique_ptr<SampleVector> snapshot = histogram->SnapshotSampleVector(); in TEST_P() local 488 histogram->FindCorruption(*snapshot)); in TEST_P() 489 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_P() 490 EXPECT_EQ(2, snapshot->TotalCount()); in TEST_P() 492 snapshot->counts_[3] += 100; // Sample count won't match redundant count. in TEST_P() 494 histogram->FindCorruption(*snapshot)); in TEST_P() 495 snapshot->counts_[2] -= 200; in TEST_P() 497 histogram->FindCorruption(*snapshot)); in TEST_P() 500 snapshot->counts_[1] += 100; in TEST_P() 502 histogram->FindCorruption(*snapshot)); in TEST_P() [all …]
|
D | persistent_histogram_allocator_unittest.cc | 201 std::unique_ptr<HistogramSamples> snapshot = found->SnapshotSamples(); in TEST_F() local 202 EXPECT_EQ(recovered->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F() 203 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F() 204 EXPECT_EQ(2, snapshot->GetCount(1)); in TEST_F() 205 EXPECT_EQ(1, snapshot->GetCount(4)); in TEST_F() 206 EXPECT_EQ(1, snapshot->GetCount(6)); in TEST_F()
|
D | histogram.cc | 444 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); in SnapshotDelta() local 448 logged_samples_.swap(snapshot); in SnapshotDelta() 453 snapshot->Subtract(*logged_samples_); in SnapshotDelta() 454 logged_samples_->Add(*snapshot); in SnapshotDelta() 455 return snapshot; in SnapshotDelta() 462 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); in SnapshotFinalDelta() local 466 snapshot->Subtract(*logged_samples_); in SnapshotFinalDelta() 467 return snapshot; in SnapshotFinalDelta() 598 std::unique_ptr<SampleVector> snapshot = SnapshotSampleVector(); in WriteAsciiImpl() local 599 Count sample_count = snapshot->TotalCount(); in WriteAsciiImpl() [all …]
|
D | histogram_delta_serialization.cc | 91 const HistogramSamples& snapshot) { in RecordDelta() argument 93 DCHECK_NE(0, snapshot.TotalCount()); in RecordDelta() 97 snapshot.Serialize(&pickle); in RecordDelta()
|
/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/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/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/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/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/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-snapshot.tc | 29 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger` 36 echo 0 > snapshot 41 grep sched_process_fork snapshot > /dev/null || \ 45 echo 0 > snapshot
|
/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/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/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/v8/src/ |
D | startup-data-util.cc | 88 char* snapshot; in InitializeExternalStartupData() local 91 base::RelativePath(&snapshot, directory_path, "snapshot_blob.bin")); in InitializeExternalStartupData() 93 free(snapshot); in InitializeExternalStartupData()
|
/external/v8/src/snapshot/ |
D | snapshot.h | 26 explicit SnapshotData(const Vector<const byte> snapshot) in SnapshotData() argument 27 : SerializedData(const_cast<byte*>(snapshot.begin()), snapshot.length()) { in SnapshotData()
|
/external/testng/gradle/ |
D | publishing-jcenter.gradle | 3 // ./gradlew artifactoryPublish (upload snapshot to jfrog) 50 repoKey = 'oss-snapshot-local' 63 repoKey = 'libs-snapshot'
|
/external/libusb/.private/ |
D | wbs_wince.txt | 1 libusb 1.0 Windows CE binary snapshot - README 4 * The latest version of this snapshot can always be downloaded at: * 8 The binaries contained in this snapshot are licensed under the 11 is available for download at the same location as this binary snapshot.
|