/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...] |
/device/samsung/crespo/alsa-lib/src/timer/ |
timer_local.h | 2 * Timer interface - local header file 29 int (*close)(snd_timer_t *timer); 30 int (*nonblock)(snd_timer_t *timer, int nonblock); 31 int (*async)(snd_timer_t *timer, int sig, pid_t pid); 32 int (*info)(snd_timer_t *timer, snd_timer_info_t *info); 33 int (*params)(snd_timer_t *timer, snd_timer_params_t *params); 34 int (*status)(snd_timer_t *timer, snd_timer_status_t *status); 35 int (*rt_start)(snd_timer_t *timer); 36 int (*rt_stop)(snd_timer_t *timer); 37 int (*rt_continue)(snd_timer_t *timer); [all...] |
timer.c | 2 * \file timer/timer.c 3 * \brief Timer Interface 7 * Timer Interface is designed to access timers. 8 * See \ref timer page for more details. 11 * Timer Interface - main file 31 /*! \page timer Timer interface 33 <P> Timer interface is designed to use internal timers in sound hardware, but 34 it can be driven with any timer [all...] |
timer_query.c | 2 * \file timer/timer_query.c 6 * Timer Query Interface is designed to obtain identification of timers. 9 * Timer Query Interface - main file 37 static int snd_timer_query_open_conf(snd_timer_query_t **timer, 55 SNDERR("Invalid type for TIMER %s definition", name); 57 SNDERR("Invalid type for TIMER definition"); 78 SNDERR("Invalid type for TIMER type %s definition", str); 133 err = open_func(timer, name, timer_root, timer_conf, mode); 137 (*timer)->dl_handle = h; 142 static int snd_timer_query_open_noupdate(snd_timer_query_t **timer, snd_config_t *root, const char *name, int mode [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/chromium/third_party/icu/source/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/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/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/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/webkit/WebKit/android/plugins/ |
PluginTimer.cpp | 98 PluginTimer* timer = new PluginTimer(&m_list, instance, repeat, proc); local 102 timer->startRepeating(dinterval); 104 timer->startOneShot(dinterval); 106 return timer->timerID(); 111 // Although it looks like simply deleting the timer would work here 116 PluginTimer* timer = PluginTimer::Find(m_list, timerID); local 117 if (timer) 118 timer->unschedule();
|
/bionic/libc/kernel/common/linux/sunrpc/ |
types.h | 15 #include <linux/timer.h>
|