Searched refs:test_strs (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tls.c | 401 char *test_strs[5]; in TEST_F() local 411 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() 412 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F() 413 vec[i].iov_base = (void *)test_strs[i]; in TEST_F() 414 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F() 424 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 425 strlen(test_strs[i])), in TEST_F() 430 free(test_strs[i]); in TEST_F() 438 char *test_strs[1024]; in TEST_F() local 448 test_strs[ in TEST_F() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tls.c | 630 char *test_strs[5]; in TEST_F() local 640 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() 641 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F() 642 vec[i].iov_base = (void *)test_strs[i]; in TEST_F() 643 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F() 653 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 654 strlen(test_strs[i])), in TEST_F() 659 free(test_strs[i]); in TEST_F() 667 char *test_strs[1024]; in TEST_F() local 677 test_strs[ in TEST_F() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 6683 const char *test_strs, *expect_strs; in do_test_dedup() local 6737 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup() 6744 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup() 6751 test_str_cur = test_strs; in do_test_dedup() 6752 test_str_end = test_strs + test_hdr->str_len; in do_test_dedup()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 8011 const char *test_strs, *expect_strs; in do_test_dedup() local 8066 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup() 8073 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup()
|
Completed in 14 milliseconds