/external/qemu/telephony/ |
H A D | 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 );
|
/external/webkit/Source/WebCore/platform/ |
H A D | Timer.cpp | 45 // This allows us to efficiently determine which timer needs to fire the soonest. 46 // Then we set a single shared system timer to fire at that time. 48 // When a timer's "next fire time" changes, we need to move it around in the priority queue. 71 TimerBase* timer() const { return m_timer; } function in class:WebCore::TimerHeapElement 87 : m_index(-1), m_timer(o.timer()) 93 TimerBase* t = o.timer(); 107 double aFireTime = a.timer()->m_nextFireTime; 108 double bFireTime = b.timer()->m_nextFireTime; 114 unsigned difference = a.timer()->m_heapInsertionOrder - b.timer() [all...] |
H A D | ThreadTimers.cpp | 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(); 114 // Catch the case where the timer aske [all...] |
/external/iptables/include/linux/netfilter/ |
H A D | xt_IDLETIMER.h | 4 * Header file for Xtables timer target module. 50 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
|
/external/kernel-headers/original/linux/netfilter/ |
H A D | xt_IDLETIMER.h | 4 * Header file for Xtables timer target module. 50 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
|
/external/webkit/Source/WebCore/platform/mock/ |
H A D | DeviceOrientationClientMock.cpp | 65 void DeviceOrientationClientMock::timerFired(Timer<DeviceOrientationClientMock>* timer) argument 67 ASSERT_UNUSED(timer, timer == &m_timer);
|
/external/webkit/Source/WebKit/qt/tests/ |
H A D | util.h | 41 QTimer timer; local 42 QSignalSpy timeoutSpy(&timer, SIGNAL(timeout())); 44 QObject::connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit())); 45 timer.setSingleShot(true); 46 timer.start(timeout);
|
/external/webkit/Source/WebKit2/UIProcess/API/qt/tests/ |
H A D | util.h | 41 QTimer timer; local 42 QSignalSpy timeoutSpy(&timer, SIGNAL(timeout())); 44 QObject::connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit())); 45 timer.setSingleShot(true); 46 timer.start(timeout);
|
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | wiring_digital.c | 66 //static inline void turnOffPWM(uint8_t timer) __attribute__ ((always_inline)); 67 //static inline void turnOffPWM(uint8_t timer) 68 static void turnOffPWM(uint8_t timer) argument 70 switch (timer) 126 uint8_t timer = digitalPinToTimer(pin); local 135 if (timer != NOT_ON_TIMER) turnOffPWM(timer); 154 uint8_t timer = digitalPinToTimer(pin); local 162 if (timer != NOT_ON_TIMER) turnOffPWM(timer); [all...] |
/external/eigen/bench/ |
H A D | basicbenchmark.h | 51 Eigen::BenchTimer timer; local 55 timer.start(); 57 timer.stop(); 60 return timer.value();
|
H A D | sparse_transpose.cpp | 29 timer.reset(); \ 31 timer.start(); \ 34 } timer.stop(); } 44 BenchTimer timer; local 55 std::cout << " Eigen dense:\t" << timer.value() << endl; 64 std::cout << " Eigen:\t" << timer.value() << endl; 74 std::cout << " CSparse:\t" << timer.value() << endl; 85 std::cout << " GMM:\t\t" << timer.value() << endl; 95 std::cout << " MTL4:\t\t" << timer.value() << endl;
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
H A D | RecordReaper.java | 41 public void start(Timer timer) { argument 43 timer.schedule(this, DNSConstants.RECORD_REAPER_INTERVAL, DNSConstants.RECORD_REAPER_INTERVAL);
|
H A D | Responder.java | 65 public void start(Timer timer) { argument 91 timer.schedule(this, delay);
|
/external/kernel-headers/original/asm-arm/arch/ |
H A D | mtd-xip.h | 33 volatile xip_omap_mpu_timer_regs_t* timer = xip_omap_mpu_timer_base(nr); local 34 return timer->read_tim; 54 * the system timer tick period. This should put the CPU into idle mode
|
/external/kernel-headers/original/linux/sunrpc/ |
H A D | 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) argument 29 if (!timer) 31 t = &rt->ntimeouts[timer-1]; 42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) argument 44 if (!timer) 46 return rt->ntimeouts[timer [all...] |
/external/qemu/distrib/sdl-1.2.15/src/timer/beos/ |
H A D | 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.15/src/timer/dc/ |
H A D | 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");
|
/external/qemu/distrib/sdl-1.2.15/src/timer/dummy/ |
H A D | 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/qemu/slirp/ |
H A D | tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 128 * TCP timer processing. 131 tcp_timers(register struct tcpcb *tp, int timer) argument 137 switch (timer) { 154 * Retransmission timer went off. Message has not 219 * If timing a segment in this window, stop the timer. 258 * Persistence timer into zero window. 270 * Keep-alive timer went off; send something
|
/external/qemu/slirp-android/ |
H A D | tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 128 * TCP timer processing. 131 tcp_timers(register struct tcpcb *tp, int timer) argument 137 switch (timer) { 154 * Retransmission timer went off. Message has not 219 * If timing a segment in this window, stop the timer. 258 * Persistence timer into zero window. 270 * Keep-alive timer went off; send something
|
/external/srec/portable/src/ |
H A D | pcputimer.c | 42 * Creates a new timer object. 44 ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer) argument 48 if (timer == NULL) 56 *timer = tmp; 61 ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer) argument 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) argument 96 PCPUTimerStop(PCPUTimer *timer) argument 124 PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed) argument 153 PCPUTimerReset(PCPUTimer *timer) argument 175 PCPUTimerCreate(PCPUTimer **timer) argument 190 PCPUTimerDestroy(PCPUTimer *timer) argument 202 PCPUTimerStart(PCPUTimer *timer) argument 210 PCPUTimerStop(PCPUTimer *timer) argument 221 PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed) argument 231 PCPUTimerReset(PCPUTimer *timer) argument [all...] |
H A D | ptimer.c | 44 * Creates a new timer object. 46 ESR_ReturnCode PTimerCreate(PTimer **timer) argument 50 if (timer == NULL) 65 *timer = tmp; 69 ESR_ReturnCode PTimerDestroy(PTimer *timer) argument 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) argument 92 PTimerStop(PTimer *timer) argument 111 PTimerGetElapsed(PTimer *timer, asr_uint32_t* elapsed) argument 134 PTimerReset(PTimer *timer) argument 158 timer_t timer; member in struct:PTimer_t 165 PTimerCreate(PTimer **timer) argument 180 PTimerDestroy(PTimer *timer) argument 194 PTimerStart(PTimer *timer) argument 210 PTimerStop(PTimer *timer) argument 232 PTimerGetElapsed(PTimer *timer, asr_uint32_t* elapsed) argument 255 PTimerReset(PTimer *timer) argument [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | GCActivityCallbackCF.cpp | 50 RetainPtr<CFRunLoopTimerRef> timer; member in struct:JSC::DefaultGCActivityCallbackPlatformData 58 void DefaultGCActivityCallbackPlatformData::trigger(CFRunLoopTimerRef timer, void *info) argument 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 [all...] |
/external/webkit/Source/WebCore/dom/ |
H A D | DeviceMotionController.cpp | 48 void DeviceMotionController::timerFired(Timer<DeviceMotionController>* timer) argument 50 ASSERT_UNUSED(timer, timer == &m_timer);
|
/external/webkit/Source/WebCore/platform/cf/ |
H A D | RunLoopTimerCF.cpp | 44 RunLoopTimerBase* timer = static_cast<RunLoopTimerBase*>(context); local 45 timer->fired();
|