Lines Matching defs:test

16 #define STRCMP_TEST_EXPECT_EQUAL(test, fn, ...) KUNIT_EXPECT_EQ(test, fn(__VA_ARGS__), 0)  argument
17 #define STRCMP_TEST_EXPECT_LOWER(test, fn, ...) KUNIT_EXPECT_LT(test, fn(__VA_ARGS__), 0) argument
18 #define STRCMP_TEST_EXPECT_GREATER(test, fn, ...) KUNIT_EXPECT_GT(test, fn(__VA_ARGS__), 0) argument
20 static void string_test_memset16(struct kunit *test) in string_test_memset16()
49 static void string_test_memset32(struct kunit *test) in string_test_memset32()
78 static void string_test_memset64(struct kunit *test) in string_test_memset64()
107 static void string_test_strchr(struct kunit *test) in string_test_strchr()
130 static void string_test_strnchr(struct kunit *test) in string_test_strnchr()
163 static void string_test_strspn(struct kunit *test) in string_test_strspn()
199 static void string_test_strcmp(struct kunit *test) in string_test_strcmp()
217 static void string_test_strcmp_long_strings(struct kunit *test) in string_test_strcmp_long_strings()
229 static void string_test_strncmp(struct kunit *test) in string_test_strncmp()
252 static void string_test_strncmp_long_strings(struct kunit *test) in string_test_strncmp_long_strings()
272 static void string_test_strcasecmp(struct kunit *test) in string_test_strcasecmp()
285 static void string_test_strcasecmp_long_strings(struct kunit *test) in string_test_strcasecmp_long_strings()
297 static void string_test_strncasecmp(struct kunit *test) in string_test_strncasecmp()
309 static void string_test_strncasecmp_long_strings(struct kunit *test) in string_test_strncasecmp_long_strings()
344 static void strscpy_check(struct kunit *test, char *src, int count, in strscpy_check()
401 static void string_test_strscpy(struct kunit *test) in string_test_strscpy()
450 static void string_test_strcat(struct kunit *test) in string_test_strcat()
469 static void string_test_strncat(struct kunit *test) in string_test_strncat()
496 static void string_test_strlcat(struct kunit *test) in string_test_strlcat()
527 static void string_test_strtomem(struct kunit *test) in string_test_strtomem()
580 static void string_test_memtostr(struct kunit *test) in string_test_memtostr()