Lines Matching refs:ring_buffer
33 TEST(ring_buffer, Init) { in TEST() argument
34 ring_buffer r; in TEST()
42 TEST(ring_buffer, ProduceConsume) { in TEST() argument
60 ring_buffer r; in TEST()
101 static void writeTest(ring_buffer* r, const uint8_t* data, size_t stepSize, size_t numSteps) { in writeTest()
128 static void readTest(ring_buffer* r, uint8_t* data, size_t stepSize, size_t numSteps) { in readTest()
158 TEST(ring_buffer, ProduceConsumeMultiThread) { in TEST() argument
176 ring_buffer r; in TEST()
196 TEST(ring_buffer, DISABLED_ProduceConsumeMultiThreadVaryingStepSize) { in TEST() argument
221 ring_buffer r; in TEST()
241 static void viewWriteTest(ring_buffer* r, ring_buffer_view* v, const uint8_t* data, size_t stepSize… in viewWriteTest()
268 static void viewReadTest(ring_buffer* r, ring_buffer_view* v, uint8_t* data, size_t stepSize, size_… in viewReadTest()
296 TEST(ring_buffer, CalcShift) { in TEST() argument
308 TEST(ring_buffer, ProduceConsumeMultiThreadVaryingStepSizeWithView) { in TEST() argument
337 ring_buffer r; in TEST()
359 TEST(ring_buffer, Wait) { in TEST() argument
360 ring_buffer r; in TEST()
371 TEST(ring_buffer, FullReadWrite) { in TEST() argument
372 ring_buffer r; in TEST()
401 ring_buffer r; in TEST()
428 TEST(ring_buffer, DISABLED_ProducerDrivenSync) { in TEST() argument
445 ring_buffer r; in TEST()
500 TEST(ring_buffer, SpeedTest) { in TEST() argument
521 ring_buffer r; in TEST()
565 TEST(ring_buffer, CopyContents) { in TEST() argument
575 ring_buffer r; in TEST()