Searched refs:pos_out (Results 1 – 1 of 1) sorted by relevance
82 int pos_out = 0; in cbuf_tests() local86 if (pos_out < 256) { in cbuf_tests()90 int to_write = MIN(to_write_random, 256 - pos_out); in cbuf_tests()92 buf_out[i] = pos_out + i; in cbuf_tests()97 pos_out += wrote; in cbuf_tests()101 if (pos_in < pos_out) { in cbuf_tests()104 int to_read = MIN(to_read_random, pos_out - pos_in); in cbuf_tests()115 ASSERT_LEQ(pos_in, pos_out); in cbuf_tests()
Completed in 2 milliseconds