Home
last modified time | relevance | path

Searched refs:timespecadd (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/regress/lib/libpthread/semaphore/sem_timedwait/
H A Dsem_timedwait.c99 timespecadd(&delay, &delay, &delay); /* up to two ticks of delay */ in main()
100 timespecadd(&ts, &delay, &ts); in main()
/openbsd/usr.sbin/radiusctl/
H A Dradiusctl.c736 timespecadd(&upt, &dump->records[i].rec.start, &start); in ipcp_handle_show()
757 timespecadd(&upt, &dump->records[idx].rec.start, &start); in ipcp_handle_dump()
763 timespecadd(&upt, &dump->records[idx].rec.timeout, &timeout); in ipcp_handle_dump()
828 timespecadd(&upt, &dump->records[i].rec.start, &start); in ipcp_handle_jsons()
835 timespecadd(&upt, &dump->records[i].rec.timeout, in ipcp_handle_jsons()
855 timespecadd(&upt, &dump->records[idx].rec.start, &start); in ipcp_handle_json()
865 timespecadd(&upt, &dump->records[idx].rec.timeout, &timeout); in ipcp_handle_json()
920 timespecadd(&upt, &dump->records[i].rec.start, &start); in ipcp_handle_dumps()
926 timespecadd(&upt, &dump->records[i].rec.timeout, in ipcp_handle_dumps()
/openbsd/usr.bin/dig/lib/isc/
H A Dtimer.c196 timespecadd(&now, interval, &timer->idle); in isc_timer_create()
260 timespecadd(&now, interval, &timer->idle); in isc_timer_reset()
279 timespecadd(&now, &timer->interval, &timer->idle); in isc_timer_touch()
/openbsd/regress/sys/kern/nanosleep/
H A Dnanosleep.c222 timespecadd(&duration, &remainder, &timeout); in time_elapsed_with_signal()
226 timespecadd(&timeout, &remainder, &timeout); in time_elapsed_with_signal()
/openbsd/sys/kern/
H A Dkern_acct.c208 timespecadd(&booted, &pr->ps_start, &realstart); in acct_process()
215 timespecadd(&ut, &st, &tmp); in acct_process()
H A Dkern_time.c135 timespecadd(tp, &tu.tu_runtime, tp); in clock_gettime()
141 timespecadd(tp, &tu.tu_runtime, tp); in clock_gettime()
555 timespecadd(&its.it_value, &now, &its.it_value); in setitimer()
716 timespecadd(&tp->it_value, &tp->it_interval, &tp->it_value); in realitexpire()
774 timespecadd(&itp->it_value, &itp->it_interval, &itp->it_value); in itimerdecr()
H A Dkern_resource.c398 timespecadd(&tu->tu_runtime, &tmp.tu_runtime, &tu->tu_runtime); in tuagg_sumup()
472 timespecadd(&p->p_tu.tu_runtime, &delta, &p->p_tu.tu_runtime); in tuagg_add_runtime()
H A Dkern_timeout.c533 timespecadd(&to->to_abstime, &kc->kc_offset, &shifted_abstime); in timeout_bucket()
623 timespecadd(&now, &kc->kc_offset, &kc->kc_lastscan); in timeout_hardclock_update()
/openbsd/usr.sbin/sasyncd/
H A Dtimer.c130 timespecadd(&now, &tmp, &new->expire); in timer_add()
/openbsd/games/rain/
H A Drain.c83 timespecadd(&sleeptime, &sleeptime, &sleeptime); in main()
/openbsd/regress/lib/libpthread/setsockopt/1/
H A Dsetsockopt1.c59 timespecadd(&mono_res_times2, &mono_res_times2, &mono_res_times2); in sock_connect()
/openbsd/lib/libc/rpc/
H A Dclnt_udp.c258 timespecadd(&time_waited, &wait, &time_waited); in clntudp_call()
274 timespecadd(&time_waited, &duration, &time_waited); in clntudp_call()
/openbsd/usr.bin/ts/
H A Dts.c118 timespecadd(&now, &utc_offset, &ts); in main()
/openbsd/games/robots/
H A Dmove.c213 timespecadd(&tn, &tv, &tn); in get_move()
/openbsd/games/worms/
H A Dworms.c228 timespecadd(&sleeptime, &sleeptime, &sleeptime); in main()
/openbsd/sys/sys/
H A Dtime.h121 #define timespecadd(tsp, usp, vsp) \ macro
/openbsd/usr.sbin/rpki-client/
H A Dmain.c804 timespecadd(&in->sync_time, &out->sync_time, &out->sync_time); in sum_repostats()
1484 timespecadd(&stats.user_time, &ts, &stats.user_time); in main()
1486 timespecadd(&stats.system_time, &ts, &stats.system_time); in main()
/openbsd/sys/arch/sh/dev/
H A Dscif.c1211 timespecadd(&sc->ppsinfo.assert_timestamp, in scifintr()
1232 timespecadd(&sc->ppsinfo.clear_timestamp, in scifintr()
/openbsd/regress/sys/sys/tree/rb/
H A Drb-test.c50 #ifndef timespecadd
51 #define timespecadd(tsp, usp, vsp) \ macro
H A Drbt-test.c49 #ifndef timespecadd
50 #define timespecadd(tsp, usp, vsp) \ macro
/openbsd/usr.bin/cdio/
H A Dmmc.c510 timespecadd(&ts, &ats, &ots); in writetrack()
H A Drip.c389 timespecadd(&ts, &ats, &ots); in read_track()
/openbsd/sys/net/
H A Dwg_cookie.c250 timespecadd(birthdate, &expire, &expire); in cookie_timer_expired()
/openbsd/usr.bin/ftp/
H A Dutil.c1093 timespecadd(&target, timeout, &target); in timed_connect()
/openbsd/usr.bin/ssh/
H A Dclientloop.c559 timespecadd(now, &tmp, next_interval); in set_next_interval()
645 timespecadd(&now, &tmp, &chaff_until); in obfuscate_keystroke_timing()

12