Lines Matching refs:cp2
200 register char *cp1, *cp2; in send_secondary_console_msg() local
213 cp2 = str; in send_secondary_console_msg()
214 len = strlen(cp2); in send_secondary_console_msg()
217 memcpy(cp1, cp2, len); in send_secondary_console_msg()
239 char *cp1, *cp2, buf[80]; in recv_secondary_console_msg() local
267 cp2 = buf; in recv_secondary_console_msg()
268 memcpy(cp2, cp1, cnt); in recv_secondary_console_msg()
269 cp2[cnt] = '\0'; in recv_secondary_console_msg()
271 while ((cp2 = strchr(cp2, '\r')) != 0) { in recv_secondary_console_msg()
272 *cp2 = ' '; in recv_secondary_console_msg()
273 if (cp2[1] == '\n') in recv_secondary_console_msg()
274 cp2[1] = ' '; in recv_secondary_console_msg()