Home
last modified time | relevance | path

Searched refs:ITIMER_REAL (Results 1 - 25 of 49) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/getitimer/
H A Dgetitimer01.c28 {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 Dgetitimer02.c31 {ITIMER_REAL, &invalid, EFAULT},
/third_party/ltp/testcases/kernel/syscalls/setitimer/
H A Dsetitimer01.c36 {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 Dsetitimer02.c34 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 D13-1.c66 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 Dtimeout.c52 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 Dlock.c119 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 Dalarm.c8 setitimer(ITIMER_REAL, &it, &old); in alarm()
H A Dualarm.c11 setitimer(ITIMER_REAL, &it, &it_old); in ualarm()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A D__getitimer_time64.c57 * @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.c74 if (__setitimer_time64(ITIMER_REAL, &it, NULL)) { in setitimer_time64_0100()
H A Dgetitimer.c55 * @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 Dsetitimer.c72 if (setitimer(ITIMER_REAL, &it, NULL)) { in setitimer_0100()
/third_party/python/Lib/test/
H A Dtest_signal.py799 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.py7 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 DFuzzerUtilPosix.cpp59 if (setitimer(ITIMER_REAL, &T, nullptr)) { in SetTimer()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dtime.h13 #define ITIMER_REAL 0 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dtime.h13 #define ITIMER_REAL 0 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dtime.h35 #define ITIMER_REAL 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dtime.h13 #define ITIMER_REAL 0 macro
/third_party/musl/include/sys/
H A Dtime.h13 #define ITIMER_REAL 0 macro
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/
H A Dperf_event_open02.c94 if (setitimer(ITIMER_REAL, &val, NULL)) in bench_work()
/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c172 if (setitimer(ITIMER_REAL, &timer, NULL)) { in set_timer()
/third_party/musl/Benchmark/musl/
H A Dlibc_time.cpp209 // ITIMER_REAL timing mode
220 if (setitimer(ITIMER_REAL, &timer, nullptr) == -1) { in Bm_function_Setitimer_realtime()
/third_party/backends/backend/
H A Dplustek-pp_ptdrv.c351 setitimer( ITIMER_REAL, &interval, &saveSettings ); in ptdrvStartLampTimer()
371 setitimer( ITIMER_REAL, &saveSettings, NULL ); in ptdrvStopLampTimer()

Completed in 10 milliseconds

12