Home
last modified time | relevance | path

Searched refs:ITIMER_REAL (Results 1 – 25 of 67) sorted by relevance

123

/external/strace/xlat/
Ditimer_which.h6 #if defined(ITIMER_REAL) || (defined(HAVE_DECL_ITIMER_REAL) && HAVE_DECL_ITIMER_REAL)
8 static_assert((ITIMER_REAL) == (0), "ITIMER_REAL != 0");
11 # define ITIMER_REAL 0
38 [ITIMER_REAL] = XLAT(ITIMER_REAL),
Ditimer_which.in2 ITIMER_REAL 0
/external/strace/tests/
Dxetitimer.c45 F8ILL_KULONG_MASK | ITIMER_REAL; in main()
54 if (setitimer(ITIMER_REAL, p_new, NULL)) in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
92 rc = getitimer(ITIMER_REAL, efault); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
172 rc = setitimer(ITIMER_REAL, p_new, p_old); in main()
Dpause.c61 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Derestartsys.c67 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Drestart_syscall.c54 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
/external/strace/tests-mx32/
Dxetitimer.c45 F8ILL_KULONG_MASK | ITIMER_REAL; in main()
54 if (setitimer(ITIMER_REAL, p_new, NULL)) in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
92 rc = getitimer(ITIMER_REAL, efault); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
172 rc = setitimer(ITIMER_REAL, p_new, p_old); in main()
Dpause.c61 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Derestartsys.c67 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Drestart_syscall.c54 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
/external/strace/tests-m32/
Dxetitimer.c45 F8ILL_KULONG_MASK | ITIMER_REAL; in main()
54 if (setitimer(ITIMER_REAL, p_new, NULL)) in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
92 rc = getitimer(ITIMER_REAL, efault); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
172 rc = setitimer(ITIMER_REAL, p_new, p_old); in main()
Dpause.c61 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Derestartsys.c67 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
Drestart_syscall.c54 if (setitimer(ITIMER_REAL, &itv, NULL)) in main()
/external/linux-kselftest/tools/testing/selftests/timers/
Dposix_timers.c92 else if (which == ITIMER_REAL) in check_itimer()
103 else if (which == ITIMER_REAL) in check_itimer()
122 else if (which == ITIMER_REAL) in check_itimer()
203 if (check_itimer(ITIMER_REAL) < 0) in main()
/external/ltp/testcases/kernel/syscalls/setitimer/
Dsetitimer01.c107 TEST(setitimer(ITIMER_REAL, value, ovalue)); in main()
122 if ((setitimer(ITIMER_REAL, value, ovalue)) == -1) { in main()
Dsetitimer02.c101 TEST(setitimer(ITIMER_REAL, value, (struct itimerval *)-1)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D13-1.c66 ret = setitimer(ITIMER_REAL, &it, NULL); in main()
101 ret = getitimer(ITIMER_REAL, &it); in main()
/external/toybox/toys/other/
Dtimeout.c52 setitimer(ITIMER_REAL, &TT.itv, (void *)toybuf); in handler()
85 setitimer(ITIMER_REAL, &TT.itv, (void *)toybuf); in timeout_main()
/external/python/cpython3/Lib/test/
Dtest_signal.py667 signal.setitimer, signal.ITIMER_REAL, -1)
670 self.itimer = signal.ITIMER_REAL
722 self.itimer = signal.ITIMER_REAL
1069 signal.setitimer(signal.ITIMER_REAL, 1e-6)
1071 self.addCleanup(signal.setitimer, signal.ITIMER_REAL, 0)
1112 signal.setitimer(signal.ITIMER_REAL, 1e-6 + random.random() * 1e-5)
1164 signal.setitimer(signal.ITIMER_REAL, 1e-6 + random.random() * 1e-5)
/external/ltp/testcases/kernel/syscalls/getitimer/
Dgetitimer02.c54 TEST(getitimer(ITIMER_REAL, (struct itimerval *)-1)); in main()
Dgetitimer01.c39 ITIMER_REAL,
/external/kernel-headers/original/uapi/linux/
Dtime.h31 #define ITIMER_REAL 0 macro
/external/libcxx/test/libcxx/thread/thread.threads/thread.thread.this/
Dsleep_for.pass.cpp55 ec = setitimer(ITIMER_REAL, &it, nullptr); in main()
/external/python/cpython2/Lib/test/
Dtest_signal.py449 signal.setitimer, signal.ITIMER_REAL, -1)
452 self.itimer = signal.ITIMER_REAL
510 self.itimer = signal.ITIMER_REAL

123