Home
last modified time | relevance | path

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

/system/core/liblog/
Dfake_log_device.c441 size_t numLines = 0; in showLog() local
444 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()
Dlogprint.c1003 size_t numLines; in android_log_formatLogLine() local
1010 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()