Home
last modified time | relevance | path

Searched refs:peeked (Results 1 – 2 of 2) sorted by relevance

/system/nfc/utils/test/
Dringbuffer_test.cc23 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST() local
26 EXPECT_EQ((size_t)10, peeked); in TEST()
27 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
49 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST() local
50 EXPECT_EQ((size_t)5, peeked); in TEST()
54 ASSERT_TRUE(0 == memcmp(aa, peek, peeked)); in TEST()
80 size_t peeked = ringbuffer_peek(rb, 0, peek, 16); in TEST() local
81 EXPECT_EQ((size_t)13, peeked); in TEST()
82 ASSERT_TRUE(0 == memcmp(content, peek, peeked)); in TEST()
98 peeked = ringbuffer_peek(rb, 0, peek, 7); in TEST()
[all …]
/system/bt/osi/test/
Dringbuffer_test.cc24 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST() local
27 EXPECT_EQ((size_t)10, peeked); in TEST()
28 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
50 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST() local
51 EXPECT_EQ((size_t)5, peeked); in TEST()
55 ASSERT_TRUE(0 == memcmp(aa, peek, peeked)); in TEST()
81 size_t peeked = ringbuffer_peek(rb, 0, peek, 16); in TEST() local
82 EXPECT_EQ((size_t)13, peeked); in TEST()
83 ASSERT_TRUE(0 == memcmp(content, peek, peeked)); in TEST()
99 peeked = ringbuffer_peek(rb, 0, peek, 7); in TEST()
[all …]