Lines Matching refs:peek
24 uint8_t peek[10] = {0}; in TEST() local
25 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST()
29 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
39 uint8_t peek[5] = {0}; in TEST() local
51 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST()
56 ASSERT_TRUE(0 == memcmp(aa, peek, peeked)); in TEST()
80 uint8_t peek[16] = {0}; in TEST() local
81 size_t peeked = ringbuffer_peek(rb, 0, peek, 16); in TEST()
83 ASSERT_TRUE(0 == memcmp(content, peek, peeked)); in TEST()
99 peeked = ringbuffer_peek(rb, 0, peek, 7); in TEST()
101 ASSERT_TRUE(0 == memcmp(content2, peek, peeked)); in TEST()
105 memset(peek, 0, 16); in TEST()
106 size_t popped = ringbuffer_pop(rb, peek, 7); in TEST()
109 ASSERT_TRUE(0 == memcmp(content2, peek, peeked)); in TEST()
132 popped = ringbuffer_pop(rb, peek, 16); in TEST()
136 ASSERT_TRUE(0 == memcmp(ae, peek, popped)); in TEST()