Lines Matching refs:prefixBuf
1440 char prefixBuf[128], suffixBuf[128]; in android_log_formatLogLine() local
1505 snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[%dm", colorFromPri(entry->priority)); in android_log_formatLogLine()
1506 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1538 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c/%-8.*s: ", priChar, in android_log_formatLogLine()
1547 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c(%s%5d) ", priChar, in android_log_formatLogLine()
1551 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c(%s%5d:%5d) ", in android_log_formatLogLine()
1557 prefixBuf[prefixLen] = 0; in android_log_formatLogLine()
1563 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1574 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1581 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1591 snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
1605 if (prefixLen >= sizeof(prefixBuf)) { in android_log_formatLogLine()
1606 prefixLen = sizeof(prefixBuf) - 1; in android_log_formatLogLine()
1607 prefixBuf[sizeof(prefixBuf) - 1] = '\0'; in android_log_formatLogLine()
1668 strcat(p, prefixBuf); in android_log_formatLogLine()
1688 strcat(p, prefixBuf); in android_log_formatLogLine()