Lines Matching refs:secs
106 int32_t *secs,
118 #define TIME_ADD(rsecs, secs, rfrac, frac, unit) \
124 (rsecs) += (secs); \
127 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \
133 (rsecs) -= (secs); \
221 uint32_t *secs,
247 absolutetime_to_microtime(now, secs, microsecs);
249 *secs += clock_calend.epoch;
267 uint32_t *secs,
293 absolutetime_to_microtime(now, secs, nanosecs);
296 *secs += clock_calend.epoch;
315 uint32_t *secs,
327 clock_gettimeofday_set_commpage(now, clock_calend.epoch, clock_calend.offset, secs, microsecs);
343 absolutetime_to_microtime(now, secs, microsecs);
345 *secs += clock_calend.epoch;
366 uint32_t secs,
374 secs: secs + 1;
386 TIME_SUB(secs, sys, microsecs, microsys, USEC_PER_SEC);
391 clock_boottime += secs - clock_calend.epoch;
396 clock_calend.epoch = secs;
436 uint32_t microsecs = 0, secs = PEGetGMTTimeOfDay();
444 if ((int32_t)secs >= (int32_t)clock_boottime) {
449 clock_boottime = secs;
456 TIME_SUB(secs, sys, microsecs, microsys, USEC_PER_SEC);
461 clock_calend.epoch = secs;
490 uint32_t *secs,
493 *secs = clock_boottime;
507 int32_t *secs,
516 interval = calend_set_adjustment(secs, microsecs);
532 int32_t *secs,
539 total = (int64_t)*secs * NSEC_PER_SEC + *microsecs * NSEC_PER_USEC;
581 *secs = ototal / NSEC_PER_SEC;
585 *secs = *microsecs = 0;
812 uint32_t *secs,
859 absolutetime_to_microtime(now, secs, nanosecs);
862 *secs += stable.calend.epoch;