Searched refs:strscpy_check (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | string_kunit.c | 344 static void strscpy_check(struct kunit *test, char *src, int count, in strscpy_check() function 415 strscpy_check(test, "a", 0, -E2BIG, 0, 0, 0); in string_test_strscpy() 416 strscpy_check(test, "", 0, -E2BIG, 0, 0, 0); in string_test_strscpy() 418 strscpy_check(test, "a", 1, -E2BIG, 0, 1, 0); in string_test_strscpy() 419 strscpy_check(test, "", 1, 0, 0, 1, 0); in string_test_strscpy() 421 strscpy_check(test, "ab", 2, -E2BIG, 1, 1, 0); in string_test_strscpy() 422 strscpy_check(test, "a", 2, 1, 1, 1, 0); in string_test_strscpy() 423 strscpy_check(test, "", 2, 0, 0, 1, 1); in string_test_strscpy() 425 strscpy_check(test, "abc", 3, -E2BIG, 2, 1, 0); in string_test_strscpy() 426 strscpy_check(test, "ab", 3, 2, 2, 1, 0); in string_test_strscpy() [all …]
|