Lines Matching defs:secs
119 long *secs,
134 #define TIME_ADD(rsecs, secs, rfrac, frac, unit) \
140 (rsecs) += (secs); \
143 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \
149 (rsecs) -= (secs); \
232 clock_sec_t *secs,
267 absolutetime_to_microtime(now, secs, microsecs);
269 *secs += (clock_sec_t)clock_calend.epoch;
287 clock_sec_t *secs,
313 absolutetime_to_microtime(now, secs, nanosecs);
317 *secs += (clock_sec_t)clock_calend.epoch;
336 clock_sec_t *secs,
348 clock_gettimeofday_set_commpage(now, clock_calend.epoch, clock_calend.offset, secs, microsecs);
364 absolutetime_to_microtime(now, secs, microsecs);
366 *secs += (clock_sec_t)clock_calend.epoch;
387 clock_sec_t secs,
395 newsecs = (microsecs < 500*USEC_PER_SEC)? secs: secs + 1;
407 TIME_SUB(secs, sys, microsecs, microsys, USEC_PER_SEC);
412 clock_boottime += secs - clock_calend.epoch;
417 clock_calend.epoch = secs;
457 clock_sec_t sys, secs = PEGetGMTTimeOfDay();
466 if ((long)secs >= (long)clock_boottime) {
471 clock_boottime = secs;
478 TIME_SUB(secs, sys, microsecs, microsys, USEC_PER_SEC);
483 clock_calend.epoch = secs;
513 clock_sec_t *secs,
521 *secs = (clock_sec_t)clock_boottime;
538 long *secs,
547 interval = calend_set_adjustment(secs, microsecs);
563 long *secs,
573 total = (int64_t)*secs * NSEC_PER_SEC + *microsecs * NSEC_PER_USEC;
668 *secs = (long)(ototal / NSEC_PER_SEC);
672 *secs = *microsecs = 0;
924 clock_sec_t *secs,
971 absolutetime_to_microtime(now, secs, nanosecs);
974 *secs += (clock_sec_t)stable.calend.epoch;