Lines Matching defs:cp2
335 register char *cp1, *cp2;
340 cp2 = substring;
341 while (*cp2)
342 cp2++;
344 while (cp2 > substring) {
345 cp1--; cp2--;
351 cp2 = substring;
353 while (*cp2 && *cp2 == *cp3) {
354 cp2++; cp3++;
356 if (*cp2 == '\0') {
577 register char *cp1, *cp2;
578 for (cp1 = db_lbuf_start, cp2 = db_hist_search_string;
580 cp1++, cp2++)
581 *cp2 = *cp1;
582 *cp2 = '\0';
641 register char *cp1, *cp2;
642 for (cp1 = db_lbuf_start, cp2 = db_hist_search_string;
644 cp1++, cp2++)
645 *cp2 = *cp1;
646 *cp2 = '\0';