Lines Matching refs:cp
189 char* cp; in logPrint() local
193 while ((cp = strchr(str, '\n'))) { in logPrint()
194 *cp = ' '; in logPrint()
197 while ((cp = strstr(str, " "))) { in logPrint()
198 memmove(cp, cp + 1, strlen(cp + 1) + 1); in logPrint()
206 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
208 while (isdigit(*cp)) { in logPrint()
209 pid = (pid * 10) + (*cp - '0'); in logPrint()
210 ++cp; in logPrint()
214 memmove(pidptr, cp, strlen(cp) + 1); in logPrint()
247 if (timeptr && ((cp = now.strptime(timeptr + sizeof(audit_str) - 1, "%s.%q"))) && in logPrint()
248 (*cp == ':')) { in logPrint()
250 memmove(timeptr + sizeof(audit_str) - 1 + 3, cp, strlen(cp) + 1); in logPrint()