/external/qemu/telephony/ |
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 );
|
sysdeps_qemu.c | 15 #include "qemu-timer.h" 51 QEMUTimer* timer; member in struct:SysTimerRec_ 75 SysTimer timer = _s_free_timers; local 77 if (timer != NULL) { 78 _s_free_timers = timer->next; 79 timer->next = NULL; 80 timer->timer = NULL; 82 return timer; 87 sys_timer_free( SysTimer timer ) 101 SysTimer timer = sys_timer_alloc(); local [all...] |
/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...] |
/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/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/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/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...] |
/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...] |
/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,
|
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/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");
|
/bionic/libc/kernel/arch-sh/asm/ |
heartbeat.h | 15 #include <linux/timer.h> 23 struct timer_list timer; member in struct:heartbeat_data
|
/external/valgrind/main/memcheck/tests/linux/ |
timerfd-syscall.stderr.exp | 8 relative timer test (at 500 ms) ... 9 waiting timer ... 10 got timer ticks (1) after 0.5 s 11 absolute timer test (at 500 ms) ... 12 waiting timer ... 13 got timer ticks (1) after 0.5 s 14 sequential timer test (100 ms clock) ... 19 waiting timer ... 20 got timer ticks (20) after about 2s 22 waiting timer (flush the single tick) .. [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...] |
/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/Source/WebCore/wml/ |
WMLRefreshElement.cpp | 63 // value in the page state and then stop the timer 64 WMLTimerElement* timer = card->eventTimer(); 65 if (timer) { 66 timer->storeIntervalToPageState(); 67 timer->stop(); 78 // After refreshing task, resume the timer if it exsits 79 if (timer) 80 timer->start();
|
/external/webkit/Source/JavaScriptCore/runtime/ |
GCActivityCallbackCF.cpp | 50 RetainPtr<CFRunLoopTimerRef> timer; member in struct:JSC::DefaultGCActivityCallbackPlatformData 58 void DefaultGCActivityCallbackPlatformData::trigger(CFRunLoopTimerRef timer, void *info) 63 CFRunLoopTimerSetNextFireDate(timer, CFAbsoluteTimeGetCurrent() + decade); 78 CFRunLoopRemoveTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes); 79 CFRunLoopTimerInvalidate(d->timer.get()); 82 d->timer = 0; 92 d->timer.adoptCF(CFRunLoopTimerCreate(0, decade, decade, 0, 0, DefaultGCActivityCallbackPlatformData::trigger, &d->context)); 93 CFRunLoopAddTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes); 98 CFRunLoopTimerSetNextFireDate(d->timer.get(), CFAbsoluteTimeGetCurrent() + triggerInterval); 105 CFRunLoopRemoveTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes) [all...] |
/external/webkit/Source/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/android/ |
looper.h | 53 * - timer expiration 92 void (*timer_init)(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque); 126 * Each timer belongs to only one looper object. 129 loopTimer_init(LoopTimer* timer, 134 looper->timer_init(looper, timer, callback, opaque); 139 loopTimer_done(LoopTimer* timer) 141 timer->clazz->done(timer->impl); 142 timer->clazz = NULL; 143 timer->impl = NULL [all...] |
/external/webkit/Source/WebCore/platform/mock/ |
DeviceOrientationClientMock.cpp | 65 void DeviceOrientationClientMock::timerFired(Timer<DeviceOrientationClientMock>* timer) 67 ASSERT_UNUSED(timer, timer == &m_timer);
|
/bionic/libc/kernel/common/linux/sunrpc/ |
types.h | 15 #include <linux/timer.h>
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
types.h | 15 #include <linux/timer.h>
|