Lines Matching refs:test_strs
327 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()
375 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F()
376 vec[i].iov_base = (void *)test_strs[i]; in TEST_F()
377 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F()
390 free(test_strs[i]); in TEST_F()