Home | History | Annotate | Download | only in core

Lines Matching refs: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);
182 virtual size_t read(void* buffer, size_t size);
196 The caller can provide the buffer, or ask SkBufferStream to allocated/free
201 /** Provide the stream to be buffered (proxy), and the size of the buffer that
203 a default buffer size will be used.
208 /** Provide the stream to be buffered (proxy), and a buffer and size to be used.
209 This buffer is owned by the caller, and must be at least bufferSize bytes big.
210 Passing NULL for buffer will cause the buffer to be allocated/freed automatically.
211 If buffer is not NULL, it is an error for bufferSize to be 0.
215 SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize);
220 virtual size_t read(void* buffer, size_t size);
250 virtual bool write(const void* buffer, size_t size);
258 SkMemoryWStream(void* buffer, size_t size);
259 virtual bool write(const void* buffer, size_t size);
271 virtual bool write(const void* buffer, size_t size);
274 bool write(const void* buffer, size_t offset, size_t size);
275 bool read(void* buffer, size_t offset, size_t size);
304 virtual bool write(const void* buffer, size_t size);