Lines Matching refs:count

27     uint32_t count;  in test_fifo8_pop_bufptr_wrap()  local
40 buf = fifo8_pop_bufptr(&fifo, 2, &count); in test_fifo8_pop_bufptr_wrap()
46 g_assert(count == 2); in test_fifo8_pop_bufptr_wrap()
54 buf = fifo8_pop_bufptr(&fifo, 8, &count); in test_fifo8_pop_bufptr_wrap()
60 g_assert(count == 6); in test_fifo8_pop_bufptr_wrap()
73 uint32_t count; in test_fifo8_pop_bufptr() local
86 buf = fifo8_pop_bufptr(&fifo, 2, &count); in test_fifo8_pop_bufptr()
92 g_assert(count == 2); in test_fifo8_pop_bufptr()
105 uint32_t count; in test_fifo8_peek_bufptr_wrap() local
118 buf = fifo8_peek_bufptr(&fifo, 2, &count); in test_fifo8_peek_bufptr_wrap()
124 g_assert(count == 2); in test_fifo8_peek_bufptr_wrap()
127 buf = fifo8_pop_bufptr(&fifo, 2, &count); in test_fifo8_peek_bufptr_wrap()
133 g_assert(count == 2); in test_fifo8_peek_bufptr_wrap()
141 buf = fifo8_peek_bufptr(&fifo, 8, &count); in test_fifo8_peek_bufptr_wrap()
147 g_assert(count == 6); in test_fifo8_peek_bufptr_wrap()
160 uint32_t count; in test_fifo8_peek_bufptr() local
173 buf = fifo8_peek_bufptr(&fifo, 2, &count); in test_fifo8_peek_bufptr()
179 g_assert(count == 2); in test_fifo8_peek_bufptr()
192 int count; in test_fifo8_pop_buf_wrap() local
216 count = fifo8_pop_buf(&fifo, NULL, 4); in test_fifo8_pop_buf_wrap()
221 g_assert(count == 4); in test_fifo8_pop_buf_wrap()
222 count = fifo8_pop_buf(&fifo, data_out, 4); in test_fifo8_pop_buf_wrap()
227 g_assert(count == 4); in test_fifo8_pop_buf_wrap()
240 int count; in test_fifo8_pop_buf() local
253 count = fifo8_pop_buf(&fifo, NULL, 4); in test_fifo8_pop_buf()
258 g_assert(count == 4); in test_fifo8_pop_buf()
259 count = fifo8_pop_buf(&fifo, data_out, 4); in test_fifo8_pop_buf()
273 int count; in test_fifo8_peek_buf_wrap() local
297 count = fifo8_peek_buf(&fifo, NULL, 4); in test_fifo8_peek_buf_wrap()
298 g_assert(count == 4); in test_fifo8_peek_buf_wrap()
299 count = fifo8_peek_buf(&fifo, data_out, 4); in test_fifo8_peek_buf_wrap()
305 g_assert(count == 4); in test_fifo8_peek_buf_wrap()
309 count = fifo8_peek_buf(&fifo, data_out, 8); in test_fifo8_peek_buf_wrap()
315 g_assert(count == 8); in test_fifo8_peek_buf_wrap()
330 int count; in test_fifo8_peek_buf() local
343 count = fifo8_peek_buf(&fifo, NULL, 4); in test_fifo8_peek_buf()
344 g_assert(count == 4); in test_fifo8_peek_buf()
348 count = fifo8_peek_buf(&fifo, data_out, 4); in test_fifo8_peek_buf()
354 g_assert(count == 4); in test_fifo8_peek_buf()