Home
last modified time | relevance | path

Searched refs:test_str (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/net/
A Dtls.c616 test_str, SEND_LEN), 0); in TEST_F()
662 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F()
699 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F()
805 char *test_str = "test_read"; in TEST_F() local
828 char *test_str = "test_read"; in TEST_F() local
1100 len = strlen(test_str) + 1; in TEST_F()
1107 len = strlen(test_str) + 1; in TEST_F()
1119 len = strlen(test_str) + 1; in TEST_F()
1123 len = strlen(test_str) + 1; in TEST_F()
1141 len = strlen(test_str) + 1; in TEST_F()
[all …]
/tools/testing/selftests/kvm/
A Dguest_print_test.c160 char test_str[UCALL_BUFFER_LEN + 10]; in guest_code_limits() local
162 memset(test_str, 'a', sizeof(test_str)); in guest_code_limits()
163 test_str[sizeof(test_str) - 1] = 0; in guest_code_limits()
165 GUEST_PRINTF("%s", test_str); in guest_code_limits()
/tools/testing/selftests/drivers/net/
A Dxdp.py91 test_str = "".join(random.choice(string.ascii_lowercase) for _ in range(size))
92 recvd_str = _exchg_udp(cfg, port, test_str)
94 return recvd_str == test_str
422 test_str = "".join(random.choice(string.ascii_lowercase) for _ in range(pkt_sz))
423 recvd_str = _exchg_udp(cfg, port, test_str)
438 expected_data = test_str + (offset * chr(int(tag, 16)))
440 expected_data = test_str[0:pkt_sz + offset]
549 test_str = ''.join(random.choice(string.ascii_lowercase) for _ in range(pkt_sz))
558 recvd_str = _exchg_udp(cfg, port, test_str)
573 expected_data = chr(int(tag, 16)) * (0 - offset) + test_str
[all …]
/tools/testing/selftests/bpf/
A Dtesting_helpers.c77 char *test_str, in do_insert_test() argument
87 if (strcmp(test_str, test->name) == 0) { in do_insert_test()
88 free(test_str); in do_insert_test()
100 test->name = test_str; in do_insert_test()
/tools/testing/selftests/bpf/prog_tests/
A Dcls_redirect.c173 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() function
375 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()

Completed in 18 milliseconds