Lines Matching refs:real
279 log_time real; in calculateCorrection() local
280 const char *ep = real.strptime(real_string, "%Y-%m-%d %H:%M:%S.%09q UTC"); in calculateCorrection()
281 if (!ep || (ep > &real_string[len]) || (real > log_time(CLOCK_REALTIME))) { in calculateCorrection()
287 time_t now = real.tv_sec; in calculateCorrection()
292 if ((tm.tm_gmtoff < 0) && ((-tm.tm_gmtoff) > (long)real.tv_sec)) { in calculateCorrection()
293 real = log_time::EPOCH; in calculateCorrection()
295 real.tv_sec += tm.tm_gmtoff; in calculateCorrection()
297 if (monotonic > real) { in calculateCorrection()
300 correction = real - monotonic; in calculateCorrection()
366 log_time real(CLOCK_REALTIME); in sniffTime() local
368 correction = (real < mono) ? log_time::EPOCH : (real - mono); in sniffTime()
372 log_time real; in sniffTime() local
374 real.tv_sec = strtol(b, &endp, 10); in sniffTime()
377 real.tv_nsec = 0; in sniffTime()
380 real.tv_nsec += (*endp - '0') * multiplier; in sniffTime()
383 if (real > correction) { in sniffTime()
386 correction -= real; in sniffTime()
389 correction += real; in sniffTime()