Home
last modified time | relevance | path

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

12345678910

/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/v8/test/cctest/
Dtest-heap-profiler.cc98 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/
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/libgdx/gdx/src/com/badlogic/gdx/utils/
DSnapshotArray.java41 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/
Dhistogram_snapshot_manager.cc43 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()
Dstatistics_recorder.cc133 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 …]
Dhistogram_unittest.cc338 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 …]
Dsparse_histogram.cc73 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()
Dsparse_histogram_unittest.cc48 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()
Dstatistics_recorder_unittest.cc161 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/
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/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/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-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/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/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
Dvolume.py132 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/
DSelection.java36 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/
Dmssnapshot.stderrB.exp18 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/
Dsystem_stats_snapshot_view.css6 .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/
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/autotest/client/tests/kvmtest/
Dcontrol.with_modbuild14 # 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/
Dstartup-data-util.cc108 char* snapshot; in InitializeExternalStartupData() local
110 RelativePath(&snapshot, directory_path, "snapshot_blob.bin")); in InitializeExternalStartupData()
112 free(snapshot); in InitializeExternalStartupData()

12345678910