Lines Matching defs:cp
268 char *cp;
287 cp = buf;
288 while ((ret = TEMP_FAILURE_RETRY(read(sock, cp, len))) > 0) {
296 cp += ret;
424 char *cp = buf;
428 n = snprintf(cp, remaining, "getStatistics");
431 cp += n;
434 n = snprintf(cp, remaining, " %d", logger->logId);
437 cp += n;
441 snprintf(cp, remaining, " pid=%u", logger_list->pid);
485 char buffer[256], *cp, c;
517 cp = buffer + strlen(buffer);
519 strcpy(cp, " lids");
520 cp += 5;
522 remaining = sizeof(buffer) - (cp - buffer);
524 ret = snprintf(cp, remaining, "%c%u", c, logger->logId);
527 cp += ret;
532 ret = snprintf(cp, remaining, " tail=%u", logger_list->tail);
535 cp += ret;
541 ret = snprintf(cp, remaining, " timeout=%u",
545 cp += ret;
547 ret = snprintf(cp, remaining, " start=%" PRIu32 ".%09" PRIu32,
552 cp += ret;
556 ret = snprintf(cp, remaining, " pid=%u", logger_list->pid);
558 cp += ret;
570 ret = write(sock, buffer, cp - buffer);