Lines Matching refs:tc
29 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()
138 KSTM_CHECK_ZERO(tc("a", 3, 1, 1, 1, 1)); in selftest()
139 KSTM_CHECK_ZERO(tc("", 3, 0, 0, 1, 2)); in selftest()
141 KSTM_CHECK_ZERO(tc("abcd", 4, -E2BIG, 3, 1, 0)); in selftest()
142 KSTM_CHECK_ZERO(tc("abc", 4, 3, 3, 1, 0)); in selftest()
143 KSTM_CHECK_ZERO(tc("ab", 4, 2, 2, 1, 1)); in selftest()
144 KSTM_CHECK_ZERO(tc("a", 4, 1, 1, 1, 2)); in selftest()
145 KSTM_CHECK_ZERO(tc("", 4, 0, 0, 1, 3)); in selftest()