Lines Matching refs:two
66 char two[50]; variable
143 (void) strcpy (two, "hi there"); in test_strcpy()
144 (void) strcpy (one, two); in test_strcpy()
146 equal (two, "hi there", 6); /* Stomped on source? */ in test_strcpy()
155 (void) strcpy (two, one + i); /* Unaligned source. */ in test_strcpy()
156 equal (two, "hi there", 9 + (i * 2)); in test_strcpy()
299 (void) strcpy (two, "ef"); in test_strcat()
300 (void) strcat (one, two); in test_strcat()
302 equal (two, "ef", 6); /* Stomped on source? */ in test_strcat()
331 (void) strcpy (two, "ef"); in test_strncat()
332 (void) strncat (one, two, 99); in test_strncat()
334 equal (two, "ef", 6); /* Stomped on source? */ in test_strncat()
414 (void) strncpy (two, one, 9); in test_strncpy()
415 equal (two, "hi there", 14); /* Just paranoia. */ in test_strncpy()
743 (void) strcpy(two, "x-y"); in test_strtok()
744 equal(strtok(two, "-"), "x", 11); /* New string before done. */ in test_strtok()
796 (void) strcpy(two, "x-y"); in test_strtok_r()
798 equal(strtok_r(two, "-", &cp), "x", 11); /* New string before done. */ in test_strtok_r()
863 cp = strcpy(two, "x-y"); in test_strsep()
1046 (void) strcpy(two, "foo"); in test_memcpy()
1047 (void) memcpy(two, one, 9); in test_memcpy()
1048 equal(two, "hi there", 5); /* Just paranoia. */ in test_memcpy()
1060 check (memcpy (two, one + i, 9) == two, in test_memcpy()
1062 equal (two, "hi there", 12 + (i * 6)); in test_memcpy()
1084 (void) strcpy(two, "foo"); in test_mempcpy()
1085 (void) mempcpy(two, one, 9); in test_mempcpy()
1086 equal(two, "hi there", 5); /* Just paranoia. */ in test_mempcpy()
1098 check (mempcpy (two, one + i, 9) == two + 9, in test_mempcpy()
1100 equal (two, "hi there", 12 + (i * 6)); in test_mempcpy()
1121 (void) strcpy(two, "foo"); in test_memmove()
1122 (void) memmove(two, one, 9); in test_memmove()
1123 equal(two, "hi there", 5); /* Just paranoia. */ in test_memmove()
1159 (void) strcpy(two, "foo"); in test_memccpy()
1160 (void) memccpy(two, one, 'q', 9); in test_memccpy()
1161 equal(two, "hi there", 5); /* Just paranoia. */ in test_memccpy()
1165 (void) strcpy(two, "horsefeathers"); in test_memccpy()
1166 check(memccpy(two, one, 'f', 9) == two+6, 7); /* Returned value. */ in test_memccpy()
1168 equal(two, "abcdefeathers", 9); /* Copy correct? */ in test_memccpy()
1171 (void) strcpy(two, "bumblebee"); in test_memccpy()
1172 check(memccpy(two, one, 'a', 4) == two+1, 10); /* First char. */ in test_memccpy()
1173 equal(two, "aumblebee", 11); in test_memccpy()
1174 check(memccpy(two, one, 'd', 4) == two+4, 12); /* Last char. */ in test_memccpy()
1175 equal(two, "abcdlebee", 13); in test_memccpy()
1177 check(memccpy(two, one, 'x', 1) == two+1, 14); /* Singleton. */ in test_memccpy()
1178 equal(two, "xbcdlebee", 15); in test_memccpy()
1261 (void) strcpy(two, "foo"); in test_bcopy()
1262 (void) bcopy(one, two, 9); in test_bcopy()
1263 equal(two, "hi there", 4); /* Just paranoia. */ in test_bcopy()