Home
last modified time | relevance | path

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

/trusty/kernel/app/usercopytest/
Dusercopytest.c500 size_t null_off2 = null_off - TEST_BUF1_SIZE; in usercopy_test_strlcpy_from_user_inner() local
501 EXPECT_EQ(0, checkbuf(src_kbuf2, SRC_DATA, null_off2)); in usercopy_test_strlcpy_from_user_inner()
502 EXPECT_EQ('\0', src_kbuf2[null_off2]); in usercopy_test_strlcpy_from_user_inner()
503 EXPECT_EQ(0, checkbuf(src_kbuf2 + null_off2 + 1, SRC_DATA, in usercopy_test_strlcpy_from_user_inner()
504 TEST_BUF2_SIZE - null_off2 - 1)); in usercopy_test_strlcpy_from_user_inner()