Searched refs:timer (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | posix_timers.cpp | 69 static __kernel_timer_t to_kernel_timer_id(timer_t timer) { in to_kernel_timer_id() argument 70 return reinterpret_cast<PosixTimer*>(timer)->kernel_timer_id; in to_kernel_timer_id() 74 PosixTimer* timer = reinterpret_cast<PosixTimer*>(arg); in __timer_thread_start() local 88 if (atomic_load(&timer->deleted) == true) { in __timer_thread_start() 91 timer->callback(timer->callback_argument); in __timer_thread_start() 94 free(timer); in __timer_thread_start() 100 static void __timer_thread_stop(PosixTimer* timer) { in __timer_thread_stop() argument 101 atomic_store(&timer->deleted, true); in __timer_thread_stop() 102 pthread_kill(timer->callback_thread, TIMER_SIGNAL); in __timer_thread_stop() 107 PosixTimer* timer = reinterpret_cast<PosixTimer*>(malloc(sizeof(PosixTimer))); in timer_create() local [all …]
|
D | libc_init_common.cpp | 115 static timer_t timer; in __libc_init_mte_late() local 122 timer_delete(timer); in __libc_init_mte_late() 125 if (timer_create(CLOCK_REALTIME, &event, &timer) == -1) { in __libc_init_mte_late() 137 if (timer_settime(timer, /* flags= */ 0, &timerspec, nullptr) == -1) { in __libc_init_mte_late() 143 timer_delete(timer); in __libc_init_mte_late()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 67 evTimer * timer; member 252 ctx->cur->u.timer.this == del) { in evClearTimer() 284 evTimer *timer = id.opaque; in evConfigTimer() local 289 if (heap_element(ctx->timers, timer->index) != timer) in evConfigTimer() 293 timer->mode |= EV_TMR_RATE; in evConfigTimer() 295 timer->mode &= ~EV_TMR_RATE; in evConfigTimer() 311 evTimer *timer = id.opaque; in evResetTimer() local 315 if (heap_element(ctx->timers, timer->index) != timer) in evResetTimer() 335 old_due = timer->due; in evResetTimer() 337 timer->func = func; in evResetTimer() [all …]
|
D | ev_streams.c | 135 evTimeRW(evContext opaqueCtx, evStreamID id, evTimerID timer) /*ARGSUSED*/ { in evTimeRW() argument 140 str->timer = timer; in evTimeRW() 279 evTouchIdleTimer(opaqueCtx, str->timer); in writable() 302 evTouchIdleTimer(opaqueCtx, str->timer); in readable()
|
D | eventlib_p.h | 130 evTimerID timer; member 174 struct { evTimer *this; } timer; member
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_IDLETIMER.h | 27 struct idletimer_tg * timer __attribute__((aligned(8))); member 34 struct idletimer_tg * timer __attribute__((aligned(8))); member
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | eventlib.h | 142 int evTimeRW __P((evContext, evStreamID, evTimerID timer));
|
/bionic/libc/kernel/uapi/linux/ |
D | kvm.h | 1415 } timer; member
|