Lines Matching defs:uts
155 struct timespec ts0, ts1, uts, *ts = NULL;
168 uts.tv_sec = utv32.tv_sec;
169 uts.tv_nsec = (long)((unsigned long)utv32.tv_usec * 1000);
171 if (itimespecfix(&uts)) {
176 uts.tv_sec += uts.tv_nsec / 1000000000;
177 uts.tv_nsec %= 1000000000;
178 if (uts.tv_nsec < 0) {
179 uts.tv_sec -= 1;
180 uts.tv_nsec += 1000000000;
182 if (uts.tv_sec < 0)
183 timespecclear(&uts);
186 ts = &uts;
188 timespecclear(&uts); /* XXX GCC4 */
212 timespecsub(&uts, &ts1, &uts);
213 if (uts.tv_sec < 0)
214 timespecclear(&uts);
216 timespecclear(&uts);
219 utv32.tv_sec = uts.tv_sec;
220 utv32.tv_usec = uts.tv_nsec / 1000;
241 struct timespec uts, ts0, ts1, *tsp;
268 linux32_to_native_timespec(&uts, <s);
270 if (itimespecfix(&uts))
274 tsp = &uts;
292 timespecsub(&uts, &ts1, &uts);
293 if (uts.tv_sec < 0)
294 timespecclear(&uts);
296 timespecclear(&uts);
299 native_to_linux32_timespec(<s, &uts);