Searched refs:numLines (Results 1 – 2 of 2) sorted by relevance
446 size_t numLines = 0; in showLog() local449 if (*p++ == '\n') numLines++; in showLog()452 numLines++; in showLog()465 if (numLines > MAX_LINES) in showLog()466 numLines = MAX_LINES; in showLog()468 numVecs = numLines * 3; // 3 iovecs per line. in showLog()474 numLines = numVecs / 3; in showLog()485 while (numLines > 0 && p < end) { in showLog()509 numLines -= 1; in showLog()
1455 size_t numLines; in android_log_formatLogLine() local1462 numLines = 1; in android_log_formatLogLine()1465 numLines = 0; in android_log_formatLogLine()1472 if (*pm++ == '\n') numLines++; in android_log_formatLogLine()1475 if (pm > entry->message && *(pm-1) != '\n') numLines++; in android_log_formatLogLine()1482 bufferSize = (numLines * (prefixLen + suffixLen)) + 1; in android_log_formatLogLine()