Home
last modified time | relevance | path

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

/Linux-v5.4/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
/Linux-v5.4/drivers/platform/x86/
Dsamsung-laptop.c144 const char *test_string; member
159 .test_string = "SECLINUX",
222 .test_string = "SwSmi@",
1408 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init()
1411 samsung->config->test_string); in samsung_sabi_init()
1460 samsung->config->test_string); in samsung_sabi_init()
/Linux-v5.4/include/linux/
Defi.h1383 u32 test_string; member
1389 u64 test_string; member
1395 void *test_string; member