Lines Matching defs:cp
84 char *cp;
85 while ((cp = strstr(str, " "))) {
86 memmove(cp, cp + 1, strlen(cp + 1) + 1);
114 && ((cp = now.strptime(timeptr + sizeof(audit_str) - 1, "%s.%q")))
115 && (*cp == ':')) {
117 memmove(timeptr + sizeof(audit_str) - 1 + 3, cp, strlen(cp) + 1);
125 cp = pidptr + sizeof(pid_str) - 1;
127 while (isdigit(*cp)) {
128 pid = (pid * 10) + (*cp - '0');
129 ++cp;
133 memmove(pidptr, cp, strlen(cp) + 1);
147 cp = newstr;
148 *cp++ = AUDITD_LOG_TAG & 0xFF;
149 *cp++ = (AUDITD_LOG_TAG >> 8) & 0xFF;
150 *cp++ = (AUDITD_LOG_TAG >> 16) & 0xFF;
151 *cp++ = (AUDITD_LOG_TAG >> 24) & 0xFF;
152 *cp++ = EVENT_TYPE_STRING;
153 *cp++ = l & 0xFF;
154 *cp++ = (l >> 8) & 0xFF;
155 *cp++ = (l >> 16) & 0xFF;
156 *cp++ = (l >> 24) & 0xFF;
157 memcpy(cp, str, l);