Lines Matching refs:prefixLen
1284 size_t prefixLen = 0, suffixLen = 0; in android_log_formatLogLine() local
1344 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[38;5;%dm", in android_log_formatLogLine()
1346 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1377 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1386 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1390 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1396 prefixBuf[prefixLen] = 0; in android_log_formatLogLine()
1402 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1413 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1420 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1429 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1442 prefixLen += len; in android_log_formatLogLine()
1443 if (prefixLen >= sizeof(prefixBuf)) { in android_log_formatLogLine()
1444 prefixLen = sizeof(prefixBuf) - 1; in android_log_formatLogLine()
1482 bufferSize = (numLines * (prefixLen + suffixLen)) + 1; in android_log_formatLogLine()
1507 p += prefixLen; in android_log_formatLogLine()
1528 p += prefixLen; in android_log_formatLogLine()