Searched refs:test_strs (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/net/ |
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[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() [all …]
|
/linux-6.12.1/lib/ |
D | fortify_kunit.c | 360 static const char * const test_strs[] = { 371 for (i = 0; i < ARRAY_SIZE(test_strs); i++) { \ 372 len = strlen(test_strs[i]); \ 374 checker(len, kmemdup_array(test_strs[i], 1, len, gfp), \ 376 checker(len, kmemdup(test_strs[i], len, gfp), \
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 8074 const char *test_strs, *expect_strs; in do_test_dedup() local 8129 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup() 8136 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup()
|