Lines Matching defs:now

235 	uint64_t		now;
241 now = mach_absolute_time();
250 * If the delta has not yet passed, now is set to the start
255 if (now > clock_calend.adjstart) {
256 t32 = (uint32_t)(now - clock_calend.adjstart);
259 now -= clock_calend.adjoffset;
261 now = clock_calend.adjstart;
265 now += clock_calend.offset;
267 absolutetime_to_microtime(now, secs, microsecs);
290 uint64_t now;
296 now = mach_absolute_time();
301 if (now > clock_calend.adjstart) {
302 t32 = (uint32_t)(now - clock_calend.adjstart);
305 now -= clock_calend.adjoffset;
307 now = clock_calend.adjstart;
311 now += clock_calend.offset;
313 absolutetime_to_microtime(now, secs, nanosecs);
339 uint64_t now;
345 now = mach_absolute_time();
348 clock_gettimeofday_set_commpage(now, clock_calend.epoch, clock_calend.offset, secs, microsecs);
353 if (now > clock_calend.adjstart) {
354 t32 = (uint32_t)(now - clock_calend.adjstart);
357 now -= clock_calend.adjoffset;
359 now = clock_calend.adjstart;
362 now += clock_calend.offset;
364 absolutetime_to_microtime(now, secs, microsecs);
566 uint64_t now, t64;
583 now = mach_absolute_time();
632 clock_calend.adjstart = now;
707 uint64_t now, t64;
713 now = mach_absolute_time();
741 clock_calend.adjstart = now;
806 uint64_t now = mach_absolute_time();
808 if (now >= deadline)
811 _clock_delay_until_deadline(deadline - now, deadline);
928 uint64_t now;
954 now = mach_absolute_time();
959 if (now > stable.calend.adjstart) {
960 t32 = (uint32_t)(now - stable.calend.adjstart);
963 now -= stable.calend.adjoffset;
965 now = stable.calend.adjstart;
969 now += stable.calend.offset;
971 absolutetime_to_microtime(now, secs, nanosecs);