Lines Matching refs:string_has_cc
271 TEST(string_has_cc) { in TEST() argument
272 assert_se(string_has_cc("abc\1", NULL)); in TEST()
273 assert_se(string_has_cc("abc\x7f", NULL)); in TEST()
274 assert_se(string_has_cc("abc\x7f", NULL)); in TEST()
275 assert_se(string_has_cc("abc\t\x7f", "\t")); in TEST()
276 assert_se(string_has_cc("abc\t\x7f", "\t")); in TEST()
277 assert_se(string_has_cc("\x7f", "\t")); in TEST()
278 assert_se(string_has_cc("\x7f", "\t\a")); in TEST()
280 assert_se(!string_has_cc("abc\t\t", "\t")); in TEST()
281 assert_se(!string_has_cc("abc\t\t\a", "\t\a")); in TEST()
282 assert_se(!string_has_cc("a\ab\tc", "\t\a")); in TEST()