Home
last modified time | relevance | path

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

/lib/
Dtest_strscpy.c29 static int __init tc(char *src, int count, int expected, in tc() function
126 KSTM_CHECK_ZERO(tc("a", 0, -E2BIG, 0, 0, 0)); in selftest()
127 KSTM_CHECK_ZERO(tc("", 0, -E2BIG, 0, 0, 0)); in selftest()
129 KSTM_CHECK_ZERO(tc("a", 1, -E2BIG, 0, 1, 0)); in selftest()
130 KSTM_CHECK_ZERO(tc("", 1, 0, 0, 1, 0)); in selftest()
132 KSTM_CHECK_ZERO(tc("ab", 2, -E2BIG, 1, 1, 0)); in selftest()
133 KSTM_CHECK_ZERO(tc("a", 2, 1, 1, 1, 0)); in selftest()
134 KSTM_CHECK_ZERO(tc("", 2, 0, 0, 1, 1)); in selftest()
136 KSTM_CHECK_ZERO(tc("abc", 3, -E2BIG, 2, 1, 0)); in selftest()
137 KSTM_CHECK_ZERO(tc("ab", 3, 2, 2, 1, 0)); in selftest()
[all …]
/lib/kunit/
Dtest.c117 struct kunit_case *tc; in kunit_test_case_num() local
120 kunit_suite_for_each_test_case(suite, tc) { in kunit_test_case_num()
121 if (tc == test_case) in kunit_test_case_num()