Lines Matching refs:real
269 log_time real(log_time::EPOCH); in calculateCorrection() local
270 const char* ep = real.strptime(real_string, real_format); in calculateCorrection()
271 if (!ep || (ep > &real_string[len]) || (real > log_time(CLOCK_REALTIME))) { in calculateCorrection()
277 time_t now = real.tv_sec; in calculateCorrection()
282 if ((tm.tm_gmtoff < 0) && ((-tm.tm_gmtoff) > (long)real.tv_sec)) { in calculateCorrection()
283 real = log_time(log_time::EPOCH); in calculateCorrection()
285 real.tv_sec += tm.tm_gmtoff; in calculateCorrection()
287 if (monotonic > real) { in calculateCorrection()
290 correction = real - monotonic; in calculateCorrection()
326 log_time real(CLOCK_REALTIME); in sniffTime() local
328 correction = (real < mono) ? log_time(log_time::EPOCH) : (real - mono); in sniffTime()
332 log_time real(log_time::EPOCH); in sniffTime() local
334 real.tv_sec = strtol(b, &endp, 10); in sniffTime()
337 real.tv_nsec = 0; in sniffTime()
340 real.tv_nsec += (*endp - '0') * multiplier; in sniffTime()
343 if (real > correction) { in sniffTime()
346 correction -= real; in sniffTime()
349 correction += real; in sniffTime()