/external/kernel-headers/original/linux/ |
timer.h | 33 void fastcall init_timer(struct timer_list * timer); 35 static inline void setup_timer(struct timer_list * timer, 39 timer->function = function; 40 timer->data = data; 41 init_timer(timer); 45 * timer_pending - is a timer pending? 46 * @timer: the timer in question 48 * timer_pending will tell whether a given timer is currently pending, 50 * to this timer, eg. interrupt contexts, or other CPUs on SMP [all...] |
/external/qemu/ |
qemu_timers.h | 5 #include "qemu-timer.h"
|
/external/srec/portable/src/ |
ptimer.c | 44 * Creates a new timer object. 46 ESR_ReturnCode PTimerCreate(PTimer **timer) 50 if (timer == NULL) 65 *timer = tmp; 69 ESR_ReturnCode PTimerDestroy(PTimer *timer) 71 if (timer == NULL) return ESR_INVALID_ARGUMENT; 72 FREE(timer); 77 * Starts the timer. This sets the reference time from which all new elapsed 79 * useful to pause the timer. 81 ESR_ReturnCode PTimerStart(PTimer *timer) 158 timer_t timer; member in struct:PTimer_t [all...] |
pcputimer.c | 42 * Creates a new timer object. 44 ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer) 48 if (timer == NULL) 56 *timer = tmp; 61 ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer) 63 if (timer == NULL) return ESR_INVALID_ARGUMENT; 64 FREE(timer); 69 * Starts the timer. This sets the reference time from which all new elapsed 71 * useful to pause the timer. 73 ESR_ReturnCode PCPUTimerStart(PCPUTimer *timer) [all...] |
/bionic/libc/bionic/ |
pthread-timers.c | 41 * C library. We use a very basic scheme where each timer is associated to a 55 /* normal (i.e. non-SIGEV_THREAD) timer ids are created directly by the kernel 58 * on the other hand, a SIGEV_THREAD timer ID will have its TIMER_ID_WRAP_BIT 60 * guaranteed to never be used by kernel-provided timer ids 77 /* True iff a timer id is valid */ 103 * the timer thread and the timer_XXX() functions 145 thr_timer_t* timer; local 151 timer = t->free_timer; 152 if (timer != NULL) { 153 t->free_timer = timer->next 182 thr_timer_t* timer = &t->timers[nn]; local 205 thr_timer_t* timer; local 276 thr_timer_t* timer = thr_timer_table_from_id( table, id, 0 ); local 330 thr_timer_t* timer = thr_timer_table_alloc( table ); local 386 thr_timer_t* timer = thr_timer_table_from_id(table, id, 1); local 446 thr_timer_t* timer = thr_timer_from_id(id); local 474 thr_timer_t* timer = thr_timer_from_id(id); local 518 thr_timer_t* timer = thr_timer_from_id(id); local 538 thr_timer_t* timer = _arg; local [all...] |
/system/wlan/ti/wilink_6_1/utils/ |
timer.c | 2 * timer.c 35 /** \file timer.c 36 * \brief The timers services OS-Independent layer over the OS-API timer services which are OS-Dependent. 38 * \see timer.h, osapi.c 47 #include "timer.h" 52 /* The timer module structure (common to all timers) */ 66 /* Per timer structure */ 69 TI_HANDLE hTimerModule; /* The timer module handle (see TTimerModule, needed on expiry) */ 70 TI_HANDLE hOsTimerObj; /* The OS-API timer object handle */ 71 TQueNodeHdr tQueNodeHdr; /* The header used for queueing the timer */ [all...] |
/hardware/ti/wlan/wl1271/utils/ |
timer.c | 2 * timer.c 35 /** \file timer.c 36 * \brief The timers services OS-Independent layer over the OS-API timer services which are OS-Dependent. 38 * \see timer.h, osapi.c 46 #include "timer.h" 51 /* The timer module structure (common to all timers) */ 65 /* Per timer structure */ 68 TI_HANDLE hTimerModule; /* The timer module handle (see TTimerModule, needed on expiry) */ 69 TI_HANDLE hOsTimerObj; /* The OS-API timer object handle */ 70 TQueNodeHdr tQueNodeHdr; /* The header used for queueing the timer */ [all...] |
/external/srec/portable/include/ |
pcputimer.h | 38 * Creates a new timer object. 40 * @param timer PCPUTimer handle 41 * @return ESR_INVALID_ARGUMENT if timer is value it points to is null 43 PORTABLE_API ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer); 47 * Destroys timer object. 49 * @param timer PCPUTimer handle 50 * @return ESR_INVALID_ARGUMENT if timer is null 52 PORTABLE_API ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer); 55 * Starts the timer. This sets the reference time from which all new elapsed 57 * useful to pause the timer [all...] |
ptimer.h | 40 * Creates a new timer object. 42 * @param timer PTimer handle. 44 PORTABLE_API ESR_ReturnCode PTimerCreate(PTimer **timer); 47 * Destroys the timer object. 49 * @param timer PTimer handle. 51 PORTABLE_API ESR_ReturnCode PTimerDestroy(PTimer *timer); 54 * Starts the timer. This sets the reference time from which all new elapsed 56 * useful to pause the timer. 58 PORTABLE_API ESR_ReturnCode PTimerStart(PTimer *timer); 61 * Stops the timer [all...] |
/external/qemu/telephony/ |
sysdeps_qemu.c | 14 #include "qemu-timer.h" 50 QEMUTimer* timer; member in struct:SysTimerRec_ 74 SysTimer timer = _s_free_timers; local 76 if (timer != NULL) { 77 _s_free_timers = timer->next; 78 timer->next = NULL; 79 timer->timer = NULL; 81 return timer; 86 sys_timer_free( SysTimer timer ) 100 SysTimer timer = sys_timer_alloc(); local [all...] |
test1.c | 22 SysTimer timer = _timer; local 28 sys_timer_set( timer, now + 2000, timer_func, timer ); 30 sys_timer_destroy( timer ); 36 SysTimer timer; local 41 /* create timer and register it */ 42 timer = sys_timer_create(); 43 sys_timer_set( timer, sys_time_ms() + 1000, timer_func, timer );
|
/external/kernel-headers/original/linux/sunrpc/ |
timer.h | 2 * linux/include/linux/sunrpc/timer.h 4 * Declarations for the RPC transport timer. 23 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m); 24 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer); 26 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) 29 if (!timer) 31 t = &rt->ntimeouts[timer-1]; 42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) 44 if (!timer) 46 return rt->ntimeouts[timer-1] [all...] |
/external/webkit/WebCore/manual-tests/wml/ |
timer.wml | 9 <p>This test case is used to test timer in WML </p> 10 <timer name="time1" value="50"/> 13 The timer is triggered by the ontimer intrinsic event(ontimer as attribute of card element)<br/> 14 When the timer is timeout(after 5s), will jump to card two. 22 <timer name="timer2" value="30"/> 26 The timer is triggered by the ontimer intrinsic event(ontimer is specified by onevent element)<br/> 27 When the timer is timeout(after 3s), will jump back to card one.
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
TimerTest.java | 26 import java.util.Timer; 30 @TestTargetClass(Timer.class) 39 * Timer is not cancelled. 50 // Should we terminate the timer at a specific timerCounter? 53 // The timer we belong to 54 Timer timer = null; field in class:TimerTest.TimerTestTask 59 public TimerTestTask(Timer t) { 60 timer = t; 69 if (terminateCount == timerCounter && timer != null [all...] |
/cts/tools/host/src/com/android/cts/ |
HostTimer.java | 19 import java.util.Timer; 23 * Host timer. 24 * Generally, there are two use cases of this general host timer: 26 * <li> Use it as general timer to guard host from running for 28 * <li> Use it as special timer where host needs to run very 30 * by section which requires restarting the timer. 43 private Timer mTimer; 97 * Set the timer task. 99 * @param task The timer task. 106 * Check if the watch dog timer timed out [all...] |
/external/guava/src/com/google/common/collect/ |
ExpirationTimer.java | 19 import java.util.Timer; 22 * Timer used for entry expiration in MapMaker. 25 static Timer instance = new Timer(true);
|
/external/webkit/WebCore/manual-tests/ |
modal-dialog.html | 5 document.getElementById("timerResult").firstChild.data = "Timer fired!"; 24 <p>Push this button to test timer: <input type="button" value="Test Timer" onClick="setTimeout(timerFired, 0)"></p> 25 <p id="timerResult">Timer did not fire yet.</p>
|
/external/webkit/WebCore/wml/ |
WMLRefreshElement.cpp | 58 // value in the page state and then stop the timer 59 WMLTimerElement* timer = card->eventTimer(); 60 if (timer) { 61 timer->storeIntervalToPageState(); 62 timer->stop(); 73 // After refreshing task, resume the timer if it exsits 74 if (timer) 75 timer->start();
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
timers.sgml | 36 Creates a new timer, and starts timing (i.e. g_timer_start() is implicitly 48 timer. 51 @timer: a #GTimer. 60 @timer: a #GTimer. 65 Resumes a timer that has previously been stopped with g_timer_stop(). 69 @timer: a #GTimer. 75 If @timer has been started but not stopped, obtains the time since the timer was 76 started. If @timer has been stopped, obtains the elapsed time between the time 81 while a timer is running will cause invalid return values from this function [all...] |
/external/bluetooth/glib/glib/ |
gtimer.h | 38 /* Timer 47 void g_timer_destroy (GTimer *timer); 48 void g_timer_start (GTimer *timer); 49 void g_timer_stop (GTimer *timer); 50 void g_timer_reset (GTimer *timer); 51 void g_timer_continue (GTimer *timer); 52 gdouble g_timer_elapsed (GTimer *timer,
|
/external/qemu/distrib/sdl-1.2.12/src/timer/beos/ |
SDL_systimer.c | 52 static SDL_Thread *timer = NULL; variable 69 timer = SDL_CreateThread(RunTimer, NULL); 70 if ( timer == NULL ) 78 if ( timer ) { 79 SDL_WaitThread(timer, NULL); 80 timer = NULL; 86 SDL_SetError("Internal logic error: BeOS uses threaded timer");
|
/external/qemu/distrib/sdl-1.2.12/src/timer/dc/ |
SDL_systimer.c | 57 static SDL_Thread *timer = NULL; variable 74 timer = SDL_CreateThread(RunTimer, NULL); 75 if ( timer == NULL ) 83 if ( timer ) { 84 SDL_WaitThread(timer, NULL); 85 timer = NULL; 91 SDL_SetError("Internal logic error: DC uses threaded timer");
|
/external/qemu/distrib/sdl-1.2.12/src/timer/dummy/ |
SDL_systimer.c | 48 static SDL_Thread *timer = NULL; variable 65 timer = SDL_CreateThread(RunTimer, NULL); 66 if ( timer == NULL ) 74 if ( timer ) { 75 SDL_WaitThread(timer, NULL); 76 timer = NULL; 82 SDL_SetError("Internal logic error: threaded timer in use");
|
/external/qemu/distrib/sdl-1.2.12/src/timer/riscos/ |
SDL_systimer.c | 37 /* Timer SDL_arraysize(Timer ),start/reset time */ 39 /* Timer running function */ 132 /* Non-threaded version of timer */ 154 to detect if we need to check the timer */ 182 /* Threaded version of timer - based on code for linux */ 188 static SDL_Thread *timer = NULL; variable 205 timer = SDL_CreateThread(RunTimer, NULL); 206 if ( timer == NULL ) 214 if ( timer ) { [all...] |
/external/qemu/distrib/sdl-1.2.12/src/timer/ |
SDL_systimer.h | 24 /* The system dependent timer handling functions */ 30 /* Initialize the system dependent timer subsystem */ 33 /* Quit the system dependent timer subsystem */ 36 /* Start a timer set up by SDL_SetTimer() */ 39 /* Stop a previously started timer */
|