Home
last modified time | relevance | path

Searched refs:test_strs (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dtls.c327 char *test_strs[5]; in TEST_F() local
337 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F()
338 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F()
339 vec[i].iov_base = (void *)test_strs[i]; in TEST_F()
340 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F()
350 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F()
351 strlen(test_strs[i])), in TEST_F()
356 free(test_strs[i]); in TEST_F()
364 char *test_strs[1024]; in TEST_F() local
374 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c6727 const char *test_strs, *expect_strs; in do_test_dedup() local
6779 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup()
6786 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup()
6793 test_str_cur = test_strs; in do_test_dedup()
6794 test_str_end = test_strs + test_hdr->str_len; in do_test_dedup()
/external/python/cpython3/Lib/test/
Dtest__xxsubinterpreters.py381 def test_strs(self): member in ShareableTypeTests