Searched refs:suffixLen (Results 1 – 2 of 2) sorted by relevance
/system/core/liblog/ |
D | fake_log_device.c | 396 size_t prefixLen, suffixLen; in showLog() local 402 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 407 suffixLen = snprintf(suffixBuf, sizeof(suffixBuf), in showLog() 413 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 417 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 422 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 427 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 433 strcpy(suffixBuf, "\n\n"); suffixLen = 2; in showLog() 438 strcpy(suffixBuf, "\n"); suffixLen = 1; in showLog() 503 if (suffixLen > 0) { in showLog() [all …]
|
D | logprint.c | 1284 size_t prefixLen = 0, suffixLen = 0; in android_log_formatLogLine() local 1347 suffixLen = snprintf(suffixBuf, sizeof(suffixBuf), "\x1B[0m"); in android_log_formatLogLine() 1348 suffixLen = MIN(suffixLen, sizeof(suffixBuf)); in android_log_formatLogLine() 1379 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine() 1380 ++suffixLen; in android_log_formatLogLine() 1383 len = snprintf(suffixBuf + suffixLen, sizeof(suffixBuf) - suffixLen, in android_log_formatLogLine() 1385 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen); in android_log_formatLogLine() 1392 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine() 1393 ++suffixLen; in android_log_formatLogLine() 1398 strcpy(suffixBuf + suffixLen, "\n"); in android_log_formatLogLine() [all …]
|