Lines Matching refs:CircularBuffer
2 * CircularBuffer.c *
28 #include "CircularBuffer.h"
34 ESR_ReturnCode CircularBufferCreate(size_t capacity, const LCHAR* mtag, CircularBuffer** buffer)
36 CircularBuffer* Interface;
40 Interface = (CircularBuffer *) MALLOC(sizeof(CircularBuffer) + capacity, mtag);
50 int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize)
64 bufferData = ((unsigned char *) buffer) + sizeof(CircularBuffer);
89 int CircularBufferSkip(CircularBuffer* buffer, size_t bufSize)
109 int CircularBufferWrite(CircularBuffer* buffer, const void *data, size_t bufSize)
125 bufferData = ((unsigned char*) buffer) + sizeof(CircularBuffer);
149 int CircularBufferUnwrite(CircularBuffer* buffer, size_t amount)