Lines Matching refs:tc
25 static void tc(struct kunit *test, char *src, int count, int expected, in tc() function
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()
100 tc(test, "", 1, 0, 0, 1, 0); in strscpy_test()
102 tc(test, "ab", 2, -E2BIG, 1, 1, 0); in strscpy_test()
103 tc(test, "a", 2, 1, 1, 1, 0); in strscpy_test()
104 tc(test, "", 2, 0, 0, 1, 1); in strscpy_test()
106 tc(test, "abc", 3, -E2BIG, 2, 1, 0); in strscpy_test()
107 tc(test, "ab", 3, 2, 2, 1, 0); in strscpy_test()
108 tc(test, "a", 3, 1, 1, 1, 1); in strscpy_test()
109 tc(test, "", 3, 0, 0, 1, 2); in strscpy_test()
111 tc(test, "abcd", 4, -E2BIG, 3, 1, 0); in strscpy_test()
112 tc(test, "abc", 4, 3, 3, 1, 0); in strscpy_test()
113 tc(test, "ab", 4, 2, 2, 1, 1); in strscpy_test()
114 tc(test, "a", 4, 1, 1, 1, 2); in strscpy_test()
115 tc(test, "", 4, 0, 0, 1, 3); in strscpy_test()