/external/libnfc-nxp/Linux_x86/ |
phOsalNfc_Timer.c | 57 static struct phOsalNfc_Timer timers[MAX_NO_TIMERS] = variable in typeref:struct:phOsalNfc_Timer 88 if(timers[timer_msg->TimerId].ptr != NULL) 90 phOsalNfc_FreeMemory(timers[timer_msg->TimerId].ptr); 91 timers[timer_msg->TimerId].ptr = NULL; 100 * This callback is called by Linux whenever one the timers expires. It 109 if((timerid < MAX_NO_TIMERS)&&(timers[timerid].nIsStopped == 1)) 139 timer_msg->pCallBck = timers[timerid].callback; 140 timer_msg->pContext = timers[timerid].pContext; 150 timers[timerid].ptr = osal_defer_msg; 155 (timers[timerid].callback)(timerid, timers[timerid].pContext) [all...] |
/external/chromium/base/ |
timer_unittest.cc | 234 base::OneShotTimer<ResetHelper> timers[20]; local 235 for (size_t i = 0; i < arraysize(timers); ++i) { 236 timers[i].Start(TimeDelta::FromMilliseconds(i * 10), &reset_helper, 277 // that timers work properly in all configurations. 339 // timers not yet fired. It may only trigger exceptions
|
/external/webkit/WebKit/mac/Plugins/ |
WebNetscapePluginView.h | 93 HashMap<uint32, PluginTimer*>* timers; variable
|
/bionic/libc/bionic/ |
pthread-timers.c | 34 * timers. See the following pages for additionnal details: 46 * the timers of the child process should be disarmed, but not deleted. 48 * stops all timers before the fork, and only re-start them in case of error 119 thr_timer_t timers[ MAX_THREAD_TIMERS ]; member in struct:thr_timer_table 122 /** GLOBAL TABLE OF THREAD TIMERS 134 t->timers[nn].id = TIMER_ID_NONE; 136 t->free_timer = &t->timers[0]; 138 t->timers[nn-1].next = &t->timers[nn]; 155 timer->id = TIMER_ID_WRAP((timer - t->timers)); [all...] |
/libcore/luni/src/main/java/java/util/ |
Timer.java | 21 * Timers schedule one-shot or recurring {@link TimerTask tasks} for execution. 45 * releases the timer's thread and other resources. Timers not explicitly 59 private TimerTask[] timers = new TimerTask[DEFAULT_HEAP_SIZE]; field in class:Timer.TimerImpl.TimerHeap 66 return timers[0]; 74 if (timers.length == size) { 76 System.arraycopy(timers, 0, appendedTimers, 0, size); 77 timers = appendedTimers; 79 timers[size++] = task; 86 timers[pos] = timers[--size] [all...] |
/bionic/libc/netbsd/isc/ |
eventlib_p.h | 208 /* Timers. */ 210 heap_context timers; member in struct:__anon497
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 128 // A set of pools of currently active timers. When a timer is queried, we will divide the 129 // elapsed time by the number of active timers to arrive at that timer's share of the time. 130 // In order to do this, we must refresh each timer whenever the number of active timers 142 // Last partial timers we use for distributing CPU usage. 864 // Accumulate time to all currently active timers before adding 919 // Update the total time for all other running Timers with the same type as this Timer 3742 ArrayList<StopwatchTimer> timers = mSensorTimers.get(sensor); local [all...] |