/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 13-1.c | 66 ret = setitimer(ITIMER_REAL, &it, NULL); in main() 73 ret = setitimer(ITIMER_VIRTUAL, &it, NULL); in main() 80 ret = setitimer(ITIMER_PROF, &it, NULL); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | setitimer.c | 32 setitimer(signo, &val, NULL); in expireTimer() 72 if (setitimer(ITIMER_REAL, &it, NULL)) { in setitimer_0100()
|
H A D | __getitimer_time64.c | 31 setitimer(signo, &val, NULL); in expireTimer()
|
H A D | getitimer.c | 29 setitimer(signo, &val, NULL); in expireTimer()
|
/third_party/python/Lib/test/ |
H A D | test_signal.py | 757 @unittest.skipUnless(hasattr(signal, 'getitimer') and hasattr(signal, 'setitimer'), 758 "needs signal.getitimer() and signal.setitimer()") 770 signal.setitimer(self.itimer, 0) 780 raise signal.ItimerError("setitimer didn't disable ITIMER_VIRTUAL " 784 signal.setitimer(signal.ITIMER_VIRTUAL, 0) 790 signal.setitimer(signal.ITIMER_PROF, 0) 795 self.assertRaises(signal.ItimerError, signal.setitimer, -1, 0) 799 signal.setitimer, signal.ITIMER_REAL, -1) 803 signal.setitimer(self.itimer, 1.0) 813 signal.setitimer(sel [all...] |
/third_party/toybox/toys/other/ |
H A D | timeout.c | 52 setitimer(ITIMER_REAL, &TT.itv, (void *)toybuf); in handler() 85 setitimer(ITIMER_REAL, &TT.itv, (void *)toybuf); in timeout_main()
|
/third_party/libunwind/libunwind/tests/ |
H A D | test-async-sig.c | 160 setitimer (ITIMER_VIRTUAL, &interval, NULL); in sighandler() 179 setitimer (ITIMER_VIRTUAL, &interval, NULL); in main()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | time.h | 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict); 62 __REDIR(setitimer, __setitimer_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | time.h | 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict); 62 __REDIR(setitimer, __setitimer_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | time.h | 54 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict); 89 __REDIR(setitimer, __setitimer_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | time.h | 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict); 62 __REDIR(setitimer, __setitimer_time64);
|
/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
H A D | getitimer01.c | 61 TST_EXP_PASS(setitimer(tc->which, value, NULL)); in verify_getitimer() 101 TST_EXP_PASS_SILENT(setitimer(tc->which, value, NULL)); in verify_getitimer()
|
/third_party/musl/include/sys/ |
H A D | time.h | 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict); 62 __REDIR(setitimer, __setitimer_time64);
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_time.cpp | 220 if (setitimer(ITIMER_REAL, &timer, nullptr) == -1) { in Bm_function_Setitimer_realtime() 238 if (setitimer(ITIMER_PROF, &timer, nullptr) == -1) { in Bm_function_Setitimer_peoftime() 256 if (setitimer(ITIMER_VIRTUAL, &timer, nullptr) == -1) { in Bm_function_Setitimer_virtualtime()
|
/third_party/alsa-utils/alsactl/ |
H A D | lock.c | 119 if (setitimer(ITIMER_REAL, &itv, NULL) < 0) { in state_lock_() 131 setitimer(ITIMER_REAL, &itv, NULL); in state_lock_()
|
/third_party/musl/src/signal/x32/ |
H A D | setitimer.c | 4 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer() function
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
H A D | setitimer.c | 7 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer() function
|
/third_party/musl/src/unistd/ |
H A D | alarm.c | 8 setitimer(ITIMER_REAL, &it, &old); in alarm()
|
H A D | ualarm.c | 11 setitimer(ITIMER_REAL, &it, &it_old); in ualarm()
|
/third_party/ltp/testcases/kernel/controllers/cpuacct/ |
H A D | cpuacct_task.c | 67 setitimer(ITIMER_VIRTUAL, &it, NULL); in main()
|
/third_party/musl/src/signal/ |
H A D | setitimer.c | 7 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer() function
|
/third_party/musl/compat/time32/ |
H A D | setitimer_time32.c | 8 int r = setitimer(which, (&(struct itimerval){ in __setitimer_time32()
|
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer03.c | 25 * setitimer03 - check that a setitimer() call fails as expected 106 TEST(setitimer(-ITIMER_PROF, value, ovalue)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 11-1.c | 74 if (setitimer(ITIMER_VIRTUAL, &it, NULL)) { in main() 75 perror("setitimer(ITIMER_VIRTUAL, ...)"); in main()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerUtilPosix.cpp | 59 if (setitimer(ITIMER_REAL, &T, nullptr)) { in SetTimer() 60 Printf("libFuzzer: setitimer failed with %d\n", errno); in SetTimer()
|