Home | History | Annotate | Download | only in flip_server

Lines Matching refs:bytes

39 // Appends up-to-'size' bytes to the ringbuffer.
40 int RingBuffer::Write(const char* bytes, int size) {
53 memcpy(wptr, bytes + bytes_written, wsize);
61 const char* p = bytes;
68 const char* end = bytes + bytes_to_write;
117 // returns the number of bytes read into
118 int RingBuffer::Read(char* bytes, int size) {
131 memcpy(bytes + bytes_read, rptr, rsize);
139 char* p = bytes;
145 char* end = bytes + bytes_to_read;