Searched refs:test_string (Results 1 - 7 of 7) sorted by relevance

/linux-master/tools/perf/tests/
H A Dapi-io.c88 static int do_test_get_char(const char *test_string, size_t buf_size) argument
95 if (setup_test(path, test_string, buf_size, &io))
98 for (i = 0; i < strlen(test_string); i++) {
101 EXPECT_EQUAL(ch, test_string[i]);
131 static int do_test_get_hex(const char *test_string, argument
142 if (setup_test(path, test_string, 4, &io))
212 static int do_test_get_dec(const char *test_string, argument
223 if (setup_test(path, test_string, 4, &io))
297 char test_string[1024]; local
304 test_string[
[all...]
/linux-master/lib/
H A Dstring_kunit.c103 const char *test_string = "abcdefghijkl"; local
108 for (i = 0; i < strlen(test_string) + 1; i++) {
109 result = strchr(test_string, test_string[i]);
110 KUNIT_ASSERT_EQ_MSG(test, result - test_string, i,
120 result = strchr(test_string, 'z');
126 const char *test_string = "abcdefghijkl"; local
131 for (i = 0; i < strlen(test_string) + 1; i++) {
132 for (j = 0; j < strlen(test_string) + 2; j++) {
133 result = strnchr(test_string,
[all...]
H A Dstring_helpers_kunit.c25 struct test_string { struct
31 static const struct test_string strings[] = {
350 static const struct test_string strings_upper[] = {
361 static const struct test_string strings_lower[] = {
H A Dtest_printf.c184 test_string(void) function
819 test_string();
/linux-master/drivers/platform/x86/
H A Dsamsung-laptop.c144 const char *test_string; member in struct:sabi_config
159 .test_string = "SECLINUX",
222 .test_string = "SwSmi@",
1388 for (i = 0; sabi_configs[i].test_string != NULL; ++i) {
1391 samsung->config->test_string);
1440 samsung->config->test_string);
/linux-master/drivers/firmware/efi/libstub/
H A Defistub.h508 void *test_string; member in struct:efi_simple_text_output_protocol::__anon100
513 u32 test_string; member in struct:efi_simple_text_output_protocol::__anon101
/linux-master/kernel/trace/
H A Dtrace_events_filter.c799 static __always_inline char *test_string(char *str) function
867 str = test_string(*addr);

Completed in 299 milliseconds