Home
last modified time | relevance | path

Searched refs:setitimer (Results 1 – 25 of 74) sorted by relevance

123

/src/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getitimer.c131 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, NULL) == 0); in ATF_TC_BODY()
158 ATF_REQUIRE_ERRNO(EINVAL, setitimer(-1, &it, &ot) == -1); in ATF_TC_BODY()
161 ATF_REQUIRE_ERRNO(EINVAL, setitimer(INT_MAX, &it, &ot) == -1); in ATF_TC_BODY()
164 ATF_REQUIRE_ERRNO(EFAULT, setitimer(ITIMER_REAL,(void*)-1, &ot) == -1); in ATF_TC_BODY()
187 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, &ot) == 0); in ATF_TC_BODY()
195 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, &ot) == 0); in ATF_TC_BODY()
H A Dt_sigtimedwait.c86 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, NULL) == 0); in ATF_TC_BODY()
/src/contrib/sendmail/libsm/
H A Dclock.c173 (void) setitimer(ITIMER_REAL, &itime, NULL);
241 (void) setitimer(ITIMER_REAL, &clr, NULL);
272 (void) setitimer(ITIMER_REAL, &clr, NULL); in sm_clear_events()
337 (void) setitimer(ITIMER_REAL, &clr, NULL);
429 (void) setitimer(ITIMER_REAL, &clr, NULL);
437 (void) setitimer(ITIMER_REAL, &clr, NULL);
456 (void) setitimer(ITIMER_REAL, &clr, NULL);
473 (void) setitimer(ITIMER_REAL, &clr, NULL);
/src/usr.bin/gprof/
H A Dhertz.c52 setitimer(ITIMER_REAL, &tim, 0); in hertz()
53 setitimer(ITIMER_REAL, 0, &tim); in hertz()
/src/usr.bin/talk/
H A Dmsgs.c64 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in start_msgs()
74 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in end_msgs()
H A Dinvite.c85 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in invite_remote()
/src/contrib/openbsm/bin/auditdistd/
H A Dsigtimedwait.h64 PJDLOG_VERIFY(setitimer(ITIMER_REAL, &it, NULL) == 0); in sigtimedwait()
74 PJDLOG_VERIFY(setitimer(ITIMER_REAL, &it, NULL) == 0); in sigtimedwait()
/src/tools/regression/p1003_1b/
H A Dfifo.c156 if (setitimer(ITIMER_REAL, &itimerval, 0) == -1) { in fifo()
206 if (setitimer(ITIMER_REAL, &itimerval, 0) == -1) { in fifo()
/src/cddl/usr.sbin/zfsd/
H A Dcallout.cc139 setitimer(ITIMER_REAL, &timerval, NULL); in Reset()
182 setitimer(ITIMER_REAL, &timerval, NULL); in ExpireCallouts()
/src/contrib/netbsd-tests/lib/libpthread/
H A Dt_once.c175 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
187 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
H A Dt_sleep.c94 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
/src/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c286 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
364 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
397 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
/src/crypto/openssl/test/
H A Dsanitytest.c283 if (setitimer(ITIMER_REAL, &it, NULL)) { in test_sanity_sleep()
301 if (setitimer(ITIMER_REAL, &it, NULL)) { in test_sanity_sleep()
/src/lib/libc/gen/
H A Dalarm.c47 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) in alarm()
H A Dualarm.c53 if (setitimer(ITIMER_REAL, &new, &old) == 0) in ualarm()
/src/lib/libc/gmon/
H A Dgmon.c237 setitimer(ITIMER_REAL, &tim, 0); in hertz()
238 setitimer(ITIMER_REAL, 0, &tim); in hertz()
/src/contrib/netbsd-tests/kernel/
H A Dt_lock.c72 RL(setitimer(ITIMER_VIRTUAL, &itv, NULL)); in ATF_TC_BODY()
/src/contrib/ntp/util/
H A Dtestrs6000.c35 setitimer(ITIMER_REAL, &value, &oldvalue); in main()
/src/usr.sbin/ppp/
H A Dtimer.c287 if (setitimer(ITIMER_REAL, &itimer, NULL) == -1) in timer_InitService()
299 if (setitimer(ITIMER_REAL, &itimer, NULL) == -1) in timer_TermService()
/src/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_sigcli.c58 if (setitimer(ITIMER_REAL, &itv, NULL) == -1) in main()
/src/contrib/kyua/utils/signals/
H A Dtimer.cpp81 if (::setitimer(ITIMER_REAL, &timeval, old_timeval) == -1) { in safe_setitimer()
274 if (::setitimer(ITIMER_REAL, &_old_timeval, NULL) == -1) { in ~global_state()
/src/contrib/ntp/adjtimed/
H A Dadjtimed.c330 setitimer(ITIMER_REAL, &period, &remains); in AdjustClockRate()
453 setitimer(ITIMER_REAL, &it, (struct itimerval *)0); in ResetClockRate()
/src/contrib/ntp/include/
H A Dl_stdlib.h117 extern int setitimer (int , struct itimerval *, struct itimerval *);
/src/tools/regression/sockets/sendfile/
H A Dsendfile.c136 setitimer(ITIMER_REAL, &itv, NULL); in setup_alarm()
144 setitimer(ITIMER_REAL, &itv, NULL); in cancel_alarm()
/src/tools/tools/netrate/netblast/
H A Dnetblast.c93 if (setitimer(ITIMER_REAL, &it, NULL) < 0) { in blast_loop()

123