Lines Matching refs:src
13 * @src: Source string, argument to strscpy_pad()
17 * @chars: Number of characters from the src string expected to be
25 static void tc(struct kunit *test, char *src, int count, int expected,
36 KUNIT_ASSERT_TRUE_MSG(test, src != NULL,
50 written = strscpy_pad(buf, src, count);
54 KUNIT_ASSERT_EQ_MSG(test, 0, strncmp(buf, src, count - 1),
61 KUNIT_ASSERT_EQ_MSG(test, buf[i], src[i],
62 "buf[i]==%c != src[i]==%c", buf[i], src[i]);
95 /* tc(test, src, count, expected, chars, terminator, pad) */