Searched refs:checkbuf (Results 1 – 1 of 1) sorted by relevance
/trusty/kernel/app/usercopytest/ |
D | usercopytest.c | 82 static int checkbuf(const char* buf, char c, size_t size) { in checkbuf() function 185 EXPECT_EQ(0, checkbuf(dest_kbuf1, DEST_DATA, TEST_BUF1_SIZE)); in TEST_P() 188 EXPECT_EQ(0, checkbuf(dest_kbuf2, DEST_DATA, TEST_BUF2_SIZE)); in TEST_P() 228 EXPECT_EQ(0, checkbuf(src_buf, SRC_DATA, TEST_BUF_SIZE)); in TEST_P() 235 EXPECT_EQ(0, checkbuf(dest_kbuf1 + TEST_BUF_COPY_START, expect1, in TEST_P() 241 EXPECT_EQ(0, checkbuf(dest_kbuf2, expect2, TEST_BUF2_COPY_SIZE)); in TEST_P() 275 EXPECT_EQ(0, checkbuf(dest_buf, DEST_DATA, TEST_BUF_SIZE)); in TEST_P() 306 EXPECT_EQ(0, checkbuf(dest_buf + TEST_BUF_COPY_START, expect1, in TEST_P() 308 EXPECT_EQ(0, checkbuf(dest_buf + TEST_BUF1_SIZE, expect2, in TEST_P() 317 EXPECT_EQ(0, checkbuf(src_kbuf1, SRC_DATA, TEST_BUF1_SIZE)); in TEST_P() [all …]
|