Lines Matching +full:0 +full:x4

24     uint8_t data_in1[] = { 0x1, 0x2, 0x3, 0x4 };  in test_fifo8_pop_bufptr_wrap()
25 uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x9, 0xa }; in test_fifo8_pop_bufptr_wrap()
31 * head --v-- tail used = 0 in test_fifo8_pop_bufptr_wrap()
47 g_assert(buf[0] == 0x1 && buf[1] == 0x2); in test_fifo8_pop_bufptr_wrap()
61 g_assert(buf[0] == 0x3 && buf[1] == 0x4 && buf[2] == 0x5 && in test_fifo8_pop_bufptr_wrap()
62 buf[3] == 0x6 && buf[4] == 0x7 && buf[5] == 0x8); in test_fifo8_pop_bufptr_wrap()
71 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_pop_bufptr()
77 * head --v-- tail used = 0 in test_fifo8_pop_bufptr()
93 g_assert(buf[0] == 0x1 && buf[1] == 0x2); in test_fifo8_pop_bufptr()
102 uint8_t data_in1[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_bufptr_wrap()
103 uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x9, 0xa }; in test_fifo8_peek_bufptr_wrap()
109 * head --v-- tail used = 0 in test_fifo8_peek_bufptr_wrap()
125 g_assert(buf[0] == 0x1 && buf[1] == 0x2); in test_fifo8_peek_bufptr_wrap()
134 g_assert(buf[0] == 0x1 && buf[1] == 0x2); in test_fifo8_peek_bufptr_wrap()
148 g_assert(buf[0] == 0x3 && buf[1] == 0x4 && buf[2] == 0x5 && in test_fifo8_peek_bufptr_wrap()
149 buf[3] == 0x6 && buf[4] == 0x7 && buf[5] == 0x8); in test_fifo8_peek_bufptr_wrap()
158 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_bufptr()
164 * head --v-- tail used = 0 in test_fifo8_peek_bufptr()
180 g_assert(buf[0] == 0x1 && buf[1] == 0x2); in test_fifo8_peek_bufptr()
189 uint8_t data_in1[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_pop_buf_wrap()
190 uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc }; in test_fifo8_pop_buf_wrap()
196 * head --v-- tail used = 0 in test_fifo8_pop_buf_wrap()
207 * tail --]v-- head used = 0 in test_fifo8_pop_buf_wrap()
224 * tail --]v-- head used = 0 in test_fifo8_pop_buf_wrap()
228 g_assert(data_out[0] == 0x9 && data_out[1] == 0xa && in test_fifo8_pop_buf_wrap()
229 data_out[2] == 0xb && data_out[3] == 0xc); in test_fifo8_pop_buf_wrap()
231 g_assert(fifo8_num_used(&fifo) == 0); in test_fifo8_pop_buf_wrap()
238 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }; in test_fifo8_pop_buf()
239 uint8_t data_out[] = { 0xff, 0xff, 0xff, 0xff }; in test_fifo8_pop_buf()
244 * head --v-- tail used = 0 in test_fifo8_pop_buf()
255 * tail --]v-- head used = 0 in test_fifo8_pop_buf()
260 g_assert(data_out[0] == 0x5 && data_out[1] == 0x6 && in test_fifo8_pop_buf()
261 data_out[2] == 0x7 && data_out[3] == 0x8); in test_fifo8_pop_buf()
263 g_assert(fifo8_num_used(&fifo) == 0); in test_fifo8_pop_buf()
270 uint8_t data_in1[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_buf_wrap()
271 uint8_t data_in2[] = { 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc }; in test_fifo8_peek_buf_wrap()
277 * head --v-- tail used = 0 in test_fifo8_peek_buf_wrap()
288 * tail --]v-- head used = 0 in test_fifo8_peek_buf_wrap()
306 g_assert(data_out[0] == 0x5 && data_out[1] == 0x6 && in test_fifo8_peek_buf_wrap()
307 data_out[2] == 0x7 && data_out[3] == 0x8); in test_fifo8_peek_buf_wrap()
316 g_assert(data_out[0] == 0x5 && data_out[1] == 0x6 && in test_fifo8_peek_buf_wrap()
317 data_out[2] == 0x7 && data_out[3] == 0x8); in test_fifo8_peek_buf_wrap()
318 g_assert(data_out[4] == 0x9 && data_out[5] == 0xa && in test_fifo8_peek_buf_wrap()
319 data_out[6] == 0xb && data_out[7] == 0xc); in test_fifo8_peek_buf_wrap()
328 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_buf()
329 uint8_t data_out[] = { 0xff, 0xff, 0xff, 0xff }; in test_fifo8_peek_buf()
334 * head --v-- tail used = 0 in test_fifo8_peek_buf()
346 g_assert(data_out[0] == 0xff && data_out[1] == 0xff && in test_fifo8_peek_buf()
347 data_out[2] == 0xff && data_out[3] == 0xff); in test_fifo8_peek_buf()
355 g_assert(data_out[0] == 0x1 && data_out[1] == 0x2 && in test_fifo8_peek_buf()
356 data_out[2] == 0x3 && data_out[3] == 0x4); in test_fifo8_peek_buf()
369 * head --v-- tail used = 0 in test_fifo8_peek()
372 fifo8_push(&fifo, 0x1); in test_fifo8_peek()
377 fifo8_push(&fifo, 0x2); in test_fifo8_peek()
384 g_assert(c == 0x1); in test_fifo8_peek()
391 g_assert(c == 0x2); in test_fifo8_peek()
404 * head --v-- tail used = 0 in test_fifo8_pushpop()
407 fifo8_push(&fifo, 0x1); in test_fifo8_pushpop()
412 fifo8_push(&fifo, 0x2); in test_fifo8_pushpop()
423 g_assert(c == 0x1); in test_fifo8_pushpop()
426 * tail --]v-- head used = 0 in test_fifo8_pushpop()
429 g_assert(c == 0x2); in test_fifo8_pushpop()
431 g_assert(fifo8_num_used(&fifo) == 0); in test_fifo8_pushpop()