Lines Matching refs:t
400 char *t = b->ptr; in SETDEFAULTS_FUNC() local
401 for (char *s = t; *s; ++s) { in SETDEFAULTS_FUNC()
402 if (s[0] != '\\') { *t++ = *s; continue; } in SETDEFAULTS_FUNC()
405 case 'a': *t++ = '\a'; break; /* bell */ in SETDEFAULTS_FUNC()
406 case 'b': *t++ = '\b'; break; /* backspace */ in SETDEFAULTS_FUNC()
407 case 'f': *t++ = '\f'; break; /* form feed */ in SETDEFAULTS_FUNC()
408 case 'n': *t++ = '\n'; break; /* newline */ in SETDEFAULTS_FUNC()
409 case 'r': *t++ = '\r'; break; /* carriage return */ in SETDEFAULTS_FUNC()
410 case 't': *t++ = '\t'; break; /* horizontal tab */ in SETDEFAULTS_FUNC()
411 case 'v': *t++ = '\v'; break; /* vertical tab */ in SETDEFAULTS_FUNC()
414 default: *t++ = *s; break; /*(use literal char)*/ in SETDEFAULTS_FUNC()
417 buffer_truncate(b, (size_t)(t - b->ptr)); in SETDEFAULTS_FUNC()
666 unix_time64_t t = (!(f->opt & FORMAT_FLAG_TIME_BEGIN)) ? log_epoch_secs : r->start_hp.tv_sec; in accesslog_append_time() local
667 buffer_append_int(b, (intmax_t)t); in accesslog_append_time()
669 unix_time64_t t; in accesslog_append_time() local
673 t = ts->tv_sec; in accesslog_append_time()
676 t = r->start_hp.tv_sec; in accesslog_append_time()
680 t *= 1000; in accesslog_append_time()
681 t += (ns + 999999) / 1000000; /* ceil */ in accesslog_append_time()
683 t *= 1000000; in accesslog_append_time()
684 t += (ns + 999) / 1000; /* ceil */ in accesslog_append_time()
686 t *= 1000000000; in accesslog_append_time()
687 t += ns; in accesslog_append_time()
689 buffer_append_int(b, (intmax_t)t); in accesslog_append_time()
718 unix_time64_t t; in accesslog_append_time() local
727 t = parsed_format->last_generated_accesslog_ts = cur_ts; in accesslog_append_time()
730 t = r->start_hp.tv_sec; in accesslog_append_time()
740 localtime64_r(&t, &tm)); in accesslog_append_time()
744 gmtime64_r(&t, &tm)); in accesslog_append_time()