Lines Matching refs:prefixLen
1530 size_t prefixLen = 0, suffixLen = 0; in android_log_formatLogLine() local
1592 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[38;5;%dm", in android_log_formatLogLine()
1594 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1630 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1639 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1643 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1649 prefixBuf[prefixLen] = 0; in android_log_formatLogLine()
1655 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1666 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1673 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1682 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1696 prefixLen += len; in android_log_formatLogLine()
1697 if (prefixLen >= sizeof(prefixBuf)) { in android_log_formatLogLine()
1698 prefixLen = sizeof(prefixBuf) - 1; in android_log_formatLogLine()
1736 bufferSize = (numLines * (prefixLen + suffixLen)) + 1; in android_log_formatLogLine()
1761 p += prefixLen; in android_log_formatLogLine()
1781 p += prefixLen; in android_log_formatLogLine()