Lines Matching refs:src

134   char* src = strdup("");  in TEST_F()  local
135 ASSERT_FORTIFY(stpcpy(myfoo.empty, src)); in TEST_F()
136 free(src); in TEST_F()
146 char* src = strdup(""); in TEST_F() local
147 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
148 free(src); in TEST_F()
158 char* src = strdup("1"); in TEST_F() local
159 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
160 free(src); in TEST_F()
170 char* src = strdup("12"); in TEST_F() local
171 ASSERT_FORTIFY(strcpy(myfoo.one, src)); in TEST_F()
172 free(src); in TEST_F()
272 char src[11]; in TEST_F() local
273 strcpy(src, "0123456789"); in TEST_F()
276 ASSERT_FORTIFY(strcat(myfoo.a, src)); in TEST_F()
483 char src[11]; in TEST_F() local
484 strcpy(src, "0123456789"); in TEST_F()
487 ASSERT_FORTIFY(strcat(buf, src)); in TEST_F()
521 char src[10]; in TEST_F() local
522 memcpy(src, "0123456789", sizeof(src)); // src is not null terminated in TEST_F()
523 ASSERT_FORTIFY(stpncpy(dest, src, sizeof(dest))); in TEST_F()
537 char src[10]; in TEST_F() local
538 memcpy(src, "0123456789", sizeof(src)); // src is not null terminated in TEST_F()
539 ASSERT_FORTIFY(strncpy(dest, src, sizeof(dest))); in TEST_F()
825 char src[10]; in TEST() local
827 memcpy(src, "0123456789", sizeof(src)); // non null terminated string in TEST()
828 stpncpy(dst, src, sizeof(dst)); in TEST()
842 char src[10]; in TEST() local
844 memcpy(src, "012345678\0", sizeof(src)); in TEST()
845 stpncpy(dst, src, sizeof(dst)); in TEST()
864 char src[10]; in TEST() local
866 memcpy(src, "0123456789", sizeof(src)); // non null terminated string in TEST()
867 strncpy(dst, src, sizeof(dst)); in TEST()
881 char src[10]; in TEST() local
883 memcpy(src, "012345678\0", sizeof(src)); in TEST()
884 strncpy(dst, src, sizeof(dst)); in TEST()