Lines Matching refs:cp2
202 register char *cp1, *cp2; in send_secondary_console_msg() local
215 cp2 = str; in send_secondary_console_msg()
216 len = strlen(cp2); in send_secondary_console_msg()
219 memcpy(cp1, cp2, len); in send_secondary_console_msg()
241 char *cp1, *cp2, buf[80]; in recv_secondary_console_msg() local
269 cp2 = buf; in recv_secondary_console_msg()
270 memcpy(cp2, cp1, cnt); in recv_secondary_console_msg()
271 cp2[cnt] = '\0'; in recv_secondary_console_msg()
273 while ((cp2 = strchr(cp2, '\r')) != 0) { in recv_secondary_console_msg()
274 *cp2 = ' '; in recv_secondary_console_msg()
275 if (cp2[1] == '\n') in recv_secondary_console_msg()
276 cp2[1] = ' '; in recv_secondary_console_msg()