Lines Matching refs:message
333 * format: <priority:1><tag:N>\0<message:N>\0
340 * The message may have been truncated by the kernel log driver.
341 * When that happens, we must null-terminate the message ourselves.
371 fprintf(stderr, "+++ LOG: malformed log message\n");
375 // incoming message not null-terminated; force it
382 entry->message = msg + msgStart;
670 entry->message = messageBuf;
676 * Formats a log message into a buffer
720 * Construct a buffer containing the log header and log message.
798 // we're just wrapping message with a header/footer
801 pm = entry->message;
806 while (pm < (entry->message + entry->messageLen)) {
810 if (pm > entry->message && *(pm-1) != '\n') numLines++;
813 // this is an upper bound--newlines in message may be counted
830 pm = entry->message;
835 strncat(p, entry->message, entry->messageLen);
840 while(pm < (entry->message + entry->messageLen)) {
845 // Find the next end-of-line in message
846 while (pm < (entry->message + entry->messageLen)