Searched refs:test_strs (Results 1 – 2 of 2) sorted by relevance
400 char *test_strs[5]; in TEST_F() local410 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F()411 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F()412 vec[i].iov_base = (void *)test_strs[i]; in TEST_F()413 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F()423 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F()424 strlen(test_strs[i])), in TEST_F()429 free(test_strs[i]); in TEST_F()437 char *test_strs[1024]; in TEST_F() local447 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F()[all …]
6654 const char *test_strs, *expect_strs; in do_test_dedup() local6708 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup()6715 dump_btf_strings(test_strs, test_hdr->str_len); in do_test_dedup()6722 test_str_cur = test_strs; in do_test_dedup()6723 test_str_end = test_strs + test_hdr->str_len; in do_test_dedup()