• Home
  • Raw
  • Download

Lines Matching refs:strcpy

136   check (strcpy (one, "abcd") == one, 1); /* Returned value. */  in test_strcpy()
139 (void) strcpy (one, "x"); in test_strcpy()
143 (void) strcpy (two, "hi there"); in test_strcpy()
144 (void) strcpy (one, two); in test_strcpy()
148 (void) strcpy (one, ""); in test_strcpy()
153 (void) strcpy (one + i, "hi there"); /* Unaligned destination. */ in test_strcpy()
155 (void) strcpy (two, one + i); /* Unaligned source. */ in test_strcpy()
159 SIMPLE_COPY(strcpy, 0, "", 41); in test_strcpy()
160 SIMPLE_COPY(strcpy, 1, "1", 42); in test_strcpy()
161 SIMPLE_COPY(strcpy, 2, "22", 43); in test_strcpy()
162 SIMPLE_COPY(strcpy, 3, "333", 44); in test_strcpy()
163 SIMPLE_COPY(strcpy, 4, "4444", 45); in test_strcpy()
164 SIMPLE_COPY(strcpy, 5, "55555", 46); in test_strcpy()
165 SIMPLE_COPY(strcpy, 6, "666666", 47); in test_strcpy()
166 SIMPLE_COPY(strcpy, 7, "7777777", 48); in test_strcpy()
167 SIMPLE_COPY(strcpy, 8, "88888888", 49); in test_strcpy()
168 SIMPLE_COPY(strcpy, 9, "999999999", 50); in test_strcpy()
169 SIMPLE_COPY(strcpy, 10, "0000000000", 51); in test_strcpy()
170 SIMPLE_COPY(strcpy, 11, "11111111111", 52); in test_strcpy()
171 SIMPLE_COPY(strcpy, 12, "222222222222", 53); in test_strcpy()
172 SIMPLE_COPY(strcpy, 13, "3333333333333", 54); in test_strcpy()
173 SIMPLE_COPY(strcpy, 14, "44444444444444", 55); in test_strcpy()
174 SIMPLE_COPY(strcpy, 15, "555555555555555", 56); in test_strcpy()
175 SIMPLE_COPY(strcpy, 16, "6666666666666666", 57); in test_strcpy()
180 check (strcpy (dst, src) == dst, 1); in test_strcpy()
289 (void) strcpy (one, "ijk"); in test_strcat()
293 (void) strcpy (one, "x"); in test_strcat()
298 (void) strcpy (one, "gh"); in test_strcat()
299 (void) strcpy (two, "ef"); in test_strcat()
304 (void) strcpy (one, ""); in test_strcat()
307 (void) strcpy (one, "ab"); in test_strcat()
310 (void) strcpy (one, ""); in test_strcat()
321 (void) strcpy (one, "ijk"); in test_strncat()
325 (void) strcpy (one, "x"); in test_strncat()
330 (void) strcpy (one, "gh"); in test_strncat()
331 (void) strcpy (two, "ef"); in test_strncat()
336 (void) strcpy (one, ""); in test_strncat()
339 (void) strcpy (one, "ab"); in test_strncat()
342 (void) strcpy (one, ""); in test_strncat()
346 (void) strcpy (one, "ab"); in test_strncat()
385 (void) strcpy (one, "abcdefgh"); in test_strncpy()
389 (void) strcpy (one, "abcdefgh"); in test_strncpy()
393 (void) strcpy (one, "abcdefgh"); in test_strncpy()
398 (void) strcpy (one, "abcdefgh"); in test_strncpy()
404 (void) strcpy (one, "abc"); in test_strncpy()
413 (void) strcpy (one, "hi there"); in test_strncpy()
433 strcpy (p, "OK"); in test_strlen()
434 strcpy (p+3, "BAD/WRONG"); in test_strlen()
445 (void) strcpy (one, "abcd"); in test_strchr()
450 (void) strcpy (one, "ababa"); in test_strchr()
452 (void) strcpy (one, ""); in test_strchr()
462 strcpy (p, "OK"); in test_strchr()
463 strcpy (p+3, "BAD/WRONG"); in test_strchr()
479 (void) strcpy (one, "abcd"); in test_strchrnul()
484 (void) strcpy (one, "ababa"); in test_strchrnul()
486 (void) strcpy (one, ""); in test_strchrnul()
496 strcpy (p, "OK"); in test_strchrnul()
497 strcpy (p+3, "BAD/WRONG"); in test_strchrnul()
512 (void) strcpy (one, "abcd"); in test_rawmemchr()
517 (void) strcpy (one, "ababa"); in test_rawmemchr()
519 (void) strcpy (one, ""); in test_rawmemchr()
528 strcpy (p, "OK"); in test_rawmemchr()
529 strcpy (p+3, "BAD/WRONG"); in test_rawmemchr()
541 (void) strcpy (one, "abcd"); in test_index()
546 (void) strcpy (one, "ababa"); in test_index()
548 (void) strcpy (one, ""); in test_index()
558 (void) strcpy (one, "abcd"); in test_strrchr()
563 (void) strcpy (one, "ababa"); in test_strrchr()
565 (void) strcpy (one, ""); in test_strrchr()
575 strcpy (p, "OK"); in test_strrchr()
576 strcpy (p+3, "BAD/WRONG"); in test_strrchr()
590 (void) strcpy (one, "abcd"); in test_memrchr()
596 (void) strcpy (one, "ababa"); in test_memrchr()
599 (void) strcpy (one, ""); in test_memrchr()
636 (void) strcpy (one, "abcd"); in test_rindex()
641 (void) strcpy (one, "ababa"); in test_rindex()
643 (void) strcpy (one, ""); in test_rindex()
653 (void) strcpy(one, "abcd"); in test_strpbrk()
659 (void) strcpy(one, "abcabdea"); in test_strpbrk()
663 (void) strcpy(one, ""); in test_strpbrk()
665 (void) strcpy(one, ""); in test_strpbrk()
667 (void) strcpy(one, ""); in test_strpbrk()
670 (void) strcpy(one, "abcabdea"); in test_strpbrk()
683 (void) strcpy(one, "abcd"); in test_strstr()
693 (void) strcpy(one, "ababa"); in test_strstr()
695 (void) strcpy(one, ""); in test_strstr()
698 (void) strcpy(one, "bcbca"); in test_strstr()
700 (void) strcpy(one, "bbbcabbca"); in test_strstr()
730 (void) strcpy(one, "first, second, third"); in test_strtok()
736 (void) strcpy(one, ", first, "); in test_strtok()
739 (void) strcpy(one, "1a, 1b; 2a, 2b"); in test_strtok()
743 (void) strcpy(two, "x-y"); in test_strtok()
747 (void) strcpy(one, "a,b, c,, ,d"); in test_strtok()
754 (void) strcpy(one, ", "); in test_strtok()
756 (void) strcpy(one, ""); in test_strtok()
758 (void) strcpy(one, "abc"); in test_strtok()
761 (void) strcpy(one, "abc"); in test_strtok()
764 (void) strcpy(one, "abcdefgh"); in test_strtok()
765 (void) strcpy(one, "a,b,c"); in test_strtok()
780 (void) strcpy(one, "first, second, third"); in test_strtok_r()
787 (void) strcpy(one, ", first, "); in test_strtok_r()
791 (void) strcpy(one, "1a, 1b; 2a, 2b"); in test_strtok_r()
796 (void) strcpy(two, "x-y"); in test_strtok_r()
801 (void) strcpy(one, "a,b, c,, ,d"); in test_strtok_r()
809 (void) strcpy(one, ", "); in test_strtok_r()
812 (void) strcpy(one, ""); in test_strtok_r()
816 (void) strcpy(one, "abc"); in test_strtok_r()
820 (void) strcpy(one, "abc"); in test_strtok_r()
824 (void) strcpy(one, "abcdefgh"); in test_strtok_r()
825 (void) strcpy(one, "a,b,c"); in test_strtok_r()
842 cp = strcpy(one, "first, second, third"); in test_strsep()
850 cp = strcpy(one, ", first, "); in test_strsep()
857 cp = strcpy(one, "1a, 1b; 2a, 2b"); in test_strsep()
863 cp = strcpy(two, "x-y"); in test_strsep()
867 cp = strcpy(one, "a,b, c,, ,d "); in test_strsep()
879 cp = strcpy(one, ", "); in test_strsep()
884 cp = strcpy(one, ""); in test_strsep()
887 cp = strcpy(one, "abc"); in test_strsep()
890 cp = strcpy(one, "abc"); in test_strsep()
893 (void) strcpy(one, "abcdefgh"); in test_strsep()
894 cp = strcpy(one, "a,b,c"); in test_strsep()
916 cp = strcpy(one, "a,b, c,, ,d,"); in test_strsep()
927 cp = strcpy(one, "a,b, c,, ,d,"); in test_strsep()
938 cp = strcpy(one, "ABC"); in test_strsep()
946 cp = strcpy(one, "ABC"); in test_strsep()
953 cp = strcpy(one, "ABC"); /* No token in string. */ in test_strsep()
991 (void) strcpy(one, "abcd"); in test_memchr()
997 (void) strcpy(one, "ababa"); in test_memchr()
1001 (void) strcpy(one, "a\203b"); in test_memchr()
1037 (void) strcpy(one, "abcdefgh"); in test_memcpy()
1041 (void) strcpy(one, "abc"); in test_memcpy()
1045 (void) strcpy(one, "hi there"); in test_memcpy()
1046 (void) strcpy(two, "foo"); in test_memcpy()
1054 strcpy (one, x); in test_memcpy()
1075 (void) strcpy(one, "abcdefgh"); in test_mempcpy()
1079 (void) strcpy(one, "abc"); in test_mempcpy()
1083 (void) strcpy(one, "hi there"); in test_mempcpy()
1084 (void) strcpy(two, "foo"); in test_mempcpy()
1092 strcpy (one, x); in test_mempcpy()
1112 (void) strcpy(one, "abcdefgh"); in test_memmove()
1116 (void) strcpy(one, "abc"); in test_memmove()
1120 (void) strcpy(one, "hi there"); in test_memmove()
1121 (void) strcpy(two, "foo"); in test_memmove()
1126 (void) strcpy(one, "abcdefgh"); in test_memmove()
1130 (void) strcpy(one, "abcdefgh"); in test_memmove()
1134 (void) strcpy(one, "abcdefgh"); in test_memmove()
1150 (void) strcpy(one, "abcdefgh"); in test_memccpy()
1154 (void) strcpy(one, "abc"); in test_memccpy()
1158 (void) strcpy(one, "hi there"); in test_memccpy()
1159 (void) strcpy(two, "foo"); in test_memccpy()
1164 (void) strcpy(one, "abcdefgh"); in test_memccpy()
1165 (void) strcpy(two, "horsefeathers"); in test_memccpy()
1170 (void) strcpy(one, "abcd"); in test_memccpy()
1171 (void) strcpy(two, "bumblebee"); in test_memccpy()
1176 (void) strcpy(one, "xyz"); in test_memccpy()
1187 (void) strcpy(one, "abcdefgh"); in test_memset()
1252 (void) strcpy(one, "abcdefgh"); in test_bcopy()
1256 (void) strcpy(one, "abc"); in test_bcopy()
1260 (void) strcpy(one, "hi there"); in test_bcopy()
1261 (void) strcpy(two, "foo"); in test_bcopy()
1271 (void) strcpy(one, "abcdef"); in test_bzero()
1277 (void) strcpy(one, "abcdef"); in test_bzero()
1382 (void) strcpy(one, "abCd"); in test_strcasestr()
1392 (void) strcpy(one, "abAba"); in test_strcasestr()
1394 (void) strcpy(one, ""); in test_strcasestr()
1397 (void) strcpy(one, "BcbCa"); in test_strcasestr()
1399 (void) strcpy(one, "bbBcaBbcA"); in test_strcasestr()