Lines Matching refs:its
14 struct itimerspec its; in main() local
15 its.it_value.tv_sec = 0; in main()
16 its.it_value.tv_nsec = 1000000; in main()
17 its.it_interval.tv_sec = its.it_value.tv_sec; in main()
18 its.it_interval.tv_nsec = its.it_value.tv_nsec; in main()
20 int res = timerfd_settime(fd, 0, &its, NULL); in main()
24 res = timerfd_settime(fd, 0, &its, &its2); in main()
26 assert(its2.it_interval.tv_sec == its.it_interval.tv_sec); in main()
27 assert(its2.it_interval.tv_nsec == its.it_interval.tv_nsec); in main()
28 assert(its2.it_value.tv_sec <= its.it_value.tv_sec); in main()
29 assert(its2.it_value.tv_nsec <= its.it_value.tv_nsec); in main()
34 assert(its3.it_interval.tv_sec == its.it_interval.tv_sec); in main()
35 assert(its3.it_interval.tv_nsec == its.it_interval.tv_nsec); in main()
36 assert(its3.it_value.tv_sec <= its.it_value.tv_sec); in main()
37 assert(its3.it_value.tv_nsec <= its.it_value.tv_nsec); in main()