Lines Matching refs:cp2
201 register char *cp1, *cp2; in send_secondary_console_msg() local
214 cp2 = str; in send_secondary_console_msg()
215 len = strlen(cp2); in send_secondary_console_msg()
218 memcpy(cp1, cp2, len); in send_secondary_console_msg()
240 char *cp1, *cp2, buf[80]; in recv_secondary_console_msg() local
268 cp2 = buf; in recv_secondary_console_msg()
269 memcpy(cp2, cp1, cnt); in recv_secondary_console_msg()
270 cp2[cnt] = '\0'; in recv_secondary_console_msg()
272 while ((cp2 = strchr(cp2, '\r')) != 0) { in recv_secondary_console_msg()
273 *cp2 = ' '; in recv_secondary_console_msg()
274 if (cp2[1] == '\n') in recv_secondary_console_msg()
275 cp2[1] = ' '; in recv_secondary_console_msg()