Searched refs:test_string (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | test_string.c | 117 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()
|
D | test-string_helpers.c | 34 struct test_string { struct 40 static const struct test_string strings[] __initconst = { argument 241 static const struct test_string strings_upper[] __initconst = { 252 static const struct test_string strings_lower[] __initconst = {
|
D | test_printf.c | 182 test_string(void) in test_string() function 708 test_string(); in selftest()
|
D | Makefile | 54 obj-$(CONFIG_STRING_SELFTEST) += test_string.o
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | api-io.c | 87 static int do_test_get_char(const char *test_string, size_t buf_size) in do_test_get_char() argument 94 if (setup_test(path, test_string, buf_size, &io)) in do_test_get_char() 97 for (i = 0; i < strlen(test_string); i++) { in do_test_get_char() 100 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char() 130 static int do_test_get_hex(const char *test_string, in do_test_get_hex() argument 141 if (setup_test(path, test_string, 4, &io)) in do_test_get_hex() 211 static int do_test_get_dec(const char *test_string, in do_test_get_dec() argument 222 if (setup_test(path, test_string, 4, &io)) in do_test_get_dec()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | samsung-laptop.c | 144 const char *test_string; member 159 .test_string = "SECLINUX", 222 .test_string = "SwSmi@", 1405 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init() 1408 samsung->config->test_string); in samsung_sabi_init() 1457 samsung->config->test_string); in samsung_sabi_init()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | efistub.h | 375 void *test_string; member 380 u32 test_string; member
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_events_filter.c | 667 static __always_inline char *test_string(char *str) in test_string() function 735 str = test_string(*addr); in filter_pred_pchar()
|