Searched refs:prefixBuf (Results 1 – 2 of 2) sorted by relevance
/system/core/liblog/ |
D | fake_log_device.cpp | 357 char prefixBuf[128], suffixBuf[128]; in showLog() local 396 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%c/%-8s: ", priChar, tag); in showLog() 401 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%c(%5d) ", priChar, pid); in showLog() 405 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%c(%5d:%5d) ", priChar, pid, tid); in showLog() 410 prefixBuf[0] = 0; in showLog() 416 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%s %-8s\n\t", timeBuf, tag); in showLog() 421 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%s %5d %5d %c %-8s \n\t", timeBuf, pid, in showLog() 427 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "[ %s %5d:%5d %c/%-8s ]\n", timeBuf, pid, in showLog() 433 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%c/%-8s(%5d): ", priChar, tag, pid); in showLog() 483 v->iov_base = prefixBuf; in showLog()
|
D | logprint.cpp | 1533 char prefixBuf[128], suffixBuf[128]; in android_log_formatLogLine() local 1601 snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[38;5;%dm", colorFromPri(entry->priority)); in android_log_formatLogLine() 1602 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine() 1639 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c/%-8.*s: ", priChar, in android_log_formatLogLine() 1648 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c(%s%5d) ", priChar, in android_log_formatLogLine() 1652 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, "%c(%s%5d:%5d) ", in android_log_formatLogLine() 1658 prefixBuf[prefixLen] = 0; in android_log_formatLogLine() 1664 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine() 1675 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine() 1682 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine() [all …]
|