/external/bluetooth/glib/glib/ |
gtimer.c | 70 GTimer *timer; local 72 timer = g_new (GTimer, 1); 73 timer->active = TRUE; 75 GETTIME (timer->start); 77 return timer; 81 g_timer_destroy (GTimer *timer) 83 g_return_if_fail (timer != NULL); 85 g_free (timer); 89 g_timer_start (GTimer *timer) 91 g_return_if_fail (timer != NULL) [all...] |
/external/webkit/WebCore/manual-tests/wml/ |
card-ontimer.wml | 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.
|
/external/dropbear/libtommath/etc/ |
makefile | 19 nasm -f coff timer.asm 20 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 24 nasm -f gnuwin32 timer.asm 25 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 29 nasm -f elf -DUSE_ELF timer.asm 30 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86l
|
/bionic/libc/netbsd/isc/ |
ev_timers.c | 62 evTimer * timer; member in struct:__anon463 238 ctx->cur->type == Timer && 239 ctx->cur->u.timer.this == del) { 240 printf("deferring delete of timer (executing)\n"); 243 * clean up the timer. 271 evTimer *timer = id.opaque; local 276 if (heap_element(ctx->timers, timer->index) != timer) 280 timer->mode |= EV_TMR_RATE; 282 timer->mode &= ~EV_TMR_RATE 298 evTimer *timer = id.opaque; local 395 evTimer *timer = opaqueID.opaque; local 448 evTimer *timer; local [all...] |
/external/webkit/WebCore/platform/ |
ThreadTimers.cpp | 32 #include "Timer.h" 47 static MainThreadSharedTimer* timer = new MainThreadSharedTimer; local 48 return timer; 104 TimerBase* timer = m_timerHeap.first(); local 105 timer->m_nextFireTime = 0; 106 timer->heapDeleteMin(); 108 double interval = timer->repeatInterval(); 109 timer->setNextFireTime(interval ? fireTime + interval : 0); 111 // Once the timer has been fired, it may be deleted, so do nothing else with it after this point. 112 timer->fired() [all...] |
/external/qemu/distrib/sdl-1.2.12/src/timer/unix/ |
SDL_systimer.c | 171 struct itimerval timer; local 173 timer.it_value.tv_sec = (SDL_alarm_interval/1000); 174 timer.it_value.tv_usec = (SDL_alarm_interval%1000)*1000; 175 timer.it_interval.tv_sec = (SDL_alarm_interval/1000); 176 timer.it_interval.tv_usec = (SDL_alarm_interval%1000)*1000; 177 setitimer(ITIMER_REAL, &timer, NULL); 183 struct itimerval timer; local 185 SDL_memset(&timer, 0, (sizeof timer)); 186 setitimer(ITIMER_REAL, &timer, NULL) 195 static SDL_Thread *timer = NULL; variable [all...] |
/external/icu4c/tools/ctestfw/unicode/ |
utimer.h | 56 * 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 int uprv_initFrequency(UTimer* timer) 172 return QueryPerformanceFrequency(&timer->placeHolder); 174 void uprv_start(UTimer* timer) 176 QueryPerformanceCounter(&timer->start); 192 int32_t uprv_initFrequency(UTimer* /*timer*/) 196 void uprv_start(UTimer* timer) 198 gettimeofday(&timer->start, 0) 267 UTimer timer; local [all...] |
/bionic/libc/kernel/common/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/external/kernel-headers/original/asm-x86/ |
param.h | 5 # define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
/external/kernel-headers/original/linux/sunrpc/ |
types.h | 12 #include <linux/timer.h>
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_timer.h | 40 /* This is the maximum resolution of the SDL timer on all platforms */ 51 /* Function prototype for the timer callback function */ 55 * elapsed. The callback function is passed the current timer interval 56 * and returns the next timer interval. If the returned value is the 61 * To cancel a currently running timer, call SDL_SetTimer(0, NULL); 63 * The timer callback function may run in a different thread than your 66 * The maximum resolution of this timer is 10 ms, which means that if 67 * you request a 16 ms timer, your callback will run approximately 20 ms 70 * timer for 30 ms: 84 /* New timer API, supports multiple timer [all...] |
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_timer.h | 40 /* This is the maximum resolution of the SDL timer on all platforms */ 51 /* Function prototype for the timer callback function */ 55 * elapsed. The callback function is passed the current timer interval 56 * and returns the next timer interval. If the returned value is the 61 * To cancel a currently running timer, call SDL_SetTimer(0, NULL); 63 * The timer callback function may run in a different thread than your 66 * The maximum resolution of this timer is 10 ms, which means that if 67 * you request a 16 ms timer, your callback will run approximately 20 ms 70 * timer for 30 ms: 84 /* New timer API, supports multiple timer [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_timer.h | 40 /* This is the maximum resolution of the SDL timer on all platforms */ 51 /* Function prototype for the timer callback function */ 55 * elapsed. The callback function is passed the current timer interval 56 * and returns the next timer interval. If the returned value is the 61 * To cancel a currently running timer, call SDL_SetTimer(0, NULL); 63 * The timer callback function may run in a different thread than your 66 * The maximum resolution of this timer is 10 ms, which means that if 67 * you request a 16 ms timer, your callback will run approximately 20 ms 70 * timer for 30 ms: 84 /* New timer API, supports multiple timer [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_timer.h | 45 /* This is the maximum resolution of the SDL timer on all platforms */ 56 /* Function prototype for the timer callback function */ 60 * elapsed. The callback function is passed the current timer interval 61 * and returns the next timer interval. If the returned value is the 66 * To cancel a currently running timer, call SDL_SetTimer(0, NULL); 68 * The timer callback function may run in a different thread than your 71 * The maximum resolution of this timer is 10 ms, which means that if 72 * you request a 16 ms timer, your callback will run approximately 20 ms 75 * timer for 30 ms: 87 /* New timer API, supports multiple timer [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_timer.h | 40 /* This is the maximum resolution of the SDL timer on all platforms */ 51 /* Function prototype for the timer callback function */ 55 * elapsed. The callback function is passed the current timer interval 56 * and returns the next timer interval. If the returned value is the 61 * To cancel a currently running timer, call SDL_SetTimer(0, NULL); 63 * The timer callback function may run in a different thread than your 66 * The maximum resolution of this timer is 10 ms, which means that if 67 * you request a 16 ms timer, your callback will run approximately 20 ms 70 * timer for 30 ms: 84 /* New timer API, supports multiple timer [all...] |
/external/qemu/distrib/sdl-1.2.12/src/timer/epoc/ |
SDL_systimer.cpp | 69 static SDL_Thread *timer = NULL; variable 88 timer = SDL_CreateThread(RunTimer, NULL); 89 if ( timer == NULL ) 97 if ( timer ) { 98 SDL_WaitThread(timer, NULL); 99 timer = NULL; 105 SDL_SetError("Internal logic error: Epoc uses threaded timer");
|
/external/webkit/WebCore/platform/win/ |
SharedTimerWin.cpp | 71 static HANDLE timer; member in namespace:WebCore 77 const int timerResolution = 1; // To improve timer resolution, we call timeBeginPeriod/timeEndPeriod with this value to increase timer resolution to 1ms. 78 const int highResolutionThresholdMsec = 16; // Only activate high-res timer for sub-16ms timers (Windows can fire timers at 16ms intervals without changing the system resolution). 79 const int stopHighResTimerInMsec = 300; // Stop high-res timer after 0.3 seconds to lessen power consumption (we don't use a smaller time since oscillating between high and low resolution breaks timer accuracy on XP). 180 // If the queue doesn't contains input events, we use a higher priorty timer event posting mechanism. 183 // Call PostMessage immediately if the timer is already expired, unless a paint is pending. 192 if (timer) 193 DeleteTimerQueueTimer(timerQueue, timer, 0) [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
TimerTask.java | 24 * @see Timer 28 /* Lock object for synchronization. It's also used by Timer class. */ 31 /* If timer was cancelled */ 34 /* Slots used by Timer */ 48 * Method called from the Timer for synchronized getting of when field. 57 * Method called from the Timer object when scheduling an event @param time 66 * Is TimerTask scheduled into any timer? 68 * @return {@code true} if the timer task is scheduled, {@code false} 85 * Cancels the {@code TimerTask} and removes it from the {@code Timer}'s queue. Generally, it
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
TimerTaskTest.java | 25 import java.util.Timer; 34 * Timer is not cancelled. 95 Timer t = null; 103 t = new Timer(); 110 t = new Timer(); 129 t = new Timer(); 139 t = new Timer(); 154 t = new Timer(); 166 t = new Timer(); 196 Timer t = null [all...] |