/macosx-10.10/dcerpc-61/dcerpc/libdcethread/ |
H A D | dcethread_get_expiration.c | 96 * abstime struct timespec; output absolute time 115 dcethread_get_expiration(struct timespec* delta, struct timespec* abstime) argument 118 return pthread_get_expiration_np(delta, abstime); 129 abstime->tv_nsec = delta->tv_nsec + (now.tv_usec * 1000); 130 abstime->tv_sec = delta->tv_sec + now.tv_sec; 132 if (abstime->tv_nsec >= (1000 * 1000000)) { 133 abstime->tv_nsec -= (1000 * 1000000); 134 abstime->tv_sec += 1;
|
H A D | dcethread_cond_timedwait.c | 88 dcethread_cond_timedwait(dcethread_cond *cond, dcethread_mutex *mutex, struct timespec *abstime) argument 106 ret = pthread_cond_timedwait(cond, (pthread_mutex_t*) &mutex->mutex, abstime); 119 dcethread_cond_timedwait_throw(dcethread_cond *cond, dcethread_mutex *mutex, struct timespec *abstime) argument 121 int ret = dcethread_cond_timedwait(cond, mutex, abstime);
|
/macosx-10.10/xnu-2782.1.97/libkern/libkern/ |
H A D | OSBase.h | 51 AbsoluteTime abstime) 53 return (*(uint64_t *)&abstime); 59 AbsoluteTime *abstime) 61 return ((uint64_t *)abstime); 50 __OSAbsoluteTime( AbsoluteTime abstime) argument 58 __OSAbsoluteTimePtr( AbsoluteTime *abstime) argument
|
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | kern_synch.c | 157 u_int64_t abstime, 198 if (abstime) 199 wait_result = lck_mtx_sleep_deadline(mtx, flags, chan, catch, abstime); 205 assert_wait_deadline(chan, catch, abstime); 247 ut->uu_timo = abstime? 1: 0; 324 u_int64_t abstime = 0; local 327 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); 329 return _sleep((caddr_t)chan, pri, wmsg, abstime, continuation, mtx); 340 u_int64_t abstime = 0; local 343 nanoseconds_to_absolutetime((uint64_t)ts->tv_sec * NSEC_PER_SEC + ts->tv_nsec, &abstime ); 153 _sleep( caddr_t chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int), lck_mtx_t *mtx) argument 351 msleep1( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, u_int64_t abstime) argument 368 u_int64_t abstime = 0; local 383 u_int64_t abstime = 0; local 391 tsleep1( void *chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int)) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/i386/ |
H A D | i386_timer.c | 73 uint64_t abstime; local 84 abstime = mach_absolute_time(); /* Get the time now */ 89 if ((timer_processed = ((mytimer->deadline <= abstime) || 90 (abstime >= (mytimer->queue.earliest_soft_deadline))))) { 97 latency = (int64_t) (abstime - MAX(mytimer->deadline, 103 TCOAL_DEBUG(0xEEEE0000, abstime, mytimer->queue.earliest_soft_deadline, abstime - mytimer->queue.earliest_soft_deadline, 0, 0); 114 mytimer->deadline = timer_queue_expire(&mytimer->queue, abstime); 118 abstime = mach_absolute_time(); 119 mytimer->when_set = abstime; 219 uint64_t abstime; local 240 uint64_t abstime; local [all...] |
H A D | rtclock.c | 92 _absolutetime_to_microtime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *microsecs) argument 95 *secs = abstime / (uint64_t)NSEC_PER_SEC; 96 remain = (uint32_t)(abstime % (uint64_t)NSEC_PER_SEC); 102 _absolutetime_to_nanotime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *nanosecs) argument 104 *secs = abstime / (uint64_t)NSEC_PER_SEC; 105 *nanosecs = (clock_usec_t)(abstime % (uint64_t)NSEC_PER_SEC); 402 uint64_t abstime, 408 uint64_t now = abstime + offset; 415 commpage_set_timestamp(abstime - remain, *secs); 505 uint64_t abstime, 401 clock_gettimeofday_set_commpage( uint64_t abstime, uint64_t epoch, uint64_t offset, clock_sec_t *secs, clock_usec_t *microsecs) argument 504 absolutetime_to_microtime( uint64_t abstime, clock_sec_t *secs, clock_usec_t *microsecs) argument 522 absolutetime_to_nanoseconds( uint64_t abstime, uint64_t *result) argument [all...] |
/macosx-10.10/apr-32/apr/apr/locks/unix/ |
H A D | thread_cond.c | 83 struct timespec abstime; local 86 abstime.tv_sec = apr_time_sec(then); 87 abstime.tv_nsec = apr_time_usec(then) * 1000; /* nanoseconds */ 89 rv = pthread_cond_timedwait(&cond->cond, &mutex->mutex, &abstime);
|
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOTimerEventSource.h | 67 /*! @var abstime time to wake up next, see enable. */ 68 AbsoluteTime abstime; member in class:IOTimerEventSource 171 @param abstime Time to wake up in scheduler quantums, whatever that is? 177 @param abstime Time to wake up in milliseconds. 183 @param abstime Time to wake up in microseconds. 189 @param abstime Time to wake up in some unit. 190 @param scale_factor Define the unit of abstime, default to nanoseconds. 192 virtual IOReturn wakeAtTime(UInt32 abstime, 196 virtual IOReturn wakeAtTime(mach_timespec_t abstime) 202 @discussion Starts the timer, which will expire at abstime [all...] |
H A D | IOInterruptEventSource.h | 205 @param abstime Time at which interrupt is expected. */ 206 IOReturn warmCPU(uint64_t abstime);
|
/macosx-10.10/xnu-2782.1.97/osfmk/kern/ |
H A D | clock.h | 114 uint64_t abstime, 157 uint64_t abstime, 163 uint64_t abstime, 183 uint64_t *abstime); 214 uint64_t abstime, 221 uint64_t abstime,
|
H A D | clock.c | 189 uint64_t abstime; local 191 nanoseconds_to_absolutetime(calend_adjperiod, &abstime); 192 calend_adjinterval = (uint32_t)abstime; 194 nanoseconds_to_absolutetime(NSEC_PER_SEC / 100, &abstime); 195 hz_tick_interval = (uint32_t)abstime; 242 * returns mach_absolute_time if abstime 249 uint64_t *abstime) 258 if (abstime) 259 *abstime = now; 867 uint64_t abstime; local 246 clock_get_calendar_absolute_and_microtime( clock_sec_t *secs, clock_usec_t *microsecs, uint64_t *abstime) argument 890 uint64_t abstime; local 898 clock_absolutetime_interval_to_deadline( uint64_t abstime, uint64_t *result) argument 913 clock_deadline_for_periodic_event( uint64_t interval, uint64_t abstime, uint64_t *deadline) argument [all...] |
H A D | sched_average.c | 132 uint64_t abstime, index; local 250 abstime = mach_absolute_time(); 252 if (abstime >= avg->deadline) { 256 ninvokes += (abstime - avg->deadline) / period_abs; 262 avg->deadline = abstime + period_abs;
|
H A D | syscall_subr.c | 463 uint64_t abstime; local 466 interval, NSEC_PER_MSEC, &abstime); 467 thread_depress_abstime(abstime); 529 uint64_t total_computation, abstime; local 531 abstime = mach_absolute_time(); 532 total_computation = abstime - self->computation_epoch; 543 self->computation_epoch = abstime; 547 abstime += (total_computation >> sched_poll_yield_shift); 548 if (!timer_call_enter(&self->depress_timer, abstime, TIMER_CALL_USER_CRITICAL))
|
H A D | sched_proto.c | 234 uint64_t abstime; local 238 proto_quantum_us, NSEC_PER_USEC, &abstime); 239 assert((abstime >> 32) == 0 && (uint32_t)abstime != 0); 240 proto_quantum = (uint32_t)abstime; 265 uint64_t abstime = mach_absolute_time(); local 287 sched_proto_tick_deadline = abstime; 289 clock_deadline_for_periodic_event(sched_one_second_interval, abstime,
|
/macosx-10.10/Security-57031.1.35/Security/sec/SOSCircle/Regressions/ |
H A D | SOSRegressionUtilities.h | 41 const char *cfabsoluteTimeToString(CFAbsoluteTime abstime); 42 const char *cfabsoluteTimeToStringLocal(CFAbsoluteTime abstime);
|
/macosx-10.10/xnu-2782.1.97/bsd/net/pktsched/ |
H A D | pktsched.c | 113 pktsched_abs_to_nsecs(u_int64_t abstime) argument 117 absolutetime_to_nanoseconds(abstime, &nsecs); 124 u_int64_t abstime; local 126 nanoseconds_to_absolutetime(nsecs, &abstime); 127 return (abstime);
|
/macosx-10.10/AppleUSBIrDA-145.2.4/IrDA/Utils/ |
H A D | IrDATimerEventSource.cpp | 44 AbsoluteTime_to_scalar(&abstime) = 0;
|
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | rpclist.c | 245 struct timespec abstime; 335 dcethread_get_expiration (&delta, &abstime); 349 &abstime); 356 &abstime); 243 struct timespec abstime; local
|
/macosx-10.10/IOATAFamily-253.0.1/ |
H A D | ATATimerEventSource.cpp | 140 UInt64 abstime = (UInt64)inAbstime.hi << 32 | (UInt64)inAbstime.lo; local 141 return super::wakeAtTime( abstime );
|
H A D | ATATimerEventSource.h | 79 virtual IOReturn wakeAtTime(UnsignedWide abstime);
|
/macosx-10.10/xnu-2782.1.97/osfmk/i386/commpage/ |
H A D | commpage.h | 141 extern void commpage_set_timestamp(uint64_t abstime, uint64_t secs); 148 extern void commpage_update_mach_approximate_time(uint64_t abstime);
|
H A D | commpage.c | 585 uint64_t abstime, 600 p32->gtod_ns_base = abstime; 601 p64->gtod_ns_base = abstime; 698 commpage_update_mach_approximate_time(uint64_t abstime) argument 708 if (saved_data < abstime) { 713 OSCompareAndSwap64(saved_data, abstime, (uint64_t *)cp); 720 if (saved_data < abstime) { 725 OSCompareAndSwap64(saved_data, abstime, (uint64_t *)cp); 729 #pragma unused (abstime) 584 commpage_set_timestamp( uint64_t abstime, uint64_t secs ) argument
|
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOTimerEventSource.cpp | 114 if (doit && me->enabled && AbsoluteTime_to_scalar(&me->abstime)) 236 AbsoluteTime_to_scalar(&abstime) = 0; 247 if (kIOReturnSuccess != wakeAtTime(abstime)) 353 if ( enabled && AbsoluteTime_to_scalar(&abstime) && workLoop ) 354 wakeAtTime(abstime); 362 abstime = inAbstime; 363 if ( enabled && AbsoluteTime_to_scalar(&inAbstime) && AbsoluteTime_to_scalar(&abstime) && workLoop )
|
/macosx-10.10/libpthread-105.1.4/src/ |
H A D | pthread_cond.c | 62 __private_extern__ int _pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime, int isRelative, int isconforming); 412 const struct timespec *abstime, 444 if (abstime) { 452 then.tv_nsec = abstime->tv_nsec - now.tv_nsec; 453 then.tv_sec = abstime->tv_sec - now.tv_sec; 462 (abstime->tv_sec < 0 || 463 abstime->tv_nsec < 0 || 464 abstime->tv_nsec >= NSEC_PER_SEC)) { 468 then.tv_sec = abstime->tv_sec; 469 then.tv_nsec = abstime 410 _pthread_cond_wait(pthread_cond_t *ocond, pthread_mutex_t *omutex, const struct timespec *abstime, int isRelative, int isconforming) argument 673 pthread_cond_timedwait_relative_np(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) argument [all...] |
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/os/ |
H A D | threads_windows.h | 81 const struct timespec *abstime);
|