Home
last modified time | relevance | path

Searched refs:prefixLen (Results 1 – 2 of 2) sorted by relevance

/system/core/liblog/
Dlogprint.c897 size_t prefixLen = 0, suffixLen = 0; in android_log_formatLogLine() local
929 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[38;5;%dm", in android_log_formatLogLine()
931 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
938 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
947 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
951 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
957 prefixBuf[prefixLen] = 0; in android_log_formatLogLine()
963 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
969 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
976 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen, in android_log_formatLogLine()
[all …]
Dfake_log_device.c391 size_t prefixLen, suffixLen; in showLog() local
395 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
400 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
406 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
411 prefixBuf[0] = 0; prefixLen = 0; in showLog()
415 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
420 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
425 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
431 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), in showLog()
479 if (prefixLen > 0) { in showLog()
[all …]