Lines Matching refs:two
79 char two[50]; variable
156 (void) strcpy (two, "hi there"); in test_strcpy()
157 (void) strcpy (one, two); in test_strcpy()
159 equal (two, "hi there", 6); /* Stomped on source? */ in test_strcpy()
168 (void) strcpy (two, one + i); /* Unaligned source. */ in test_strcpy()
169 equal (two, "hi there", 9 + (i * 2)); in test_strcpy()
308 (void) strcpy (two, "ef"); in test_strcat()
309 (void) strcat (one, two); in test_strcat()
311 equal (two, "ef", 6); /* Stomped on source? */ in test_strcat()
382 (void) strcpy (two, "ef"); in test_strncat()
383 (void) strncat (one, two, 99); in test_strncat()
385 equal (two, "ef", 6); /* Stomped on source? */ in test_strncat()
514 (void) strncpy (two, one, 9); in test_strncpy()
515 equal (two, "hi there", 14); /* Just paranoia. */ in test_strncpy()
858 (void) strcpy(two, "x-y"); in test_strtok()
859 equal(strtok(two, "-"), "x", 11); /* New string before done. */ in test_strtok()
911 (void) strcpy(two, "x-y"); in test_strtok_r()
913 equal(strtok_r(two, "-", &cp), "x", 11); /* New string before done. */ in test_strtok_r()
982 cp = strcpy(two, "x-y"); in test_strsep()
1094 char two[21]; in test_memcmp() local
1113 char *b = two + i; in test_memcmp()
1181 (void) strcpy(two, "foo"); in test_memcpy()
1182 (void) memcpy(two, one, 9); in test_memcpy()
1183 equal(two, "hi there", 5); /* Just paranoia. */ in test_memcpy()
1195 check (memcpy (two, one + i, 9) == two, in test_memcpy()
1197 equal (two, "hi there", 12 + (i * 6)); in test_memcpy()
1218 (void) strcpy(two, "foo"); in test_mempcpy()
1219 (void) mempcpy(two, one, 9); in test_mempcpy()
1220 equal(two, "hi there", 5); /* Just paranoia. */ in test_mempcpy()
1232 check (mempcpy (two, one + i, 9) == two + 9, in test_mempcpy()
1234 equal (two, "hi there", 12 + (i * 6)); in test_mempcpy()
1254 (void) strcpy(two, "foo"); in test_memmove()
1255 (void) memmove(two, one, 9); in test_memmove()
1256 equal(two, "hi there", 5); /* Just paranoia. */ in test_memmove()
1292 (void) strcpy(two, "foo"); in test_memccpy()
1293 (void) memccpy(two, one, 'q', 9); in test_memccpy()
1294 equal(two, "hi there", 5); /* Just paranoia. */ in test_memccpy()
1298 (void) strcpy(two, "horsefeathers"); in test_memccpy()
1299 check(memccpy(two, one, 'f', 9) == two+6, 7); /* Returned value. */ in test_memccpy()
1301 equal(two, "abcdefeathers", 9); /* Copy correct? */ in test_memccpy()
1304 (void) strcpy(two, "bumblebee"); in test_memccpy()
1305 check(memccpy(two, one, 'a', 4) == two+1, 10); /* First char. */ in test_memccpy()
1306 equal(two, "aumblebee", 11); in test_memccpy()
1307 check(memccpy(two, one, 'd', 4) == two+4, 12); /* Last char. */ in test_memccpy()
1308 equal(two, "abcdlebee", 13); in test_memccpy()
1310 check(memccpy(two, one, 'x', 1) == two+1, 14); /* Singleton. */ in test_memccpy()
1311 equal(two, "xbcdlebee", 15); in test_memccpy()
1394 (void) strcpy(two, "foo"); in test_bcopy()
1395 (void) bcopy(one, two, 9); in test_bcopy()
1396 equal(two, "hi there", 4); /* Just paranoia. */ in test_bcopy()