Searched refs:test_string (Results 1 – 4 of 4) sorted by relevance
117 const char *test_string = "abcdefghijkl"; in strchr_selftest() local122 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() local150 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()
34 struct test_string { struct40 static const struct test_string strings[] __initconst = { argument
180 test_string(void) in test_string() function629 test_string(); in selftest()
50 obj-$(CONFIG_STRING_SELFTEST) += test_string.o