Searched refs:abstime (Results 26 - 50 of 71) sorted by relevance

123

/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dmachine_routines.c618 uint64_t abstime; local
632 nanoseconds_to_absolutetime(default_timeout_ns, &abstime);
633 LockTimeOut = (uint32_t) abstime;
634 LockTimeOutTSC = (uint32_t) tmrCvt(abstime, tscFCvtn2t);
644 nanoseconds_to_absolutetime(default_timeout_ns, &abstime);
645 TLBTimeOut = (uint32_t) abstime;
653 nanoseconds_to_absolutetime(mtxspin*NSEC_PER_USEC, &abstime);
655 nanoseconds_to_absolutetime(10*NSEC_PER_USEC, &abstime);
657 MutexSpin = (unsigned int)abstime;
H A Dlapic_native.c778 uint64_t abstime = mach_absolute_time(); local
779 if ((abstime - lapic_last_master_error) < lapic_error_time_threshold) {
787 lapic_last_master_error = abstime;
/macosx-10.10/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A DSOSRegressionUtilities.c54 static const char *basecfabsoluteTimeToString(CFAbsoluteTime abstime, CFTimeZoneRef tz) argument
56 CFGregorianDate greg = CFAbsoluteTimeGetGregorianDate(abstime, NULL);
66 const char *cfabsoluteTimeToString(CFAbsoluteTime abstime) argument
68 return basecfabsoluteTimeToString(abstime, NULL);
71 const char *cfabsoluteTimeToStringLocal(CFAbsoluteTime abstime) argument
88 require(date = CFDateCreate(kCFAllocatorDefault, abstime), xit);
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfdate.py78 abstime = CFGregorianDateGetAbsoluteTime(dt, tz)
79 self.failUnless(isinstance(abstime, float))
H A Dtest_cfdateformatter.py85 ok, rng, abstime = CFDateFormatterGetAbsoluteTimeFromString(fmt, v, (0, len(v)), None)
88 self.failUnless(isinstance(abstime, float))
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfdate.py66 abstime = CFGregorianDateGetAbsoluteTime(dt, tz)
67 self.assertIsInstance(abstime, float)
H A Dtest_cfdateformatter.py90 ok, rng, abstime = CFDateFormatterGetAbsoluteTimeFromString(fmt, v, (0, len(v)), None)
93 self.assertIsInstance(abstime, float)
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_cfdate.py79 abstime = CFGregorianDateGetAbsoluteTime(dt, tz)
80 self.assertIsInstance(abstime, float)
H A Dtest_cfdateformatter.py102 ok, rng, abstime = CFDateFormatterGetAbsoluteTimeFromString(fmt, v, (0, len(v)), None)
105 self.assertIsInstance(abstime, float)
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dsched_grrr.c260 uint64_t abstime; local
264 grrr_quantum_us, NSEC_PER_USEC, &abstime);
265 assert((abstime >> 32) == 0 && (uint32_t)abstime != 0);
266 grrr_quantum = (uint32_t)abstime;
291 uint64_t abstime = mach_absolute_time(); local
301 sched_grrr_tick_deadline = abstime;
303 clock_deadline_for_periodic_event(10*sched_one_second_interval, abstime,
H A Dsched_prim.c624 uint64_t abstime; local
626 clock_interval_to_absolutetime_interval(1, NSEC_PER_SEC, &abstime);
627 sched_one_second_interval = abstime;
662 uint64_t abstime; local
667 std_quantum_us, NSEC_PER_USEC, &abstime);
668 assert((abstime >> 32) == 0 && (uint32_t)abstime != 0);
669 std_quantum = (uint32_t)abstime;
672 clock_interval_to_absolutetime_interval(250, NSEC_PER_USEC, &abstime);
673 assert((abstime >> 3
768 uint64_t abstime; local
1227 uint64_t abstime; local
[all...]
H A Dsync_sema.c127 uint64_t abstime; local
129 nanoseconds_to_absolutetime((uint64_t)sec * NSEC_PER_SEC + nsec, &abstime);
130 clock_absolutetime_interval_to_deadline(abstime, &abstime);
132 return (abstime);
H A Dthread.c1839 int64_t abstime = 0; local
1856 ledger_get_limit(thread->t_threadledger, thread_ledgers.cpu_time, &abstime);
1858 if ((abstime == LEDGER_LIMIT_INFINITY) || (*interval_ns == 0)) {
1869 absolutetime_to_nanoseconds(abstime, &limittime);
1899 uint64_t abstime = 0; local
1941 nanoseconds_to_absolutetime(limittime, &abstime);
1942 ledger_set_limit(l, thread_ledgers.cpu_time, abstime, cpumon_ustackshots_trigger_pct);
2395 uint64_t abstime = mach_absolute_time(); local
2401 (abstime - timer->tstamp); /* XXX need interrupts off to prevent missed time? */
H A Dthread_call.c897 uint64_t abstime, sdeadline, slop; local
912 abstime = mach_absolute_time();
919 slop = timer_call_slop(deadline, abstime, urgency, current_thread(), &ratelimited);
937 call->ttd = (sdeadline > abstime) ? (sdeadline - abstime) : 0;
H A Dclock_oldops.c763 uint64_t abstime; local
765 nanotime_to_absolutetime(alarm_time->tv_sec, alarm_time->tv_nsec, &abstime);
766 timer_call_enter_with_leeway(&alarm_expire_timer, NULL, abstime, 0, TIMER_CALL_USER_NORMAL, FALSE);
H A Dledger.c184 abstime_to_nsecs(uint64_t abstime) argument
188 absolutetime_to_nanoseconds(abstime, &nsecs);
195 uint64_t abstime; local
197 nanoseconds_to_absolutetime(nsecs, &abstime);
198 return (abstime);
/macosx-10.10/libpthread-105.1.4/src/
H A Dpthread_cancelable.c70 const struct timespec *abstime,
316 const struct timespec *abstime)
332 return (_pthread_cond_wait(cond, mutex, abstime, 0, conforming));
314 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) argument
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/os/
H A Dthreads_windows.c178 const struct timespec *abstime) {
194 TIMESPEC_TO_TIMEVAL(&targ_time, abstime);
196 if(delta_time.tv_sec < 0) // abstime already passed?
176 usbi_cond_timedwait(usbi_cond_t *cond, usbi_mutex_t *mutex, const struct timespec *abstime) argument
/macosx-10.10/autofs-246/automountd/
H A Dautod_readdir.c759 struct timespec abstime; local
774 abstime.tv_sec = time(NULL) + RDDIR_CACHE_TIME/2;
775 abstime.tv_nsec = 0;
777 &cleanup_start_cv, &cleanup_lock, &abstime)) != 0) {
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dtime.h196 void microtime_with_abstime(struct timeval *tv, uint64_t *abstime);
H A Duser.h146 u_int64_t abstime; member in struct:uthread::__anon14928::_select_data
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOInterruptEventSource.cpp456 (uint64_t abstime)
459 return ml_interrupt_prewarm(abstime);
455 warmCPU(uint64_t abstime) argument
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkdebug.c2380 u_int64_t abstime; local
2385 nanoseconds_to_absolutetime(ns, &abstime );
2386 clock_absolutetime_interval_to_deadline( abstime, &abstime );
2388 abstime = 0;
2397 if (abstime)
2398 wait_result = lck_spin_sleep_deadline(kdw_spin_lock, 0, &kds_waiter, THREAD_ABORTSAFE, abstime);
2454 u_int64_t abstime; local
2463 nanoseconds_to_absolutetime(ns, &abstime );
2464 clock_absolutetime_interval_to_deadline( abstime,
[all...]
H A Dsys_generic.c1068 tvtoabstime(&atv), &seldata->abstime);
1071 seldata->abstime = 0;
1196 if (now >= seldata->abstime)
1211 if (uap->tv && seldata->abstime == 0) {
1230 TIMEOUT_URGENCY_USER_NORMAL, seldata->abstime, 0);
2420 uint64_t abstime, interval; local
2521 clock_absolutetime_interval_to_deadline(interval, &abstime);
2523 abstime = 0;
2527 error = msleep1(&p->p_evlist, &p->p_mlock, (PSOCK | PCATCH), "waitevent", abstime);
/macosx-10.10/dcerpc-61/dcerpc/include/dce/
H A Ddcethread.h148 int dcethread_get_expiration(struct timespec* delta, struct timespec* abstime);
251 int dcethread_cond_timedwait(dcethread_cond *cond, dcethread_mutex *mutex, struct timespec *abstime);
252 int dcethread_cond_timedwait_throw(dcethread_cond *cond, dcethread_mutex *mutex, struct timespec *abstime);

Completed in 526 milliseconds

123