Home | History | Annotate | Download | only in tests

Lines Matching defs:ts

43 print_ts(const struct timespec *ts)
45 printf("{%ju, %ju}", (uintmax_t) ts->tv_sec, (uintmax_t) ts->tv_nsec);
52 struct timespec ts[2];
57 ts[0].tv_sec = tv.tv_sec;
58 ts[0].tv_nsec = tv.tv_usec;
59 ts[1].tv_sec = tv.tv_sec - 1;
60 ts[1].tv_nsec = tv.tv_usec + 1;
61 if (!utimensat(AT_FDCWD, "utimensat\nfilename", ts,
68 print_ts(&ts[0]);
70 print_ts(&ts[1]);
73 ts[0].tv_nsec = UTIME_NOW;
74 ts[1].tv_nsec = UTIME_OMIT;
75 if (!utimensat(AT_FDCWD, "utimensat\nfilename", ts,