| /src/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_getitimer.c | 131 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 D | t_sigtimedwait.c | 86 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, NULL) == 0); in ATF_TC_BODY()
|
| /src/contrib/sendmail/libsm/ |
| H A D | clock.c | 173 (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 D | hertz.c | 52 setitimer(ITIMER_REAL, &tim, 0); in hertz() 53 setitimer(ITIMER_REAL, 0, &tim); in hertz()
|
| /src/usr.bin/talk/ |
| H A D | msgs.c | 64 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in start_msgs() 74 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in end_msgs()
|
| H A D | invite.c | 85 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in invite_remote()
|
| /src/contrib/openbsm/bin/auditdistd/ |
| H A D | sigtimedwait.h | 64 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 D | fifo.c | 156 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 D | callout.cc | 139 setitimer(ITIMER_REAL, &timerval, NULL); in Reset() 182 setitimer(ITIMER_REAL, &timerval, NULL); in ExpireCallouts()
|
| /src/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_once.c | 175 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY() 187 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
|
| H A D | t_sleep.c | 94 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
|
| /src/contrib/netbsd-tests/lib/librt/ |
| H A D | t_sem.c | 286 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 D | sanitytest.c | 283 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 D | alarm.c | 47 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) in alarm()
|
| H A D | ualarm.c | 53 if (setitimer(ITIMER_REAL, &new, &old) == 0) in ualarm()
|
| /src/lib/libc/gmon/ |
| H A D | gmon.c | 237 setitimer(ITIMER_REAL, &tim, 0); in hertz() 238 setitimer(ITIMER_REAL, 0, &tim); in hertz()
|
| /src/contrib/netbsd-tests/kernel/ |
| H A D | t_lock.c | 72 RL(setitimer(ITIMER_VIRTUAL, &itv, NULL)); in ATF_TC_BODY()
|
| /src/contrib/ntp/util/ |
| H A D | testrs6000.c | 35 setitimer(ITIMER_REAL, &value, &oldvalue); in main()
|
| /src/usr.sbin/ppp/ |
| H A D | timer.c | 287 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 D | h_sigcli.c | 58 if (setitimer(ITIMER_REAL, &itv, NULL) == -1) in main()
|
| /src/contrib/kyua/utils/signals/ |
| H A D | timer.cpp | 81 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 D | adjtimed.c | 330 setitimer(ITIMER_REAL, &period, &remains); in AdjustClockRate() 453 setitimer(ITIMER_REAL, &it, (struct itimerval *)0); in ResetClockRate()
|
| /src/contrib/ntp/include/ |
| H A D | l_stdlib.h | 117 extern int setitimer (int , struct itimerval *, struct itimerval *);
|
| /src/tools/regression/sockets/sendfile/ |
| H A D | sendfile.c | 136 setitimer(ITIMER_REAL, &itv, NULL); in setup_alarm() 144 setitimer(ITIMER_REAL, &itv, NULL); in cancel_alarm()
|
| /src/tools/tools/netrate/netblast/ |
| H A D | netblast.c | 93 if (setitimer(ITIMER_REAL, &it, NULL) < 0) { in blast_loop()
|