Lines Matching refs:two
77 static char two[50]; variable
103 (void) strcpy(two, "hi there"); in test_string()
104 (void) strcpy(one, two); in test_string()
106 equal(two, "hi there"); /* Stomped on source? */ in test_string()
123 (void) strcpy(two, "ef"); in test_string()
124 (void) strcat(one, two); in test_string()
126 equal(two, "ef"); /* Stomped on source? */ in test_string()
151 (void) strcpy(two, "ef"); in test_string()
152 (void) strncat(one, two, 99); in test_string()
154 equal(two, "ef"); /* Stomped on source? */ in test_string()
223 (void) strncpy(two, one, 9); in test_string()
224 equal(two, "hi there"); /* Just paranoia. */ in test_string()
360 (void) strcpy(two, "x-y"); in test_string()
361 equal(strtok(two, "-"), "x"); /* New string before done. */ in test_string()
404 two[0] = 0x03; in test_string()
405 check(memcmp(one, two,1) > 0); in test_string()
437 (void) strcpy(two, "foo"); in test_string()
438 (void) memcpy(two, one, 9); in test_string()
439 equal(two, "hi there"); /* Just paranoia. */ in test_string()
456 (void) strcpy(two, "foo"); in test_string()
457 (void) memmove(two, one, 9); in test_string()
458 equal(two, "hi there"); /* Just paranoia. */ in test_string()
491 (void) strcpy(two, "foo"); in test_string()
492 (void) memccpy(two, one, 'q', 9); in test_string()
493 equal(two, "hi there"); /* Just paranoia. */ in test_string()
497 (void) strcpy(two, "horsefeathers"); in test_string()
498 check(memccpy(two, one, 'f', 9) == two+6); /* Returned value. */ in test_string()
500 equal(two, "abcdefeathers"); /* Copy correct? */ in test_string()
503 (void) strcpy(two, "bumblebee"); in test_string()
504 check(memccpy(two, one, 'a', 4) == two+1); /* First char. */ in test_string()
505 equal(two, "aumblebee"); in test_string()
506 check(memccpy(two, one, 'd', 4) == two+4); /* Last char. */ in test_string()
507 equal(two, "abcdlebee"); in test_string()
509 check(memccpy(two, one, 'x', 1) == two+1); /* Singleton. */ in test_string()
510 equal(two, "xbcdlebee"); in test_string()
543 (void) strcpy(two, "foo"); in test_string()
544 (void) bcopy(one, two, 9); in test_string()
545 equal(two, "hi there"); /* Just paranoia. */ in test_string()