Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/okhttp/okio/okio/src/test/java/okio/
DSegmentSharingTest.java34 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/
Dms_main.c95 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/
Dsparse_histogram.cc121 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 …]
Dstatistics_recorder.cc211 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 …]
Dhistogram_delta_serialization_unittest.cc38 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()
Dsparse_histogram_unittest.cc95 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()
Dhistogram_unittest.cc486 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 …]
Dpersistent_histogram_allocator_unittest.cc201 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()
Dhistogram.cc444 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 …]
Dhistogram_delta_serialization.cc91 const HistogramSamples& snapshot) { in RecordDelta() argument
93 DCHECK_NE(0, snapshot.TotalCount()); in RecordDelta()
97 snapshot.Serialize(&pickle); in RecordDelta()
/external/valgrind/massif/tests/
Dculling1.stderr.exp226 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/
DAbstractService.java140 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/
DDiskLruCacheTest.java163 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/
Dcpu_mon.py46 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/
DCache.java181 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/
Dtrigger-snapshot.tc29 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/
Dheap-snapshot-generator-inl.h15 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/
Dmssnapshot.stderrB.exp18 snapshot [<filename>]
20 takes a snapshot (or a detailed snapshot)
24 saves all snapshot(s) taken so far in <filename>
/external/libpcap/
Dpcap-snoop.c110 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()
Dpcap-snit.c190 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()
Dpcap-nit.c180 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/
Dstartup-data-util.cc88 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/
Dsnapshot.h26 explicit SnapshotData(const Vector<const byte> snapshot) in SnapshotData() argument
27 : SerializedData(const_cast<byte*>(snapshot.begin()), snapshot.length()) { in SnapshotData()
/external/testng/gradle/
Dpublishing-jcenter.gradle3 // ./gradlew artifactoryPublish (upload snapshot to jfrog)
50 repoKey = 'oss-snapshot-local'
63 repoKey = 'libs-snapshot'
/external/libusb/.private/
Dwbs_wince.txt1 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.

1234567891011