Lines Matching defs:cp
98 Char *cp;
107 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--)
108 cp[num] = *cp;
130 Char *cp;
132 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++)
133 *cp = cp[num];
146 Char *cp;
148 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++)
149 *cp = cp[1];
171 Char *cp;
173 for (cp = el->el_line.cursor - num;
174 cp <= el->el_line.lastchar;
175 cp++)
176 *cp = cp[num];
189 Char *cp;
191 for (cp = el->el_line.cursor - 1; cp <= el->el_line.lastchar; cp++)
192 *cp = cp[1];
247 /* cp now points to one character before the word */
251 /* cp now points where we want it */
674 Char *cp = el->el_line.buffer;
678 (void)memcpy(cp, prompt, (size_t)len * sizeof(*cp));
679 cp += len;
684 el->el_line.cursor = cp;
685 *cp = ' ';
686 el->el_line.lastchar = cp + 1;
703 cp--;
717 *cp++ = ch;