Home
last modified time | relevance | path

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

/system/core/liblog/
Dlogprint.c897 size_t prefixLen = 0, suffixLen = 0; in android_log_formatLogLine() local
932 suffixLen = snprintf(suffixBuf, sizeof(suffixBuf), "\x1B[0m"); in android_log_formatLogLine()
933 suffixLen = MIN(suffixLen, sizeof(suffixBuf)); in android_log_formatLogLine()
940 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine()
941 ++suffixLen; in android_log_formatLogLine()
944 len = snprintf(suffixBuf + suffixLen, sizeof(suffixBuf) - suffixLen, in android_log_formatLogLine()
946 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen); in android_log_formatLogLine()
953 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine()
954 ++suffixLen; in android_log_formatLogLine()
959 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine()
[all …]
Dfake_log_device.c391 size_t prefixLen, suffixLen; in showLog() local
397 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
402 suffixLen = snprintf(suffixBuf, sizeof(suffixBuf), in showLog()
408 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
412 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
417 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
422 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
428 strcpy(suffixBuf, "\n\n"); suffixLen = 2; in showLog()
433 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog()
494 if (suffixLen > 0) { in showLog()
[all …]