Searched refs:test_string (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/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 361 static const struct test_string strings_upper[] __initconst = { 372 static const struct test_string strings_lower[] __initconst = {
|
D | test_printf.c | 184 test_string(void) in test_string() function 819 test_string(); in selftest()
|
D | Makefile | 52 obj-$(CONFIG_STRING_SELFTEST) += test_string.o
|
/linux-6.6.21/tools/perf/tests/ |
D | api-io.c | 88 static int do_test_get_char(const char *test_string, size_t buf_size) in do_test_get_char() argument 95 if (setup_test(path, test_string, buf_size, &io)) in do_test_get_char() 98 for (i = 0; i < strlen(test_string); i++) { in do_test_get_char() 101 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char() 131 static int do_test_get_hex(const char *test_string, in do_test_get_hex() argument 142 if (setup_test(path, test_string, 4, &io)) in do_test_get_hex() 212 static int do_test_get_dec(const char *test_string, in do_test_get_dec() argument 223 if (setup_test(path, test_string, 4, &io)) in do_test_get_dec() 297 char test_string[1024]; in test_get_line() local 304 test_string[i] = 'a'; in test_get_line() [all …]
|
/linux-6.6.21/drivers/platform/x86/ |
D | samsung-laptop.c | 144 const char *test_string; member 159 .test_string = "SECLINUX", 222 .test_string = "SwSmi@", 1388 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init() 1391 samsung->config->test_string); in samsung_sabi_init() 1440 samsung->config->test_string); in samsung_sabi_init()
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | efistub.h | 508 void *test_string; member 513 u32 test_string; member
|
/linux-6.6.21/kernel/trace/ |
D | trace_events_filter.c | 799 static __always_inline char *test_string(char *str) in test_string() function 867 str = test_string(*addr); in filter_pred_pchar()
|
/linux-6.6.21/ |
D | MAINTAINERS | 8769 F: lib/test_string.c
|