Searched refs:recvPtr (Results 1 – 1 of 1) sorted by relevance
/hardware/google/aemu/base/ |
D | ring_buffer_unittest.cpp | 583 uint8_t* recvPtr = recv.data(); in TEST() local 589 EXPECT_EQ(0, ring_buffer_copy_contents(&r, &v, 1, recvPtr)); in TEST() 590 EXPECT_EQ(0x1, *recvPtr); in TEST() 592 EXPECT_EQ(1, ring_buffer_view_read(&r, &v, recvPtr, 1, 1)); in TEST() 597 ++recvPtr; in TEST() 602 EXPECT_EQ(0, ring_buffer_copy_contents(&r, &v, 3, recvPtr)); in TEST() 603 EXPECT_EQ(0x2, recvPtr[0]); in TEST() 604 EXPECT_EQ(0x3, recvPtr[1]); in TEST() 605 EXPECT_EQ(0x4, recvPtr[2]); in TEST() 607 EXPECT_EQ(1, ring_buffer_view_read(&r, &v, recvPtr, 3, 1)); in TEST() [all …]
|