Searched refs:test_strs (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | tls.c | 702 char *test_strs[5]; in TEST_F() local 712 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() 713 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F() 714 vec[i].iov_base = (void *)test_strs[i]; in TEST_F() 715 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F() 725 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 726 strlen(test_strs[i])), in TEST_F() 731 free(test_strs[i]); in TEST_F() 739 char *test_strs[1024]; in TEST_F() local 749 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() [all …]
|
| /linux/lib/tests/ |
| H A D | fortify_kunit.c | 377 static const char * const test_strs[] = { 388 for (i = 0; i < ARRAY_SIZE(test_strs); i++) { \ 389 len = strlen(test_strs[i]); \ 391 checker(len, kmemdup_array(test_strs[i], 1, len, gfp), \ 393 checker(len, kmemdup(test_strs[i], len, gfp), \
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 8154 const char *test_strs, *expect_strs; in do_test_dedup() 8209 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup() 8216 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup() 8074 const char *test_strs, *expect_strs; do_test_dedup() local
|