Lines Matching refs:src
135 char* src = strdup(""); in TEST_F() local
136 ASSERT_FORTIFY(stpcpy(myfoo.empty, src)); in TEST_F()
137 free(src); in TEST_F()
147 char* src = strdup(""); in TEST_F() local
148 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
149 free(src); in TEST_F()
159 char* src = strdup("1"); in TEST_F() local
160 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
161 free(src); in TEST_F()
171 char* src = strdup("12"); in TEST_F() local
172 ASSERT_FORTIFY(strcpy(myfoo.one, src)); in TEST_F()
173 free(src); in TEST_F()
275 char src[11]; in TEST_F() local
276 strcpy(src, "0123456789"); in TEST_F()
279 ASSERT_FORTIFY(strcat(myfoo.a, src)); in TEST_F()
482 char src[11]; in TEST_F() local
483 strcpy(src, "0123456789"); in TEST_F()
486 ASSERT_FORTIFY(strcat(buf, src)); in TEST_F()
520 char src[10]; in TEST_F() local
521 memcpy(src, "0123456789", sizeof(src)); // src is not null terminated in TEST_F()
522 ASSERT_FORTIFY(stpncpy(dest, src, sizeof(dest))); in TEST_F()
536 char src[10]; in TEST_F() local
537 memcpy(src, "0123456789", sizeof(src)); // src is not null terminated in TEST_F()
538 ASSERT_FORTIFY(strncpy(dest, src, sizeof(dest))); in TEST_F()
828 char src[10]; in TEST() local
830 memcpy(src, "0123456789", sizeof(src)); // non null terminated string in TEST()
831 stpncpy(dst, src, sizeof(dst)); in TEST()
845 char src[10]; in TEST() local
847 memcpy(src, "012345678\0", sizeof(src)); in TEST()
848 stpncpy(dst, src, sizeof(dst)); in TEST()
867 char src[10]; in TEST() local
869 memcpy(src, "0123456789", sizeof(src)); // non null terminated string in TEST()
870 strncpy(dst, src, sizeof(dst)); in TEST()
884 char src[10]; in TEST() local
886 memcpy(src, "012345678\0", sizeof(src)); in TEST()
887 strncpy(dst, src, sizeof(dst)); in TEST()