/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
H A D | getitimer01.c | 28 {ITIMER_REAL, "ITIMER_REAL"}, 47 if (tc->which == ITIMER_REAL) { in verify_getitimer() 77 long margin = (tc->which == ITIMER_REAL) ? 0 : jiffy; in verify_getitimer() 93 if (tc->which == ITIMER_REAL) { in verify_getitimer()
|
H A D | getitimer02.c | 31 {ITIMER_REAL, &invalid, EFAULT},
|
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer01.c | 36 {ITIMER_REAL, "ITIMER_REAL", SIGALRM}, 68 if (tc->which == ITIMER_REAL) { in verify_setitimer() 97 margin = tc->which == ITIMER_REAL ? 0 : time_step; in verify_setitimer() 132 if (tc->which == ITIMER_REAL) { in verify_setitimer()
|
H A D | setitimer02.c | 34 TST_EXP_FAIL(sys_setitimer(ITIMER_REAL, value, (void *)-1), EFAULT); in verify_setitimer()
|
/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() 70 "Failed to set interval timer for ITIMER_REAL"); in main() 101 ret = getitimer(ITIMER_REAL, &it); in main() 105 "Failed to read ITIMER_REAL in child"); in main() 109 FAILED("Timer ITIMER_REAL was not reset in child"); in main()
|
/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/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/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/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | __getitimer_time64.c | 57 * @tc.desc : Verify the value of the interval timer (parameter is ITIMER_REAL) 64 int result = __getitimer_time64(ITIMER_REAL, &old); in getitimer_time64_0100()
|
H A D | __setitimer_time64.c | 74 if (__setitimer_time64(ITIMER_REAL, &it, NULL)) { in setitimer_time64_0100()
|
H A D | getitimer.c | 55 * @tc.desc : Verify the value of the interval timer (parameter is ITIMER_REAL) 62 int result = getitimer(ITIMER_REAL, &old); in getitimer_0100()
|
H A D | setitimer.c | 72 if (setitimer(ITIMER_REAL, &it, NULL)) { in setitimer_0100()
|
/third_party/python/Lib/test/ |
H A D | test_signal.py | 799 signal.setitimer, signal.ITIMER_REAL, -1) 802 self.itimer = signal.ITIMER_REAL 854 self.itimer = signal.ITIMER_REAL 1220 signal.setitimer(signal.ITIMER_REAL, 1e-6) 1222 self.addCleanup(signal.setitimer, signal.ITIMER_REAL, 0) 1263 signal.setitimer(signal.ITIMER_REAL, 1e-6 + random.random() * 1e-5) 1273 self.setsig(signal.SIGALRM, second_handler) # for ITIMER_REAL 1290 # All ITIMER_REAL signals should have been delivered to the 1307 self.setsig(signal.SIGALRM, handler) # for ITIMER_REAL 1315 signal.setitimer(signal.ITIMER_REAL, [all...] |
H A D | _test_eintr.py | 7 Signals are generated in-process using setitimer(ITIMER_REAL), which allows 57 signal.setitimer(signal.ITIMER_REAL, self.signal_delay, 67 signal.setitimer(signal.ITIMER_REAL, 0, 0)
|
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerUtilPosix.cpp | 59 if (setitimer(ITIMER_REAL, &T, nullptr)) { in SetTimer()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | time.h | 13 #define ITIMER_REAL 0 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | time.h | 13 #define ITIMER_REAL 0 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | time.h | 35 #define ITIMER_REAL 0 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | time.h | 13 #define ITIMER_REAL 0 macro
|
/third_party/musl/include/sys/ |
H A D | time.h | 13 #define ITIMER_REAL 0 macro
|
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/ |
H A D | perf_event_open02.c | 94 if (setitimer(ITIMER_REAL, &val, NULL)) in bench_work()
|
/third_party/ltp/testcases/kernel/mem/mtest05/ |
H A D | mmstress.c | 172 if (setitimer(ITIMER_REAL, &timer, NULL)) { in set_timer()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_time.cpp | 209 // ITIMER_REAL timing mode 220 if (setitimer(ITIMER_REAL, &timer, nullptr) == -1) { in Bm_function_Setitimer_realtime()
|
/third_party/backends/backend/ |
H A D | plustek-pp_ptdrv.c | 351 setitimer( ITIMER_REAL, &interval, &saveSettings ); in ptdrvStartLampTimer() 371 setitimer( ITIMER_REAL, &saveSettings, NULL ); in ptdrvStopLampTimer()
|