/external/v8/src/ |
snapshot-empty.cc | 32 #include "snapshot.h" 37 const byte Snapshot::data_[] = { 0 }; 38 const byte* Snapshot::raw_data_ = NULL; 39 const int Snapshot::size_ = 0; 40 const int Snapshot::raw_size_ = 0; 41 const byte Snapshot::context_data_[] = { 0 }; 42 const byte* Snapshot::context_raw_data_ = NULL; 43 const int Snapshot::context_size_ = 0; 44 const int Snapshot::context_raw_size_ = 0; 46 const int Snapshot::new_space_used_ = 0 [all...] |
snapshot-common.cc | 34 #include "snapshot.h" 40 bool Snapshot::Deserialize(const byte* content, int len) { 47 bool Snapshot::Initialize(const char* snapshot_file) { 63 Handle<Context> Snapshot::NewContextFromSnapshot() {
|
snapshot.h | 36 class Snapshot { 38 // Initialize the VM from the given snapshot file. If snapshot_file is 39 // NULL, use the internal snapshot instead. Returns false if no snapshot 43 // Create a new context using the internal partial snapshot. 46 // Returns whether or not the snapshot is enabled. 49 // Write snapshot to the given file. Returns true if snapshot was written 86 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
|
/external/skia/legacy/src/animator/ |
SkSnapshot.h | 19 DECLARE_MEMBER_INFO(Snapshot);
|
/external/skia/src/animator/ |
SkSnapshot.h | 19 DECLARE_MEMBER_INFO(Snapshot);
|
/frameworks/base/libs/hwui/ |
Snapshot.h | 36 * A snapshot holds information about the current state of the rendering 37 * surface. A snapshot is usually created whenever the user calls save() 38 * and discarded when the user calls restore(). Once a snapshot is created, 41 * Each snapshot has a link to a previous snapshot, indicating the previous 44 class Snapshot: public LightRefBase<Snapshot> { 47 Snapshot(); 48 Snapshot(const sp<Snapshot>& s, int saveFlags) [all...] |
Snapshot.cpp | 19 #include "Snapshot.h" 30 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0), 40 * Copies the specified snapshot/ The specified snapshot is stored as 41 * the previous snapshot. 43 Snapshot::Snapshot(const sp<Snapshot>& s, int saveFlags): 67 if (s->flags & Snapshot::kFlagFboTarget) [all...] |
SkiaShader.h | 31 #include "Snapshot.h" 65 virtual void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, 145 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, 168 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, 192 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, 235 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot [all...] |
OpenGLRenderer.h | 42 #include "Snapshot.h" 315 * Scales the alpha on the current snapshot. This alpha value will be modulated 342 * not multiply the paint's alpha by the current snapshot's alpha, and does 386 * Computes the projection matrix, initialize the first snapshot 427 * Compose the layer defined in the current snapshot with the layer 428 * defined by the previous snapshot. 430 * The current snapshot *must* be a layer (flag kFlagIsLayer set.) 432 * @param curent The current snapshot containing the layer to compose 433 * @param previous The previous snapshot to compose the current layer with 435 virtual void composeLayer(sp<Snapshot> current, sp<Snapshot> previous) [all...] |
Android.mk | 40 Snapshot.cpp \
|
SkiaShader.cpp | 85 void SkiaShader::setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, 141 const Snapshot& snapshot, GLuint* textureUnit) { 227 const Snapshot& snapshot, GLuint* textureUnit) { 347 const Snapshot& snapshot, GLuint* textureUnit) { 413 const Snapshot& snapshot, GLuint* textureUnit) [all...] |
/external/chromium/base/ |
tracked_objects.h | 122 // purposes, we need to construct Snapshot instances for each combination of 124 // lifetimes. We gather such data into a Snapshot instances, so that such 126 // processing). Snapshot instances use pointers to constant portions of the 132 // contributes to it by adding or updating Snapshot instances. DataCollector 134 // accumulate all Snapshot instances. 140 // snapshot instances, and are used to print sub-totals in an about:tasks page. 252 class BASE_API Snapshot { 255 Snapshot(const BirthOnThread& birth_on_thread, const ThreadData& death_thread, 259 Snapshot(const BirthOnThread& birth_on_thread, int count); 276 void Add(const Snapshot& other) [all...] |
tracked_objects.cc | 287 // snapshot it (but they lock before copying it). 541 Snapshot::Snapshot(const BirthOnThread& birth_on_thread, 549 Snapshot::Snapshot(const BirthOnThread& birth_on_thread, int count) 555 const std::string Snapshot::DeathThreadName() const { 561 void Snapshot::Write(std::string* output) const { 569 void Snapshot::Add(const Snapshot& other) { 623 collection_.push_back(Snapshot(*it->first, thread_data, it->second)) [all...] |
process_util.cc | 47 ProcessIterator::ProcessEntries ProcessIterator::Snapshot() {
|
/external/chromium/net/disk_cache/ |
stats.h | 77 // to take a snapshot of the data_sizes_ as the histogram data. 79 void Snapshot(StatsHistogram::StatsSamples* samples) const;
|
stats_histogram.cc | 78 stats_->Snapshot(&my_sample); 88 const SampleSet& snapshot) const {
|
/libcore/luni/src/test/java/libcore/io/ |
DiskLruCacheTest.java | 80 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 81 assertEquals("ABC", snapshot.getString(0)); 82 assertEquals("DE", snapshot.getString(1)); 93 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 94 assertEquals("A", snapshot.getString(0)); 95 assertEquals("B", snapshot.getString(1)); 96 snapshot.close(); 144 DiskLruCache.Snapshot k1Snapshot = cache.get("k1") 395 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 541 DiskLruCache.Snapshot snapshot = cache.get("A"); local 638 DiskLruCache.Snapshot snapshot = cache.get("A"); local 667 DiskLruCache.Snapshot snapshot = cache.get("A"); local 676 DiskLruCache.Snapshot snapshot = cache.get("A"); local 688 DiskLruCache.Snapshot snapshot = cache.get("A"); local 699 DiskLruCache.Snapshot snapshot = cache.get("A"); local 710 DiskLruCache.Snapshot snapshot = cache.get("A"); local 849 DiskLruCache.Snapshot snapshot = cache.get(key); local 861 DiskLruCache.Snapshot snapshot = cache.get(key); local [all...] |
/external/v8/test/cctest/ |
test-serialize.cc | 38 #include "snapshot.h" 176 PrintF("Unable to write to snapshot file \"%s\"\n", snapshot_file); 272 CHECK(Snapshot::Initialize(FLAG_testing_serialization_file)); 291 // serialize a snapshot in a VM that is booted from a snapshot. 292 if (!Snapshot::IsEnabled()) { 305 if (!Snapshot::IsEnabled()) { 318 if (!Snapshot::IsEnabled()) { 335 if (!Snapshot::IsEnabled()) { 435 if (!Snapshot::IsEnabled()) 447 byte* snapshot = ReadBytes(file_name, &snapshot_size); local 532 byte* snapshot = ReadBytes(file_name, &snapshot_size); local [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
DiskLruCacheTest.java | 81 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 82 assertEquals("ABC", snapshot.getString(0)); 83 assertEquals("DE", snapshot.getString(1)); 94 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 95 assertEquals("A", snapshot.getString(0)); 96 assertEquals("B", snapshot.getString(1)); 97 snapshot.close(); 145 DiskLruCache.Snapshot k1Snapshot = cache.get("k1") 394 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 540 DiskLruCache.Snapshot snapshot = cache.get("A"); local 601 DiskLruCache.Snapshot snapshot = cache.get("A"); local 610 DiskLruCache.Snapshot snapshot = cache.get("A"); local 622 DiskLruCache.Snapshot snapshot = cache.get("A"); local 633 DiskLruCache.Snapshot snapshot = cache.get("A"); local 644 DiskLruCache.Snapshot snapshot = cache.get("A"); local 783 DiskLruCache.Snapshot snapshot = cache.get(key); local 795 DiskLruCache.Snapshot snapshot = cache.get(key); local [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpResponseCache.java | 114 DiskLruCache.Snapshot snapshot; local 117 snapshot = cache.get(key); 118 if (snapshot == null) { 121 entry = new Entry(snapshot.getInputStream(ENTRY_METADATA)); 128 snapshot.close(); 132 return entry.isHttps() ? new EntrySecureCacheResponse(entry, snapshot) 133 : new EntryCacheResponse(entry, snapshot); 202 DiskLruCache.Snapshot snapshot = (conditionalCacheHit instanceof EntryCacheResponse local [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpResponseCache.java | 95 DiskLruCache.Snapshot snapshot; local 98 snapshot = cache.get(key); 99 if (snapshot == null) { 102 entry = new Entry(snapshot.getInputStream(ENTRY_METADATA)); 109 snapshot.close(); 114 ? new EntrySecureCacheResponse(entry, snapshot) 115 : new EntryCacheResponse(entry, snapshot); 186 DiskLruCache.Snapshot snapshot = (conditionalCacheHit instanceof EntryCacheResponse local [all...] |
/external/valgrind/main/massif/ |
ms_main.c | 44 // - "show me the extra allocations since the last snapshot" 101 snapshot=0 109 snapshot=1 133 - each snapshot specifies an x-axis value and one or more y-axis values. 204 // - Detailed: these record those things in a normal snapshot, plus a very 209 // - Temporary: Massif does a temporary snapshot every so often. The idea 215 // - Permanent: Massif takes a permanent (detailed) snapshot in some 217 // - Peak snapshot: When the memory usage peak is reached, it takes a 218 // snapshot. It keeps this, unless the peak is subsequently exceeded, 219 // in which case it will overwrite the peak snapshot 1148 Snapshot* snapshot = &snapshots[i]; local 1390 Snapshot* snapshot; local 2372 Snapshot* snapshot = & snapshots_array[i]; local 2393 Snapshot snapshot; local [all...] |
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
DiskLruCache.java | 90 * <p>Clients call {@link #get} to read a snapshot of an entry. The read will 168 * a sequence number each time an edit is committed. A snapshot is stale if 469 * Returns a snapshot of the entry named {@code key}, or null if it doesn't 473 public synchronized Snapshot get(String key) throws IOException { 487 * snapshot. If we opened streams lazily then the streams could come 506 return new Snapshot(key, entry.sequenceNumber, ins); 523 return null; // snapshot is stale 728 * A snapshot of the values for an entry. 730 public final class Snapshot implements Closeable { 735 private Snapshot(String key, long sequenceNumber, InputStream[] ins) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
DiskLruCache.java | 80 * <p>Clients call {@link #get} to read a snapshot of an entry. The read will 153 * a sequence number each time an edit is committed. A snapshot is stale if 356 * Returns a snapshot of the entry named {@code key}, or null if it doesn't 360 public synchronized Snapshot get(String key) throws IOException { 373 // snapshot. If we opened streams lazily then the streams could come 391 return new Snapshot(key, entry.sequenceNumber, ins); 408 return null; // snapshot is stale 607 /** A snapshot of the values for an entry. */ 608 public final class Snapshot implements Closeable { 613 private Snapshot(String key, long sequenceNumber, InputStream[] ins) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
DiskLruCache.java | 79 * <p>Clients call {@link #get} to read a snapshot of an entry. The read will 154 * a sequence number each time an edit is committed. A snapshot is stale if 367 * Returns a snapshot of the entry named {@code key}, or null if it doesn't 371 public synchronized Snapshot get(String key) throws IOException { 385 * snapshot. If we opened streams lazily then the streams could come 404 return new Snapshot(key, entry.sequenceNumber, ins); 421 return null; // snapshot is stale 630 * A snapshot of the values for an entry. 632 public final class Snapshot implements Closeable { 637 private Snapshot(String key, long sequenceNumber, InputStream[] ins) [all...] |