Lines Matching refs:ts

50 		struct timespec ts;  in main()  member
53 .ts.tv_nsec = 0xc0de1, in main()
56 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main()
66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main()
70 (long long) req.ts.tv_sec, in main()
71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main()
74 NULL, &rem.ts) == -1); in main()
76 " = -1 EFAULT (%m)\n", &rem.ts); in main()
79 &req.ts, &rem.ts) == 0); in main()
82 (long long) req.ts.tv_sec, in main()
83 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main()
85 req.ts.tv_nsec = 999999999 + 1; in main()
87 &req.ts, &rem.ts) == -1); in main()
90 (long long) req.ts.tv_sec, in main()
91 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main()
93 req.ts.tv_sec = 0xdeadbeefU; in main()
94 req.ts.tv_nsec = 0xfacefeedU; in main()
96 &req.ts, &rem.ts) == -1); in main()
99 (long long) req.ts.tv_sec, in main()
100 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main()
102 req.ts.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
103 req.ts.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
105 &req.ts, &rem.ts) == -1); in main()
108 (long long) req.ts.tv_sec, in main()
109 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main()
117 req.ts.tv_sec = 0; in main()
118 req.ts.tv_nsec = 999999999; in main()
120 &req.ts, &rem.ts) == -1); in main()
124 (long long) req.ts.tv_sec, in main()
125 zero_extend_signed_to_ull(req.ts.tv_nsec), in main()
126 (long long) rem.ts.tv_sec, in main()
127 zero_extend_signed_to_ull(rem.ts.tv_nsec)); in main()
130 assert(syscall(__NR_clock_gettime, CLOCK_REALTIME, &req.ts) == 0); in main()
132 (long long) req.ts.tv_sec, in main()
133 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main()
135 ++req.ts.tv_sec; in main()
136 rem.ts.tv_sec = 0xc0de4; in main()
137 rem.ts.tv_nsec = 0xc0de5; in main()
139 &req.ts, &rem.ts) == -1); in main()
143 (long long) req.ts.tv_sec, in main()
144 zero_extend_signed_to_ull(req.ts.tv_nsec), &rem.ts); in main()