Home | History | Annotate | Download | only in core

Lines Matching full:data

17  *  SkData holds an immutable data buffer. Not only is the data immutable,
18 * but the actual ptr that is returned (by data() or bytes()) is guaranteed
33 * Returns the ptr to the data.
35 const void* data() const { return fPtr; }
38 * Like data(), returns a read-only ptr into the data, but in this case
46 * Helper to copy a range of the data into a caller-provided buffer.
48 * length to the size of the data. If buffer is NULL, it is ignored, and
61 * of scope, allowing for custom allocation/freeing of the data.
66 * Create a new dataref by copying the specified data
68 static SkData* NewWithCopy(const void* data, size_t length);
79 * Create a new dataref, taking the data ptr as is, and using the
82 static SkData* NewWithProc(const void* data, size_t length,
86 * Create a new dataref from a pointer allocated by malloc. The Data object
89 static SkData* NewFromMalloc(const void* data, size_t length);
92 * Create a new dataref using a subset of the data in the specified
135 SkAutoDataUnref(SkData* data) : fRef(data) {}