Searched refs:timer (Results 1 - 25 of 418) sorted by relevance

1234567891011>>

/macosx-10.10.1/eap8021x-198/eapolclient.tproj/
H A DTimer.c26 * - hides the details of how to get a timer callback
34 * - created (based on bootp/IPConfiguration.tproj/timer.c)
62 ** Timer timer functions
68 TimerRef timer = (TimerRef)info; local
70 if (timer->func && timer->enabled) {
71 timer->enabled = 0;
72 (*timer->func)(timer->arg1, timer
80 TimerRef timer; local
92 TimerRef timer = *timer_p; local
104 Timer_set_relative(TimerRef timer, struct timeval rel_time, Timer_func_t * func, void * arg1, void * arg2, void * arg3) argument
142 Timer_cancel(TimerRef timer) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/kern/
H A Dtimer.c65 #include <kern/timer.h>
70 * timer_init initializes a timer.
74 timer_t timer)
76 timer->tstamp = 0;
78 timer->all_bits = 0;
80 timer->low_bits = 0;
81 timer->high_bits = 0;
82 timer->high_bits_check = 0;
87 * Calculate the difference between a timer
92 timer_t timer,
73 timer_init( timer_t timer) argument
91 timer_delta( timer_t timer, uint64_t *save) argument
103 timer_advance( timer_t timer, uint64_t delta) argument
121 timer_start( timer_t timer, uint64_t tstamp) argument
129 timer_stop( timer_t timer, uint64_t tstamp) argument
140 timer_switch( timer_t timer, uint64_t tstamp, timer_t new_timer) argument
162 timer_t timer; local
[all...]
H A Dtimer.h67 * time billed to the system timer. However, when exposed to userspace,
90 struct timer { struct
101 typedef struct timer timer_data_t, *timer_t;
107 /* Start a timer by setting the timestamp */
109 timer_t timer,
112 /* Stop a timer by updating from the timestamp */
114 timer_t timer,
117 /* Update the timer and start a new one */
119 timer_t timer,
123 /* Update the thread timer a
148 timer_grab( timer_t timer) argument
[all...]
H A Dmk_timer.c62 mk_timer_t timer; local
68 timer = (mk_timer_t)zalloc(mk_timer_zone);
69 if (timer == NULL)
78 zfree(mk_timer_zone, timer);
83 simple_lock_init(&timer->lock, 0);
84 thread_call_setup(&timer->call_entry, mk_timer_expire, timer);
85 timer->is_armed = timer->is_dead = FALSE;
86 timer
102 mk_timer_t timer = NULL; local
149 mk_timer_t timer = p0; local
251 mk_timer_t timer; local
312 mk_timer_t timer; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/kperf/
H A Dtimetrigger.h42 extern int kperf_timer_get_period( unsigned timer, uint64_t *period );
43 extern int kperf_timer_set_period( unsigned timer, uint64_t period );
45 extern int kperf_timer_get_action( unsigned timer, uint32_t *action );
46 extern int kperf_timer_set_action( unsigned timer, uint32_t action );
54 /* so PET thread can re-arm the timer */
55 extern int kperf_timer_pet_set( unsigned timer, uint64_t elapsed_ticks );
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Ddevtimer.c31 * - timer source based on <kern/thread_call.h>
97 devtimer_valid(devtimer_ref timer) argument
99 return (timer->dt_callout != NULL);
103 devtimer_retain(devtimer_ref timer) argument
105 OSIncrementAtomic(&timer->dt_retain_count);
110 devtimer_invalidate(devtimer_ref timer) argument
112 devtimer_cancel(timer);
113 timer->dt_arg0 = NULL;
114 if (timer->dt_callout != NULL) {
115 thread_call_free(timer
122 devtimer_release(devtimer_ref timer) argument
148 devtimer_ref timer = (devtimer_ref)param0; local
169 devtimer_arg0(devtimer_ref timer) argument
177 devtimer_ref timer; local
197 devtimer_set_absolute(devtimer_ref timer, struct timeval abs_time, devtimer_timeout_func timeout_func, void * arg1, void * arg2) argument
224 devtimer_set_relative(devtimer_ref timer, struct timeval rel_time, devtimer_timeout_func timeout_func, void * arg1, void * arg2) argument
239 devtimer_cancel(devtimer_ref timer) argument
257 devtimer_enabled(devtimer_ref timer) argument
[all...]
H A Ddevtimer.h31 * - timer source based on <kern/thread_call.h>
50 typedef void (*devtimer_process_func)(devtimer_ref timer,
55 devtimer_valid(devtimer_ref timer);
58 devtimer_retain(devtimer_ref timer);
61 devtimer_arg0(devtimer_ref timer);
67 devtimer_invalidate(devtimer_ref timer);
70 devtimer_release(devtimer_ref timer);
/macosx-10.10.1/OpenSSL098-52/src/crypto/
H A Do_time.h64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-run/
H A Dtimer.hpp48 // The "timer" class.
51 class timer : utils::noncopyable { class in namespace:atf::atf_run
56 timer(const unsigned int);
57 virtual ~timer(void);
67 class child_timer : public timer {
H A Dtimer.cpp40 #include "timer.hpp"
52 impl::timer* m_timer = NULL;
66 // The "timer" class.
69 impl::timer::timer(const unsigned int seconds) function in class:impl::timer
82 throw system_error(IMPL_NAME "::timer::timer",
83 "Failed to program timer", errno);
86 impl::timer::~timer(voi
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/emacs-lisp/
H A Dtimer.el0 ;;; timer.el --- run a function with args at some time in future
32 ;; Layout of a timer vector:
35 ;; triggered-p is nil if the timer is active (waiting to be triggered),
38 (defun timer-create ()
39 "Create a timer object which can be passed to `timer-activate'."
40 (let ((timer (make-vector 8 nil)))
41 (aset timer 0 t)
42 timer))
45 "Return t if OBJECT is a timer
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/ctestfw/unicode/
H A Dutimer.h56 * UTimer timer;
126 * void perf(UTimer* timer, UChar* source, int32_t sourceLen, UChar* target, int32_t targetLen, int32_t loopCount,UNormalizationMode mode, UErrorCode* error){
131 * utimer_getTime(timer);
170 static int uprv_initFrequency(UTimer* timer) argument
172 return QueryPerformanceFrequency(&timer->placeHolder);
174 static void uprv_start(UTimer* timer) argument
176 QueryPerformanceCounter(&timer->start);
192 static int32_t uprv_initFrequency(UTimer* /*timer*/)
196 static void uprv_start(UTimer* timer) argument
198 gettimeofday(&timer
218 utimer_getTime(UTimer* timer) argument
247 utimer_getElapsedSeconds(UTimer* timer) argument
267 UTimer timer; local
[all...]
/macosx-10.10.1/libdispatch-442.1.4/tools/
H A Ddispatch_timers.d37 dispatch$target:libdispatch*.dylib::timer-configure,
38 dispatch$target:libdispatch*.dylib::timer-program,
39 dispatch$target:libdispatch*.dylib::timer-wake,
40 dispatch$target:libdispatch*.dylib::timer-fire /!start/ {
45 * Trace dispatch timer configuration and programming:
48 * for 'deadline' ns (but may wake up earlier if non-timer events occur).
51 * probe timer-configure/-program(dispatch_source_t source,
54 dispatch$target:libdispatch*.dylib::timer-configure,
55 dispatch$target:libdispatch*.dylib::timer-program {
65 dispatch$target:libdispatch*.dylib::timer
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/
H A Dtimer.c34 #include <isc/timer.h>
82 /*! Locked by timer lock. */
137 isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
141 isc__timer_gettype(isc_timer_t *timer);
143 isc__timer_touch(isc_timer_t *timer);
201 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
214 REQUIRE(timer->type != isc_timertype_inactive);
220 manager = timer->manager;
234 if (timer->type != isc_timertype_once) {
235 result = isc_time_add(now, &timer
335 deschedule(isc__timer_t *timer) argument
367 destroy(isc__timer_t *timer) argument
400 isc__timer_t *timer; local
520 isc__timer_t *timer = (isc__timer_t *)timer0; local
593 isc__timer_t *timer = (isc__timer_t *)timer0; local
607 isc__timer_t *timer = (isc__timer_t *)timer0; local
638 isc__timer_t *timer = (isc__timer_t *)timer0; local
656 isc__timer_t *timer; local
685 isc__timer_t *timer; local
862 isc__timer_t *timer; local
[all...]
H A Dtimer_api.c27 #include <isc/timer.h>
111 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) { argument
112 REQUIRE(ISCAPI_TIMER_VALID(timer));
115 timer->methods->attach(timer, timerp);
117 ENSURE(*timerp == timer);
130 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, argument
134 REQUIRE(ISCAPI_TIMER_VALID(timer));
136 return (timer->methods->reset(timer, typ
140 isc_timer_touch(isc_timer_t *timer) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dlocaltime_r.c43 localtime_r(const time_t *timer, struct tm *result) argument
47 return (localtime_s(result, timer) == 0)? result : NULL;
52 tm = localtime((time_t *)timer);
/macosx-10.10.1/ntp-92/lib/isc/
H A Dtimer.c18 /* $Id: timer.c,v 1.84.58.4 2009/01/23 23:47:21 tbox Exp $ */
34 #include <isc/timer.h>
66 /*! Locked by timer lock. */
111 schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
124 REQUIRE(timer->type != isc_timertype_inactive);
130 manager = timer->manager;
144 if (timer->type != isc_timertype_once) {
145 result = isc_time_add(now, &timer->interval, &due);
148 if (timer->type == isc_timertype_limited &&
149 isc_time_compare(&timer
245 deschedule(isc_timer_t *timer) argument
273 destroy(isc_timer_t *timer) argument
304 isc_timer_t *timer; local
417 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, isc_time_t *expires, isc_interval_t *interval, isc_boolean_t purge) argument
493 isc_timer_gettype(isc_timer_t *timer) argument
506 isc_timer_touch(isc_timer_t *timer) argument
536 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) argument
553 isc_timer_t *timer; local
582 isc_timer_t *timer; local
755 isc_timer_t *timer; local
[all...]
/macosx-10.10.1/ntp-92/scripts/
H A Dfreq_adj.in16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`);
18 $timer =~ tr/\U/\L/;
20 if ($timer eq '') {
25 $timer = $1;
32 $opt_t = $timer if !defined($opt_t);
34 if ($timer ne '') { # $timer found...
36 if ($timer ne $opt_t) { # - - and they differ
37 warn "You specified a $opt_t timer but I detected a $timer time
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/chud/
H A Dchud_osfmk_callback.c49 #pragma mark **** timer ****
60 chud_timer_t timer,
67 thread_call_enter1_delayed((thread_call_t)timer, param1, t_delay);
72 chudxnu_timer_callback_cancel(chud_timer_t timer) argument
74 thread_call_cancel((thread_call_t)timer);
79 chudxnu_timer_free(chud_timer_t timer) argument
81 thread_call_cancel((thread_call_t)timer);
82 thread_call_free((thread_call_t)timer);
59 chudxnu_timer_callback_enter( chud_timer_t timer, thread_call_param_t param1, uint32_t time, uint32_t units) argument
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/
H A Dtktimer2.rb9 root = TkRoot.new(:title=>'timer sample')
21 timer = TkTimer.new(50, -1, tick).start(0, proc{ label.text('0.00'); 0 })
32 command proc{ timer.continue unless timer.running? }
36 command proc{ timer.restart(0, proc{ label.text('0.00'); 0 }) }
40 command proc{ timer.stop if timer.running? }
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/include/dns/
H A Dtimer.h18 /* $Id: timer.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
23 /*! \file dns/timer.h */
39 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime,
45 * Set the timer 'timer' to go off after 'idletime' seconds of inactivity,
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dtimer.c18 /* $Id: timer.c,v 1.7 2007/06/19 23:47:16 tbox Exp $ */
26 #include <isc/timer.h>
29 #include <dns/timer.h>
37 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime, argument
50 * work around the silly limitation of the ISC timer interface
55 CHECK(isc_timer_reset(timer, isc_timertype_once,
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/tile/
H A Drepeater.tcl26 set State(timer) {} ;# [after] id of repeat script
72 after cancel $State(timer)
73 set State(timer) [after $State(delay) [list tile::Repeater::Repeat $w]]
82 after cancel $State(timer)
91 after cancel $State(timer)
102 after cancel $State(timer)
103 set State(timer) [after $State(interval) [list tile::Repeater::Repeat $w]]
114 set State(timer) [after $State(interval) [list tile::Repeater::Repeat $w]]
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/virtchannel_core/
H A Devents.tcl12 # Meta description (timer
14 # Meta description timer generating the expected read/write
25 # TODO :: set/get accessor methods for the timer delay
70 # channel. This may start a timer to periodically post
91 variable timer allowed requested posting delay
94 # timer = Timer controlling the posting.
121 # post. From that then derive whether we need a timer or
125 catch { after cancel $timer }
132 set timer [after $delay \
135 catch { unset timer }
[all...]
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkBlink.c31 Tcl_TimerToken timer; /* Blink timer */ member in struct:__anon13257
42 if (cm->timer) {
43 Tcl_DeleteTimerHandler(cm->timer);
58 cm->timer = 0;
83 cm->timer = Tcl_CreateTimerHandler(blinkTime, CursorBlinkProc, clientData);
88 * Turn cursor off, disable blink timer.
99 if (cm->timer) {
100 Tcl_DeleteTimerHandler(cm->timer);
101 cm->timer
[all...]

Completed in 336 milliseconds

1234567891011>>