Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dapi-io.c88 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/tools/testing/selftests/drivers/net/
H A Dping.py38 test_string = ''.join(random.choice(string.ascii_lowercase) for _ in range(65536))
44 ksft_eq(nc.stdout.strip(), test_string)
46 test_string = ''.join(random.choice(string.ascii_lowercase) for _ in range(65536))
51 ksft_eq(nc.stdout.strip(), test_string)
H A Dxdp.py57 def _exchg_udp(cfg, port, test_string):
64 test_string: String that the remote host will send.
72 tx_udp_cmd = f"echo -n {test_string} | socat -t 2 -u STDIN UDP:{cfg.baddr}:{port}"
313 test_string = "".join(
324 tx_udp = f"echo -n {test_string} | socat -t 2 " + \
331 ksft_eq(rnc.stdout.strip(), test_string, "UDP packet exchange failed")
56 _exchg_udp(cfg, port, test_string) global() argument
/linux/drivers/platform/x86/
H A Dsamsung-laptop.c145 const char *test_string; member
160 .test_string = "SECLINUX",
223 .test_string = "SwSmi@",
1493 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init()
1496 samsung->config->test_string); in samsung_sabi_init()
1545 samsung->config->test_string); in samsung_sabi_init()
/linux/lib/tests/
H A Dprintf_kunit.c188 test_string(struct kunit *kunittest) in test_string() function
792 KUNIT_CASE(test_string),
/linux/kernel/trace/
H A Dtrace_events_filter.c799 static __always_inline char *test_string(char *str) in test_string() function
867 str = test_string(*addr); in filter_pred_pchar()