Home
last modified time | relevance | path

Searched refs:numLines (Results 1 – 2 of 2) sorted by relevance

/system/core/liblog/
Dfake_log_device.c435 size_t numLines = 0; in showLog() local
438 if (*p++ == '\n') numLines++; in showLog()
440 if (p > msg && *(p-1) != '\n') numLines++; in showLog()
452 if (numLines > MAX_LINES) in showLog()
453 numLines = MAX_LINES; in showLog()
455 numVecs = numLines*3; // 3 iovecs per line. in showLog()
461 numLines = 1; in showLog()
472 while (numLines > 0 && p < end) { in showLog()
494 numLines -= 1; in showLog()
Dlogprint.c810 size_t numLines; in android_log_formatLogLine() local
818 numLines = 1; in android_log_formatLogLine()
821 numLines = 0; in android_log_formatLogLine()
826 if (*pm++ == '\n') numLines++; in android_log_formatLogLine()
829 if (pm > entry->message && *(pm-1) != '\n') numLines++; in android_log_formatLogLine()
834 bufferSize = (numLines * (prefixLen + suffixLen)) + entry->messageLen + 1; in android_log_formatLogLine()