Home
last modified time | relevance | path

Searched refs:it_interval (Results 1 – 25 of 135) sorted by relevance

123456

/third_party/rust/crates/rustix/tests/time/
Dtimerfd.rs11 it_interval: Timespec { in test_timerfd()
30 assert_eq!(set.it_interval.tv_sec, new.it_interval.tv_sec); in test_timerfd()
31 assert_eq!(set.it_interval.tv_nsec, new.it_interval.tv_nsec); in test_timerfd()
45 it_interval: Timespec { in test_timerfd_with_interval()
63 assert_eq!(set.it_interval.tv_sec, new.it_interval.tv_sec); in test_timerfd_with_interval()
64 assert_eq!(set.it_interval.tv_nsec, new.it_interval.tv_nsec); in test_timerfd_with_interval()
73 assert_eq!(set.it_interval.tv_sec, new.it_interval.tv_sec); in test_timerfd_with_interval()
74 assert_eq!(set.it_interval.tv_nsec, new.it_interval.tv_nsec); in test_timerfd_with_interval()
Dy2038.rs31 it_interval: Timespec { tv_sec, tv_nsec: 0 }, in test_y2038()
48 it_interval: Timespec { in test_y2038_with_timerfd()
72 assert_eq!(set.it_interval.tv_sec, new.it_interval.tv_sec); in test_y2038_with_timerfd()
73 assert_eq!(set.it_interval.tv_nsec, new.it_interval.tv_nsec); in test_y2038_with_timerfd()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
D1-4.c49 itsset.it_interval.tv_sec = TIMERINTERVALSEC; in main()
50 itsset.it_interval.tv_nsec = 2 * RESOLUTION; in main()
77 if ((itsget.it_interval.tv_sec != itsset.it_interval.tv_sec) || in main()
78 (itsget.it_interval.tv_nsec / RESOLUTION != in main()
79 itsset.it_interval.tv_nsec / RESOLUTION)) { in main()
82 (int)itsget.it_interval.tv_sec, in main()
83 (int)itsset.it_interval.tv_sec, in main()
84 (int)itsget.it_interval.tv_nsec, in main()
85 (int)itsset.it_interval.tv_nsec); in main()
93 expectedleft = itsset.it_interval.tv_sec - in main()
/third_party/musl/compat/time32/
Dtimerfd_settime32.c9 .it_interval.tv_sec = val32->it_interval.tv_sec, in __timerfd_settime32()
10 .it_interval.tv_nsec = val32->it_interval.tv_nsec, in __timerfd_settime32()
20 old32->it_interval.tv_sec = old.it_interval.tv_sec; in __timerfd_settime32()
21 old32->it_interval.tv_nsec = old.it_interval.tv_nsec; in __timerfd_settime32()
Dsetitimer_time32.c9 .it_interval.tv_sec = new32->it_interval.tv_sec, in __setitimer_time32()
10 .it_interval.tv_usec = new32->it_interval.tv_usec, in __setitimer_time32()
19 old32->it_interval.tv_sec = old.it_interval.tv_sec; in __setitimer_time32()
20 old32->it_interval.tv_usec = old.it_interval.tv_usec; in __setitimer_time32()
Dtimer_settime32.c8 .it_interval.tv_sec = val32->it_interval.tv_sec, in __timer_settime32()
9 .it_interval.tv_nsec = val32->it_interval.tv_nsec, in __timer_settime32()
19 old32->it_interval.tv_sec = old.it_interval.tv_sec; in __timer_settime32()
20 old32->it_interval.tv_nsec = old.it_interval.tv_nsec; in __timer_settime32()
Dtimerfd_gettime32.c11 val32->it_interval.tv_sec = old.it_interval.tv_sec; in __timerfd_gettime32()
12 val32->it_interval.tv_nsec = old.it_interval.tv_nsec; in __timerfd_gettime32()
Dgetitimer_time32.c10 old32->it_interval.tv_sec = old.it_interval.tv_sec; in __getitimer_time32()
11 old32->it_interval.tv_usec = old.it_interval.tv_usec; in __getitimer_time32()
Dtimer_gettime32.c10 val32->it_interval.tv_sec = old.it_interval.tv_sec; in __timer_gettime32()
11 val32->it_interval.tv_nsec = old.it_interval.tv_nsec; in __timer_gettime32()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
D8-2.c36 its.it_interval.tv_sec = 0; in main()
37 its.it_interval.tv_nsec = 0; in main()
64 oits.it_interval.tv_sec = 1000; in main()
65 oits.it_interval.tv_nsec = 1000; in main()
74 (0 == oits.it_interval.tv_sec) && (0 == oits.it_interval.tv_nsec)) { in main()
83 (int)oits.it_interval.tv_sec, in main()
84 (int)oits.it_interval.tv_nsec); in main()
D8-1.c34 its.it_interval.tv_sec = 0; in main()
35 its.it_interval.tv_nsec = 0; in main()
51 (0 == oits.it_interval.tv_sec) && (0 == oits.it_interval.tv_nsec)) { in main()
59 (int)oits.it_interval.tv_sec, in main()
60 (int)oits.it_interval.tv_nsec); in main()
D8-4.c37 its.it_interval.tv_sec = RELOADVAL; in main()
39 its.it_interval.tv_nsec = 0; in main()
60 if (RELOADVAL == oits.it_interval.tv_sec) { in main()
66 RELOADVAL, (int)oits.it_interval.tv_sec); in main()
D13-1.c78 its.it_interval.tv_sec = testlist[i][2]; in main()
79 its.it_interval.tv_nsec = testlist[i][3]; in main()
84 (int)its.it_interval.tv_sec, in main()
85 (int)its.it_interval.tv_nsec); in main()
D3-3.c67 its.it_interval.tv_sec = 0; in main()
68 its.it_interval.tv_nsec = 0; in main()
98 its.it_interval.tv_sec = 0; in main()
99 its.it_interval.tv_nsec = 0; in main()
/third_party/musl/src/linux/
Dtimerfd.c15 time_t is = new->it_interval.tv_sec, vs = new->it_value.tv_sec; in timerfd_settime()
16 long ins = new->it_interval.tv_nsec, vns = new->it_value.tv_nsec; in timerfd_settime()
30 old->it_interval.tv_sec = old32[0]; in timerfd_settime()
31 old->it_interval.tv_nsec = old32[1]; in timerfd_settime()
51 cur->it_interval.tv_sec = cur32[0]; in timerfd_gettime()
52 cur->it_interval.tv_nsec = cur32[1]; in timerfd_gettime()
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
Dsyscalls.rs129 it_interval: __kernel_old_timespec { in timerfd_settime_old()
131 .it_interval in timerfd_settime_old()
136 .it_interval in timerfd_settime_old()
166 it_interval: __kernel_timespec { in timerfd_settime_old()
167 tv_sec: old_result.it_interval.tv_sec.into(), in timerfd_settime_old()
168 tv_nsec: old_result.it_interval.tv_nsec.into(), in timerfd_settime_old()
218 it_interval: __kernel_timespec { in timerfd_gettime_old()
219 tv_sec: old_result.it_interval.tv_sec.into(), in timerfd_gettime_old()
220 tv_nsec: old_result.it_interval.tv_nsec.into(), in timerfd_gettime_old()
/third_party/ltp/testcases/kernel/syscalls/getitimer/
Dgetitimer01.c37 value->it_interval.tv_sec = sec; in set_setitimer_value()
38 value->it_interval.tv_usec = usec; in set_setitimer_value()
57 TST_EXP_EQ_LI(value->it_interval.tv_sec, 0); in verify_getitimer()
58 TST_EXP_EQ_LI(value->it_interval.tv_usec, 0); in verify_getitimer()
66 TST_EXP_EQ_LI(value->it_interval.tv_sec, SEC); in verify_getitimer()
67 TST_EXP_EQ_LI(value->it_interval.tv_usec, USEC); in verify_getitimer()
/third_party/rust/crates/rustix/src/backend/libc/time/
Dsyscalls.rs300 it_interval: c::timespec { in timerfd_settime_old()
302 .it_interval in timerfd_settime_old()
307 .it_interval in timerfd_settime_old()
335 it_interval: Timespec { in timerfd_settime_old()
337 .it_interval in timerfd_settime_old()
341 tv_nsec: old_result.it_interval.tv_nsec as _, in timerfd_settime_old()
345 .it_interval in timerfd_settime_old()
349 tv_nsec: old_result.it_interval.tv_nsec as _, in timerfd_settime_old()
397 it_interval: Timespec { in timerfd_gettime_old()
399 .it_interval in timerfd_gettime_old()
[all …]
Dtypes.rs238 pub it_interval: Timespec, field
260 pub it_interval: LibcTimespec, field
273 it_interval: t.it_interval.into(), in from()
288 it_interval: t.it_interval.into(), in from()
/third_party/musl/Benchmark/musl/
Dlibc_time.cpp179 newValue.it_interval.tv_sec = 0; in Bm_function_Timerfd_settime()
180 newValue.it_interval.tv_nsec = 0; in Bm_function_Timerfd_settime()
224 timer.it_interval.tv_sec = 1; in Bm_function_Setitimer_realtime()
225 timer.it_interval.tv_usec = 0; in Bm_function_Setitimer_realtime()
242 timer.it_interval.tv_sec = 1; in Bm_function_Setitimer_peoftime()
243 timer.it_interval.tv_usec = 0; in Bm_function_Setitimer_peoftime()
260 timer.it_interval.tv_sec = 1; in Bm_function_Setitimer_virtualtime()
261 timer.it_interval.tv_usec = 0; in Bm_function_Setitimer_virtualtime()
290 itVal.it_interval.tv_sec = 1; in Bm_function_Timer()
291 itVal.it_interval.tv_nsec = 0; in Bm_function_Timer()
/third_party/musl/src/signal/
Dsetitimer.c11 time_t is = new->it_interval.tv_sec, vs = new->it_value.tv_sec; in setitimer()
12 long ius = new->it_interval.tv_usec, vus = new->it_value.tv_usec; in setitimer()
19 old->it_interval.tv_sec = old32[0]; in setitimer()
20 old->it_interval.tv_usec = old32[1]; in setitimer()
/third_party/musl/src/time/
Dtimer_settime.c14 time_t is = val->it_interval.tv_sec, vs = val->it_value.tv_sec; in timer_settime()
15 long ins = val->it_interval.tv_nsec, vns = val->it_value.tv_nsec; in timer_settime()
29 old->it_interval.tv_sec = old32[0]; in timer_settime()
30 old->it_interval.tv_nsec = old32[1]; in timer_settime()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dtimer_settime.c64 its.it_interval.tv_sec = 0; in timer_settime_0100()
65 its.it_interval.tv_nsec = 0; in timer_settime_0100()
118 its.it_interval.tv_sec = 0; in timer_settime64_0100()
119 its.it_interval.tv_nsec = 0; in timer_settime64_0100()
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/
Dtwoptimers.c66 its.it_interval.tv_sec = 0; in main()
67 its.it_interval.tv_nsec = 0; in main()
121 its.it_interval.tv_sec = 0; in main()
122 its.it_interval.tv_nsec = 0; in main()
/third_party/ltp/testcases/kernel/syscalls/setitimer/
Dsetitimer01.c55 value->it_interval.tv_sec = sec; in set_setitimer_value()
56 value->it_interval.tv_usec = usec; in set_setitimer_value()
86 TST_EXP_EQ_LI(ovalue->it_interval.tv_sec, time_sec); in verify_setitimer()
87 TST_EXP_EQ_LI(ovalue->it_interval.tv_usec, time_usec); in verify_setitimer()

123456