/third_party/rust/crates/rustix/tests/time/ |
D | timerfd.rs | 11 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()
|
D | y2038.rs | 31 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/ |
D | 1-4.c | 49 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/ |
D | timerfd_settime32.c | 9 .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()
|
D | setitimer_time32.c | 9 .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()
|
D | timer_settime32.c | 8 .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()
|
D | timerfd_gettime32.c | 11 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()
|
D | getitimer_time32.c | 10 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()
|
D | timer_gettime32.c | 10 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/ |
D | 8-2.c | 36 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()
|
D | 8-1.c | 34 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()
|
D | 8-4.c | 37 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()
|
D | 13-1.c | 78 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()
|
D | 3-3.c | 67 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/ |
D | timerfd.c | 15 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/ |
D | syscalls.rs | 129 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/ |
D | getitimer01.c | 37 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/ |
D | syscalls.rs | 300 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 …]
|
D | types.rs | 238 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/ |
D | libc_time.cpp | 179 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/ |
D | setitimer.c | 11 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/ |
D | timer_settime.c | 14 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/ |
D | timer_settime.c | 64 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/ |
D | twoptimers.c | 66 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/ |
D | setitimer01.c | 55 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()
|