Home
last modified time | relevance | path

Searched refs:test_string (Results 1 – 4 of 4) sorted by relevance

/lib/
Dtest_string.c117 const char *test_string = "abcdefghijkl"; in strchr_selftest() local
122 for (i = 0; i < strlen(test_string) + 1; i++) { in strchr_selftest()
123 result = strchr(test_string, test_string[i]); in strchr_selftest()
124 if (result - test_string != i) in strchr_selftest()
136 result = strchr(test_string, 'z'); in strchr_selftest()
145 const char *test_string = "abcdefghijkl"; in strnchr_selftest() local
150 for (i = 0; i < strlen(test_string) + 1; i++) { in strnchr_selftest()
151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest()
152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
158 if (result - test_string != i) in strnchr_selftest()
Dtest-string_helpers.c34 struct test_string { struct
40 static const struct test_string strings[] __initconst = { argument
Dtest_printf.c180 test_string(void) in test_string() function
629 test_string(); in selftest()
DMakefile50 obj-$(CONFIG_STRING_SELFTEST) += test_string.o