Lines Matching refs:buf
323 static void makeBitReader(const void *data, size_t size, ogg_buffer *buf, in makeBitReader() argument
325 buf->data = (uint8_t *)data; in makeBitReader()
326 buf->size = size; in makeBitReader()
327 buf->refcount = REF_COUNT; in makeBitReader()
329 ref->buffer = buf; in makeBitReader()
335 ogg_buffer buf; in main() local
339 memset(&buf, 0, sizeof(ogg_buffer)); in main()
343 makeBitReader(packInfoData, sizeof(packInfoData), &buf, &ref, &bits); in main()
350 memset(&buf, 0, sizeof(ogg_buffer)); in main()
354 makeBitReader(unpackBookData, sizeof(unpackBookData), &buf, &ref, &bits); in main()
360 memset(&buf, 0, sizeof(ogg_buffer)); in main()
366 buf.data = bufData; in main()
367 buf.size = sizeof(bufData); in main()
368 buf.refcount = REF_COUNT; in main()
370 ref.buffer = &buf; in main()
371 ref.length = buf.size; in main()