/third_party/alsa-lib/src/timer/ |
D | timer_hw.c | 43 snd_timer_t *tmr = handle; in snd_timer_hw_close() local 46 if (!tmr) in snd_timer_hw_close() 48 res = close(tmr->poll_fd) < 0 ? -errno : 0; in snd_timer_hw_close() 103 snd_timer_t *tmr; in snd_timer_hw_info() local 105 tmr = handle; in snd_timer_hw_info() 106 if (!tmr || !info) in snd_timer_hw_info() 108 if (ioctl(tmr->poll_fd, SNDRV_TIMER_IOCTL_INFO, info) < 0) in snd_timer_hw_info() 115 snd_timer_t *tmr; in snd_timer_hw_params() local 117 tmr = handle; in snd_timer_hw_params() 118 if (!tmr || !params) in snd_timer_hw_params() [all …]
|
D | timer_query_hw.c | 89 snd_timer_query_t *tmr; in snd_timer_query_hw_open() local 107 tmr = (snd_timer_query_t *) calloc(1, sizeof(snd_timer_query_t)); in snd_timer_query_hw_open() 108 if (tmr == NULL) { in snd_timer_query_hw_open() 112 tmr->type = SND_TIMER_TYPE_HW; in snd_timer_query_hw_open() 113 tmr->mode = tmode; in snd_timer_query_hw_open() 114 tmr->name = strdup(name); in snd_timer_query_hw_open() 115 tmr->poll_fd = fd; in snd_timer_query_hw_open() 116 tmr->ops = &snd_timer_query_hw_ops; in snd_timer_query_hw_open() 117 *handle = tmr; in snd_timer_query_hw_open()
|
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd01.c | 55 static void settime(int tfd, struct tst_its *tmr, int tflags, in settime() argument 60 tst_its_set_value_from_us(tmr, tvalue); in settime() 61 tst_its_set_interval_from_us(tmr, tinterval); in settime() 63 if (tv->tfd_settime(tfd, tflags, tst_its_get(tmr), NULL)) in settime() 99 struct tst_its tmr = {.type = tv->ts_type, }; in run() local 107 settime(tfd, &tmr, 0, 100 * 1000, 0); in run() 112 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 100 * 1000, 0); in run() 117 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 50 * 1000, 50 * 1000); in run() 119 memset(&tmr, 0, sizeof(tmr)); in run() 120 tmr.type = tv->ts_type; in run() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_callout.h | 90 void sctp_os_timer_init(sctp_os_timer_t *tmr); 107 #define SCTP_OS_TIMER_PENDING(tmr) ((tmr)->c_flags & SCTP_CALLOUT_PENDING) argument 108 #define SCTP_OS_TIMER_ACTIVE(tmr) ((tmr)->c_flags & SCTP_CALLOUT_ACTIVE) argument 109 #define SCTP_OS_TIMER_DEACTIVATE(tmr) ((tmr)->c_flags &= ~SCTP_CALLOUT_ACTIVE) argument
|
D | sctputil.c | 1775 struct sctp_timer *tmr; in sctp_timeout_handler() local 1792 tmr = (struct sctp_timer *)t; in sctp_timeout_handler() 1793 inp = (struct sctp_inpcb *)tmr->ep; in sctp_timeout_handler() 1794 stcb = (struct sctp_tcb *)tmr->tcb; in sctp_timeout_handler() 1795 net = (struct sctp_nets *)tmr->net; in sctp_timeout_handler() 1797 CURVNET_SET((struct vnet *)tmr->vnet); in sctp_timeout_handler() 1803 sctp_audit_log(0xF0, (uint8_t) tmr->type); in sctp_timeout_handler() 1808 KASSERT(tmr->self == NULL || tmr->self == tmr, in sctp_timeout_handler() 1810 KASSERT(SCTP_IS_TIMER_TYPE_VALID(tmr->type), in sctp_timeout_handler() 1811 ("sctp_timeout_handler: invalid timer type %d", tmr->type)); in sctp_timeout_handler() [all …]
|
D | sctp_structs.h | 145 struct sctp_timer tmr; member
|
/third_party/boost/libs/filesystem/test/ |
D | path_times.cpp | 46 boost::timer::auto_cpu_timer tmr; in time_ctor() local 54 boost::timer::cpu_times elapsed = tmr.elapsed(); in time_ctor() 60 boost::timer::auto_cpu_timer tmr; in time_loop() local 67 boost::timer::cpu_times elapsed = tmr.elapsed(); in time_loop()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 18-1.c | 67 timer_t tmr; in main() local 84 ret = timer_create(CLOCK_REALTIME, &se, &tmr); in main() 99 ret = timer_settime(tmr, 0, &it, NULL); in main()
|
/third_party/lwip/src/core/ |
D | tcp.c | 1321 if ((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr() 1333 if ((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr() 1341 } else if ((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr() 1356 (tcp_ticks - pcb->tmr >= (u32_t)pcb->rto * TCP_OOSEQ_TIMEOUT)) { in tcp_slowtmr() 1364 if ((u32_t)(tcp_ticks - pcb->tmr) > in tcp_slowtmr() 1373 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { in tcp_slowtmr() 1446 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { in tcp_slowtmr() 1735 ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) { in tcp_kill_prio() 1736 inactivity = tcp_ticks - pcb->tmr; in tcp_kill_prio() 1766 if ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity) { in tcp_kill_state() [all …]
|
D | dns.c | 231 u8_t tmr; member 1126 entry->tmr = 1; in dns_check_entry() 1137 if (--entry->tmr == 0) { in dns_check_entry() 1146 entry->tmr = 1; in dns_check_entry() 1158 entry->tmr = entry->retries; in dns_check_entry() 1345 entry->tmr = 1; in dns_recv()
|
D | tcp_in.c | 765 pcb->tmr = tcp_ticks; 845 pcb->tmr = tcp_ticks;
|
D | tcp_out.c | 2092 tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); in tcp_keepalive() 2137 tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); in tcp_zero_window_probe()
|
/third_party/boost/libs/chrono/test/ |
D | run_timer_test.cpp | 35 bool check_report( run_timer & tmr, std::stringstream & ss, in check_report() argument 39 tmr.test_report(r,u,s); in check_report()
|
/third_party/ltp/testcases/open_posix_testsuite/Documentation/ |
D | COVERAGE.timers | 2 Area-Code: tmr
|
D | HOWTO_Coverage | 51 such as "tmr" or "sig".
|
/third_party/lwip/src/include/lwip/ |
D | tcp.h | 280 u32_t tmr; member
|
/third_party/alsa-utils/aplay/ |
D | aplay.c | 1943 static time_t tmr = -1; in do_test_position() local 1992 if (tmr == (time_t) -1) { in do_test_position() 1993 tmr = now; in do_test_position() 2017 if ((maxavail != 0 || maxdelay != 0) && now != tmr) { in do_test_position() 2026 tmr = now; in do_test_position()
|