Searched refs:numLines (Results 1 – 2 of 2) sorted by relevance
441 size_t numLines = 0; in showLog() local444 if (*p++ == '\n') numLines++; in showLog()446 if (p > msg && *(p-1) != '\n') numLines++; in showLog()458 if (numLines > MAX_LINES) in showLog()459 numLines = MAX_LINES; in showLog()461 numVecs = numLines*3; // 3 iovecs per line. in showLog()467 numLines = 1; in showLog()478 while (numLines > 0 && p < end) { in showLog()500 numLines -= 1; in showLog()
1003 size_t numLines; in android_log_formatLogLine() local1010 numLines = 1; in android_log_formatLogLine()1013 numLines = 0; in android_log_formatLogLine()1020 if (*pm++ == '\n') numLines++; in android_log_formatLogLine()1023 if (pm > entry->message && *(pm-1) != '\n') numLines++; in android_log_formatLogLine()1030 bufferSize = (numLines * (prefixLen + suffixLen)) + 1; in android_log_formatLogLine()