Lines Matching refs:timeBuf
1532 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()
1683 "[ %s %s%5d:%5d %c/%-8.*s ]\n", timeBuf, uid, entry->pid, entry->tid, priChar, in android_log_formatLogLine()