/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...] |
/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...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
content.js | 11 // Timers to trigger "stopEvent" for coalescing events. 12 var timers = {}; 15 timers[type] = 0; 28 var timerId = timers[type]; 32 timers[type] = 0; 36 timers[type] = setTimeout(stopEvent, 300, type);
|
/bionic/libc/netbsd/isc/ |
ev_timers.c | 20 /* ev_timers.c - implement timers for the eventlib 218 if (heap_insert(ctx->timers, id) < 0) 226 printf("timers after evSetTimer:\n"); 227 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 250 if (heap_element(ctx->timers, del->index) != del) 253 if (heap_delete(ctx->timers, del->index) < 0) 258 printf("timers after evClearTimer:\n"); 259 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 277 if (heap_element(ctx->timers, timer->index) != timer) 303 if (heap_element(ctx->timers, timer->index) != timer [all...] |
eventlib_p.h | 208 /* Timers. */ 210 heap_context timers; member in struct:__anon562
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
notimer-after-unload.js | 1 description("Tests that no timers will trigger for navigator.geolocation object after onunload.");
|
/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...] |
/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/qemu/android/ |
looper-generic.c | 265 ARefSet timers[1]; /* set of all timers */ member in struct:GLooper 266 GLoopTimer* activeTimers; /* sorted list of active timers */ 279 arefSet_add(looper->timers, tt); 285 arefSet_del(looper->timers, tt); 417 /* Do we have any expired timers here ? */ 436 /* Fire the pending timers, if any. We do that in a separate 438 * by starting/stopping other timers. 469 arefSet_done(looper->timers);
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginView.mm | 710 if (!timers) 713 HashMap<uint32_t, PluginTimer*>::const_iterator end = timers->end(); 714 for (HashMap<uint32_t, PluginTimer*>::const_iterator it = timers->begin(); it != end; ++it) { 728 if (!timers) 731 HashMap<uint32_t, PluginTimer*>::const_iterator end = timers->end(); 732 for (HashMap<uint32_t, PluginTimer*>::const_iterator it = timers->begin(); it != end; ++it) { [all...] |
WebNetscapePluginView.h | 93 HashMap<uint32_t, PluginTimer*>* timers; variable
|
/external/chromium/chrome/browser/ |
browser_about_handler.cc | 690 // We maintain two lists - one for counters and one for timers. 691 // Timers actually get stored on both lists. 698 ListValue* timers; local 699 if (!root.GetList("timers", &timers)) { 700 timers = new ListValue(); 701 root.Set("timers", timers); 763 // Store this on the timers list as well. 764 timers->Append(counter) [all...] |
/bionic/libc/ |
Android.mk | 377 bionic/pthread-timers.c.arm \ 417 bionic/pthread-timers.c \ 458 bionic/pthread-timers.c \
|
/external/chromium/chrome/browser/resources/ |
menu.js | 202 * Timers for opening/closing submenu. 388 * Set the selected item. This controls timers to open/close submenus. 395 * 3) If the selected menu is not submenu, cancel all timers and start 609 * Cancels timers to open/close submenus.
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 149 // A set of pools of currently active timers. When a timer is queried, we will divide the 150 // elapsed time by the number of active timers to arrive at that timer's share of the time. 151 // In order to do this, we must refresh each timer whenever the number of active timers 163 // Last partial timers we use for distributing CPU usage. 915 // Accumulate time to all currently active timers before adding 3964 ArrayList<StopwatchTimer> timers = mSensorTimers.get(sensor); local [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |