Searched refs:test_string (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/lib/ |
A 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()
|
A 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 = {
|
A D | test_printf.c | 185 test_string(void) in test_string() function 794 test_string(); in selftest()
|
A D | Makefile | 52 obj-$(CONFIG_STRING_SELFTEST) += test_string.o
|
/linux-6.3-rc2/tools/perf/tests/ |
A 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()
|
/linux-6.3-rc2/drivers/platform/x86/ |
A 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.3-rc2/drivers/firmware/efi/libstub/ |
A D | efistub.h | 507 void *test_string; member 512 u32 test_string; member
|
/linux-6.3-rc2/kernel/trace/ |
A D | trace_events_filter.c | 710 static __always_inline char *test_string(char *str) in test_string() function 778 str = test_string(*addr); in filter_pred_pchar()
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 8620 F: lib/test_string.c
|
Completed in 38 milliseconds