Lines Matching refs:E2BIG
53 if (count && written == -E2BIG) { in tc()
96 tc(test, "a", 0, -E2BIG, 0, 0, 0); in strscpy_test()
97 tc(test, "", 0, -E2BIG, 0, 0, 0); in strscpy_test()
99 tc(test, "a", 1, -E2BIG, 0, 1, 0); in strscpy_test()
102 tc(test, "ab", 2, -E2BIG, 1, 1, 0); in strscpy_test()
106 tc(test, "abc", 3, -E2BIG, 2, 1, 0); in strscpy_test()
111 tc(test, "abcd", 4, -E2BIG, 3, 1, 0); in strscpy_test()
121 KUNIT_EXPECT_EQ(test, strscpy(dest, "", 0), -E2BIG); in strscpy_test()
123 KUNIT_EXPECT_EQ(test, strscpy(dest, "Fixed", 3), -E2BIG); in strscpy_test()
124 KUNIT_EXPECT_EQ(test, strscpy(dest, "Fixed", 1), -E2BIG); in strscpy_test()
125 KUNIT_EXPECT_EQ(test, strscpy(dest, "Fixed", 0), -E2BIG); in strscpy_test()
126 KUNIT_EXPECT_EQ(test, strscpy(dest, "This is too long", ARRAY_SIZE(dest)), -E2BIG); in strscpy_test()