Home | History | Annotate | Download | only in core

Lines Matching full:buffer

35         If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped.
36 If buffer is NULL and size == 0, return the total length of the stream.
37 If buffer != NULL, copy the requested number of bytes into buffer, returning how many were copied.
38 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer
42 virtual size_t read(void* buffer, size_t size) = 0;
78 @param buffer the address of at least size bytes to be written to the stream
79 @param size The number of bytes in buffer to write to the stream
82 virtual bool write(const void* buffer, size_t size) = 0;
130 virtual size_t read(void* buffer, size_t size);
154 virtual size_t read(void* buffer, size_t size);
181 virtual size_t read(void* buffer, size_t size);
195 The caller can provide the buffer, or ask SkBufferStream to allocated/free
200 /** Provide the stream to be buffered (proxy), and the size of the buffer that
202 a default buffer size will be used.
207 /** Provide the stream to be buffered (proxy), and a buffer and size to be used.
208 This buffer is owned by the caller, and must be at least bufferSize bytes big.
209 Passing NULL for buffer will cause the buffer to be allocated/freed automatically.
210 If buffer is not NULL, it is an error for bufferSize to be 0.
214 SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize);
219 virtual size_t read(void* buffer, size_t size);
249 virtual bool write(const void* buffer, size_t size);
257 SkMemoryWStream(void* buffer, size_t size);
258 virtual bool write(const void* buffer, size_t size);
270 virtual bool write(const void* buffer, size_t size);
273 bool write(const void* buffer, size_t offset, size_t size);
274 bool read(void* buffer, size_t offset, size_t size);
303 virtual bool write(const void* buffer, size_t size);