Home
last modified time | relevance | path

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

/system/logging/liblog/
Dlogprint.cpp1439 char timeBuf[64]; in android_log_formatLogLine() local
1478 snprintf(timeBuf, sizeof(timeBuf), p_format->monotonic_output ? "%6lld" : "%19lld", in android_log_formatLogLine()
1486 strftime(timeBuf, sizeof(timeBuf), &"%Y-%m-%d %H:%M:%S"[p_format->year_output ? 0 : 3], ptm); in android_log_formatLogLine()
1488 len = strlen(timeBuf); in android_log_formatLogLine()
1490 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine()
1492 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine()
1494 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
1497 strftime(timeBuf + len, sizeof(timeBuf) - len, " %z", ptm); in android_log_formatLogLine()
1564 "%s %c/%-8.*s(%s%5d): ", timeBuf, priChar, (int)entry->tagLen, entry->tag, uid, in android_log_formatLogLine()
1575 "%s %s%5d %5d %c %-8.*s: ", timeBuf, uid, entry->pid, entry->tid, priChar, in android_log_formatLogLine()
[all …]
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp509 char timeBuf[32]; in dump_log_file() local
513 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", &tm); in dump_log_file()
541 _LOG(log, logtype::LOGS, "%s.%03d %5d %5d %c %-8s: %s\n", timeBuf, in dump_log_file()