Searched refs:numLines (Results 1 – 2 of 2) sorted by relevance
435 size_t numLines = 0; in showLog() local438 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()
810 size_t numLines; in android_log_formatLogLine() local818 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()