/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/pixman/pixman/ |
pixman-timer.c | 32 static pixman_timer_t *timers; variable 39 for (timer = timers; timer != NULL; timer = timer->next) 62 timer->next = timers; 63 timers = timer;
|
/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...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
Timers.java | 22 public class Timers { 49 public static TimerObj findTimer(ArrayList<TimerObj> timers, int timerId) { 50 Iterator<TimerObj> i = timers.iterator(); 59 public static TimerObj findExpiredTimer(ArrayList<TimerObj> timers) { 60 Iterator<TimerObj> i = timers.iterator(); 70 public static ArrayList<TimerObj> timersInUse(ArrayList<TimerObj> timers) { 71 ArrayList<TimerObj> result = (ArrayList<TimerObj>) timers.clone(); 82 public static ArrayList<TimerObj> timersInTimesUp(ArrayList<TimerObj> timers) { 83 ArrayList<TimerObj> result = (ArrayList<TimerObj>) timers.clone();
|
TimerObj.java | 242 SharedPreferences prefs, ArrayList<TimerObj> timers) { 250 timers.add(t); 252 Collections.sort(timers, new Comparator<TimerObj>() { 262 SharedPreferences prefs, ArrayList<TimerObj> timers, int match) { 271 timers.add(t); 278 SharedPreferences prefs, ArrayList<TimerObj> timers) { 279 if (timers.size() > 0) { 280 for (int i = 0; i < timers.size(); i++) { 281 TimerObj t = timers.get(i); 282 timers.get(i).writeToSharedPref(prefs) 301 ArrayList<TimerObj> timers = new ArrayList<TimerObj>(); local [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);
|
/external/chromium_org/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);
|
/external/chromium_org/chrome/test/pyautolib/ |
timer_queue.py | 10 """Executes timers at a given interval. 19 timers = TimerQueue() 20 timers.addTimer(self._fooPrinter, 15, args=('hello',)) 21 timers.start() 35 self.timers = [] 47 self.timers.append({'method': method, 'interval': interval, 62 for timer in self.timers: 64 self.timers.remove(timer) 77 for timer in self.timers:
|
/external/chromium_org/chrome/test/functional/ |
chromeos_longterm_test.py | 113 timers = timer_queue.TimerQueue() 114 timers.AddTimer(self._ConfigureNewWindow, 90, args=(flash_pages,)) 115 timers.AddTimer(self._RefreshLongTermWindow, 30, args=(long_term_pages,)) 116 timers.AddTimer(self._ConfigureNewWindow, 15, args=(incognito_pages, True)) 117 timers.start() 120 if not timers.is_alive(): 126 # Kill the timers 127 timers.Stop()
|
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_timers.c | 20 /* ev_timers.c - implement timers for the eventlib 230 if (heap_insert(ctx->timers, id) < 0) 238 evPrintf(ctx, 7, "timers after evSetTimer:\n"); 239 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 262 if (heap_element(ctx->timers, del->index) != del) 265 if (heap_delete(ctx->timers, del->index) < 0) 270 evPrintf(ctx, 7, "timers after evClearTimer:\n"); 271 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 289 if (heap_element(ctx->timers, timer->index) != timer) 315 if (heap_element(ctx->timers, timer->index) != timer [all...] |
eventlib_p.h | 253 /* Timers. */ 255 heap_context timers; member in struct:__anon738
|
/bionic/libc/bionic/ |
pthread-timers.c | 42 // Normal (i.e. non-SIGEV_THREAD) timers are created directly by the kernel 46 // timers. See the following pages for additional details: 58 // the timers of the child process should be disarmed, but not deleted. 60 // stops all timers before the fork, and only re-start them in case of error 123 thr_timer_t timers[ MAX_THREAD_TIMERS ]; member in struct:thr_timer_table 126 /** GLOBAL TABLE OF THREAD TIMERS 138 t->timers[nn].id = TIMER_ID_NONE; 140 t->free_timer = &t->timers[0]; 142 t->timers[nn-1].next = &t->timers[nn] [all...] |
/external/openssh/openbsd-compat/ |
port-aix.h | 71 # include <sys/timers.h>
|
/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
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 35 import com.android.deskclock.timer.Timers; 177 final ArrayList<TimerObj> timers = new ArrayList<TimerObj>(); local 178 TimerObj.getTimersFromSharedPrefs(prefs, timers); 179 for (TimerObj t : timers) { 191 // Timers set without presenting UI to the user will be deleted after use 200 sendBroadcast(new Intent().setAction(Timers.START_TIMER) 201 .putExtra(Timers.TIMER_INTENT_EXTRA, timer.mTimerId));
|
/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/chromium_org/base/timer/ |
timer_unittest.cc | 245 base::OneShotTimer<ResetHelper> timers[20]; local 246 for (size_t i = 0; i < arraysize(timers); ++i) { 247 timers[i].Start(FROM_HERE, TimeDelta::FromMilliseconds(i * 10), 288 // that timers work properly in all configurations. 350 // timers not yet fired. It may only trigger exceptions
|
/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...] |
/external/chromium_org/chrome/browser/ui/webui/ |
about_ui.cc | 725 // We maintain two lists - one for counters and one for timers. 726 // Timers actually get stored on both lists. 733 ListValue* timers; local 734 if (!root.GetList("timers", &timers)) { 735 timers = new ListValue(); 736 root.Set("timers", timers); 798 // Store this on the timers list as well. 799 timers->Append(counter) [all...] |
/external/skia/bench/ |
benchmain.cpp | 282 "[--timers [wcgWC]*] [--rotate]\n" 299 SkDebugf(" --timers [wcgWC]* : " 414 } else if (strcmp(*argv, "--timers") == 0) { 428 logger.logError("missing arg for --timers\n"); 693 SkTArray<BenchTimer*> timers(SK_ARRAY_COUNT(gConfigs)); 714 timers.push_back(SkNEW_ARGS(BenchTimer, (glCtx))); 716 timers.push_back(SkNEW(BenchTimer)); 767 BenchTimer* timer = timers[configIndex]; [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 1627 final ArrayList<TimerEntry> timers = new ArrayList<TimerEntry>(); local 1654 final ArrayList<TimerEntry> timers = new ArrayList<TimerEntry>(); local [all...] |
/bionic/libc/kernel/arch-mips/asm/ip32/ |
mace.h | 304 struct mace_timers timers; member in struct:mace_perif
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ip32/ |
mace.h | 304 struct mace_timers timers; member in struct:mace_perif
|
/external/kernel-headers/original/asm-mips/ip32/ |
mace.h | 301 struct mace_timers timers; member in struct:mace_perif
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ip32/ |
mace.h | 304 struct mace_timers timers; member in struct:mace_perif
|