Home
last modified time | relevance | path

Searched refs:timeBuf (Results 1 – 3 of 3) sorted by relevance

/system/core/liblog/
Dfake_log_device.cpp356 char timeBuf[32]; in showLog() local
387 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); 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()
Dlogprint.cpp1532 char timeBuf[64]; in android_log_formatLogLine() local
1574 snprintf(timeBuf, sizeof(timeBuf), p_format->monotonic_output ? "%6lld" : "%19lld", in android_log_formatLogLine()
1582 strftime(timeBuf, sizeof(timeBuf), &"%Y-%m-%d %H:%M:%S"[p_format->year_output ? 0 : 3], ptm); in android_log_formatLogLine()
1584 len = strlen(timeBuf); in android_log_formatLogLine()
1586 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine()
1588 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine()
1590 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
1593 strftime(timeBuf + len, sizeof(timeBuf) - len, " %z", ptm); in android_log_formatLogLine()
1665 "%s %c/%-8.*s(%s%5d): ", timeBuf, priChar, (int)entry->tagLen, entry->tag, uid, in android_log_formatLogLine()
1676 "%s %s%5d %5d %c %-8.*s: ", timeBuf, uid, entry->pid, entry->tid, priChar, in android_log_formatLogLine()
[all …]
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp548 char timeBuf[32]; in dump_log_file() local
553 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in dump_log_file()
563 _LOG(log, logtype::LOGS, "%s.%03d %5d %5d %c %-8.*s: %s\n", timeBuf, in dump_log_file()
596 _LOG(log, logtype::LOGS, "%s.%03d %5d %5d %c %-8s: %s\n", timeBuf, in dump_log_file()