Searched refs:timer (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | posix_timers.cpp | 72 static __kernel_timer_t to_kernel_timer_id(timer_t timer) { in to_kernel_timer_id() argument 73 return reinterpret_cast<PosixTimer*>(timer)->kernel_timer_id; in to_kernel_timer_id() 77 PosixTimer* timer = reinterpret_cast<PosixTimer*>(arg); in __timer_thread_start() local 80 timer->startup_handshake_lock.lock(); in __timer_thread_start() 81 if (timer->kernel_timer_id == -1) { in __timer_thread_start() 82 free(timer); in __timer_thread_start() 88 snprintf(name, sizeof(name), "POSIX timer %d", to_kernel_timer_id(timer)); in __timer_thread_start() 89 pthread_setname_np(timer->callback_thread, name); in __timer_thread_start() 103 if (atomic_load(&timer->deleted) == true) { in __timer_thread_start() 106 timer->callback(timer->callback_argument); in __timer_thread_start() [all …]
|
D | libc_init_common.cpp | 116 static timer_t timer; in __libc_init_mte_late() local 123 timer_delete(timer); in __libc_init_mte_late() 126 if (timer_create(CLOCK_REALTIME, &event, &timer) == -1) { in __libc_init_mte_late() 138 if (timer_settime(timer, /* flags= */ 0, &timerspec, nullptr) == -1) { in __libc_init_mte_late() 144 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 | 15 struct idletimer_tg * timer __attribute__((aligned(8))); member 22 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/asm-x86/asm/ |
D | kvm.h | 494 } timer; member
|