Home
last modified time | relevance | path

Searched refs:ringbuffer (Results 1 – 7 of 7) sorted by relevance

/external/deqp/framework/delibs/destream/
DdeRingbuffer.c54 deRingbuffer* ringbuffer = (deRingbuffer*)deCalloc(sizeof(deRingbuffer)); in deRingbuffer_create() local
56 DE_ASSERT(ringbuffer); in deRingbuffer_create()
60 ringbuffer->blockSize = blockSize; in deRingbuffer_create()
61 ringbuffer->blockCount = blockCount; in deRingbuffer_create()
62 ringbuffer->buffer = (deUint8*)deMalloc(sizeof(deUint8) * (size_t)blockSize * (size_t)blockCount); in deRingbuffer_create()
63 ringbuffer->blockUsage = (deInt32*)deMalloc(sizeof(deUint32) * (size_t)blockCount); in deRingbuffer_create()
64 ringbuffer->emptyCount = deSemaphore_create(ringbuffer->blockCount, DE_NULL); in deRingbuffer_create()
65 ringbuffer->fullCount = deSemaphore_create(0, DE_NULL); in deRingbuffer_create()
67 if (!ringbuffer->buffer || in deRingbuffer_create()
68 !ringbuffer->blockUsage || in deRingbuffer_create()
[all …]
DdeThreadStream.c31 deRingbuffer* ringbuffer; member
41 deRingbuffer* ringbuffer; member
78 deRingbuffer_stop(threadStream->ringbuffer); in inStreamCopy()
110 deRingbuffer_stop(threadStream->ringbuffer); in threadStream_deinit()
118 deRingbuffer_destroy(threadStream->ringbuffer); in threadStream_deinit()
139 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount); in deThreadInStream_init()
140 DE_ASSERT(threadStream->ringbuffer); in deThreadInStream_init()
144 deProducerStream_init(&(threadStream->producerStream), threadStream->ringbuffer); in deThreadInStream_init()
145 deConsumerStream_init(&(threadStream->consumerStream), threadStream->ringbuffer); in deThreadInStream_init()
197 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount); in deThreadOutStream_init()
[all …]
DdeRingbuffer.h39 void deRingbuffer_stop (deRingbuffer* ringbuffer);
40 void deRingbuffer_destroy (deRingbuffer* ringbuffer);
/external/lz4/examples/
DblockStreaming_lineByLine.md93 Next (see (1)), read first line to ringbuffer and compress it by `LZ4_compress_continue()`.
96 After that, write {Out#1} to the file and forward ringbuffer offset.
102 Eventually, we'll reach end of ringbuffer at Line#X (see (4)).
103 This time, we should reset ringbuffer offset.
118 - Decompress it to the ringbuffer.
120 - Forward ringbuffer offset. If offset exceedes end of the ringbuffer, reset it.
/external/syslinux/gpxe/src/drivers/net/
Dns8390.h230 struct ringbuffer { struct
Dne2k_isa.c278 struct ringbuffer pkthdr; in ne_poll()
Dns8390.c509 struct ringbuffer pkthdr; in ns8390_poll()