ts 28 include/crm/common/iso8601_internal.h char *pcmk__timespec2str(const struct timespec *ts, uint32_t flags); ts 1897 lib/common/iso8601.c pcmk__timespec2str(const struct timespec *ts, uint32_t flags) ts 1904 lib/common/iso8601.c if (ts == NULL) { ts 1906 lib/common/iso8601.c ts = &tmp_ts; ts 1908 lib/common/iso8601.c crm_time_set_timet(&dt, &ts->tv_sec); ts 1909 lib/common/iso8601.c time_as_string_common(&dt, ts->tv_nsec / QB_TIME_NS_IN_USEC, flags, result); ts 862 lib/common/remote.c struct timeval ts = { 0, }; ts 874 lib/common/remote.c rc = select(cb_data->sock + 1, &rset, &wset, NULL, &ts); ts 40 lib/fencing/st_output.c const struct timespec ts = { ts 45 lib/fencing/st_output.c return pcmk__timespec2str(&ts, ts 137 maint/gnulib/lib/copy-file.c struct timespec ts[2]; ts 139 maint/gnulib/lib/copy-file.c ts[0] = get_stat_atime (&statbuf); ts 140 maint/gnulib/lib/copy-file.c ts[1] = get_stat_mtime (&statbuf); ts 141 maint/gnulib/lib/copy-file.c utimens (dest_filename, ts); ts 43 maint/gnulib/lib/fdutimensat.c fdutimensat (int fd, int dir, char const *file, struct timespec const ts[2], ts 48 maint/gnulib/lib/fdutimensat.c result = futimens (fd, ts); ts 50 maint/gnulib/lib/fdutimensat.c result = utimensat (dir, file, ts, atflag); ts 40 maint/gnulib/lib/gethrxtime.c struct timespec ts; ts 41 maint/gnulib/lib/gethrxtime.c nanouptime (&ts); ts 42 maint/gnulib/lib/gethrxtime.c return xtime_make (ts.tv_sec, ts.tv_nsec); ts 48 maint/gnulib/lib/gethrxtime.c struct timespec ts; ts 49 maint/gnulib/lib/gethrxtime.c if (clock_gettime (CLOCK_MONOTONIC, &ts) == 0) ts 50 maint/gnulib/lib/gethrxtime.c return xtime_make (ts.tv_sec, ts.tv_nsec); ts 65 maint/gnulib/lib/gethrxtime.c struct timespec ts; ts 66 maint/gnulib/lib/gethrxtime.c gettime (&ts); ts 67 maint/gnulib/lib/gethrxtime.c return xtime_make (ts.tv_sec, ts.tv_nsec); ts 29 maint/gnulib/lib/gettime.c gettime (struct timespec *ts) ts 32 maint/gnulib/lib/gettime.c clock_gettime (CLOCK_REALTIME, ts); ts 36 maint/gnulib/lib/gettime.c ts->tv_sec = tv.tv_sec; ts 37 maint/gnulib/lib/gettime.c ts->tv_nsec = tv.tv_usec * 1000; ts 46 maint/gnulib/lib/gettime.c struct timespec ts; ts 47 maint/gnulib/lib/gettime.c gettime (&ts); ts 48 maint/gnulib/lib/gettime.c return ts; ts 142 maint/gnulib/lib/glthread/thread.c struct timespec ts; ts 143 maint/gnulib/lib/glthread/thread.c ts.tv_sec = 1; ts 144 maint/gnulib/lib/glthread/thread.c ts.tv_nsec = 0; ts 145 maint/gnulib/lib/glthread/thread.c thrd_sleep (&ts, NULL); ts 32 maint/gnulib/lib/settime.c settime (struct timespec const *ts) ts 36 maint/gnulib/lib/settime.c int r = clock_settime (CLOCK_REALTIME, ts); ts 46 maint/gnulib/lib/settime.c tv.tv_sec = ts->tv_sec; ts 47 maint/gnulib/lib/settime.c tv.tv_usec = ts->tv_nsec / 1000; ts 54 maint/gnulib/lib/settime.c return stime (&ts->tv_sec); ts 223 maint/gnulib/lib/stat-time.h struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); ts 224 maint/gnulib/lib/stat-time.h long int q = ts->tv_nsec / timespec_hz; ts 225 maint/gnulib/lib/stat-time.h long int r = ts->tv_nsec % timespec_hz; ts 231 maint/gnulib/lib/stat-time.h ts->tv_nsec = r; ts 235 maint/gnulib/lib/stat-time.h if (INT_ADD_WRAPV (q, ts->tv_sec, &ts->tv_sec)) ts 287 maint/gnulib/lib/supersede.c struct timespec ts[2]; ts 289 maint/gnulib/lib/supersede.c ts[0] = get_stat_atime (&dest_statbuf); ts 290 maint/gnulib/lib/supersede.c ts[1] = get_stat_mtime (&temp_statbuf); ts 291 maint/gnulib/lib/supersede.c ignore_value (utimens (action->final_rename_temp, ts)); ts 146 maint/gnulib/lib/thrd.c struct timespec ts; ts 147 maint/gnulib/lib/thrd.c ts.tv_sec = 1; ts 148 maint/gnulib/lib/thrd.c ts.tv_nsec = 0; ts 149 maint/gnulib/lib/thrd.c thrd_sleep (&ts, NULL); ts 116 maint/gnulib/lib/time.in.h _GL_FUNCDECL_SYS (timespec_get, int, (struct timespec *ts, int base) ts 119 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (timespec_get, int, (struct timespec *ts, int base)); ts 25 maint/gnulib/lib/timespec_get.c timespec_get (struct timespec *ts, int base) ts 29 maint/gnulib/lib/timespec_get.c gettime (ts); ts 39 maint/gnulib/lib/utime.c _gl_utimens_windows (const char *name, struct timespec ts[2]) ts 138 maint/gnulib/lib/utime.c if (ts == NULL) ts 155 maint/gnulib/lib/utime.c (ULONGLONG) ts[0].tv_sec * 10000000 + ts[0].tv_nsec / 100 + 116444736000000000LL; ts 161 maint/gnulib/lib/utime.c (ULONGLONG) ts[1].tv_sec * 10000000 + ts[1].tv_nsec / 100 + 116444736000000000LL; ts 211 maint/gnulib/lib/utime.c errno = (ts != NULL ? EPERM : EACCES); ts 247 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) ts 249 maint/gnulib/lib/utime.c if (ts == NULL) ts 254 maint/gnulib/lib/utime.c ts_with_nanoseconds[0].tv_sec = ts->actime; ts 256 maint/gnulib/lib/utime.c ts_with_nanoseconds[1].tv_sec = ts->modtime; ts 269 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) ts 285 maint/gnulib/lib/utime.c return utime (name, ts); ts 62 maint/gnulib/lib/utime.in.h _GL_FUNCDECL_RPL (utime, int, (const char *filename, const struct utimbuf *ts) ts 64 maint/gnulib/lib/utime.in.h _GL_CXXALIAS_RPL (utime, int, (const char *filename, const struct utimbuf *ts)); ts 70 maint/gnulib/lib/utime.in.h _GL_CXXALIAS_MDA (utime, int, (const char *filename, const struct utimbuf *ts)); ts 73 maint/gnulib/lib/utime.in.h _GL_FUNCDECL_SYS (utime, int, (const char *filename, const struct utimbuf *ts) ts 76 maint/gnulib/lib/utime.in.h _GL_CXXALIAS_SYS (utime, int, (const char *filename, const struct utimbuf *ts)); ts 97 maint/gnulib/lib/utime.in.h _GL_CXXALIAS_MDA (utime, int, (const char *filename, const struct utimbuf *ts)); ts 99 maint/gnulib/lib/utime.in.h _GL_CXXALIAS_SYS (utime, int, (const char *filename, const struct utimbuf *ts)); ts 107 maint/gnulib/lib/utime.in.h extern int _gl_utimens_windows (const char *filename, struct timespec ts[2]); ts 136 maint/gnulib/lib/utimens.c update_timespec (struct stat const *statbuf, struct timespec **ts) ts 138 maint/gnulib/lib/utimens.c struct timespec *timespec = *ts; ts 145 maint/gnulib/lib/utimens.c *ts = NULL; ts 176 maint/gnulib/lib/utimens.c struct timespec *ts = timespec ? adjusted_timespec : NULL; ts 180 maint/gnulib/lib/utimens.c if (ts) ts 184 maint/gnulib/lib/utimens.c adjustment_needed = validate_timespec (ts); ts 241 maint/gnulib/lib/utimens.c if (ts[0].tv_nsec == UTIME_OMIT) ts 242 maint/gnulib/lib/utimens.c ts[0] = get_stat_atime (&st); ts 243 maint/gnulib/lib/utimens.c else if (ts[1].tv_nsec == UTIME_OMIT) ts 244 maint/gnulib/lib/utimens.c ts[1] = get_stat_mtime (&st); ts 266 maint/gnulib/lib/utimens.c result = utimensat (AT_FDCWD, file, ts, 0); ts 288 maint/gnulib/lib/utimens.c result = futimens (fd, ts); ts 324 maint/gnulib/lib/utimens.c if (ts == NULL || ts[0].tv_nsec == UTIME_NOW || ts[1].tv_nsec == UTIME_NOW) ts 334 maint/gnulib/lib/utimens.c if (ts == NULL || ts[0].tv_nsec == UTIME_NOW) ts 338 maint/gnulib/lib/utimens.c else if (ts[0].tv_nsec == UTIME_OMIT) ts 346 maint/gnulib/lib/utimens.c (ULONGLONG) ts[0].tv_sec * 10000000 + ts[0].tv_nsec / 100 + 116444736000000000LL; ts 351 maint/gnulib/lib/utimens.c if (ts == NULL || ts[1].tv_nsec == UTIME_NOW) ts 355 maint/gnulib/lib/utimens.c else if (ts[1].tv_nsec == UTIME_OMIT) ts 363 maint/gnulib/lib/utimens.c (ULONGLONG) ts[1].tv_sec * 10000000 + ts[1].tv_nsec / 100 + 116444736000000000LL; ts 399 maint/gnulib/lib/utimens.c if (ts && update_timespec (&st, &ts)) ts 407 maint/gnulib/lib/utimens.c if (ts) ts 409 maint/gnulib/lib/utimens.c timeval[0].tv_sec = ts[0].tv_sec; ts 410 maint/gnulib/lib/utimens.c timeval[0].tv_usec = ts[0].tv_nsec / 1000; ts 411 maint/gnulib/lib/utimens.c timeval[1].tv_sec = ts[1].tv_sec; ts 412 maint/gnulib/lib/utimens.c timeval[1].tv_usec = ts[1].tv_nsec / 1000; ts 497 maint/gnulib/lib/utimens.c return _gl_utimens_windows (file, ts); ts 504 maint/gnulib/lib/utimens.c if (ts) ts 506 maint/gnulib/lib/utimens.c utimbuf.actime = ts[0].tv_sec; ts 507 maint/gnulib/lib/utimens.c utimbuf.modtime = ts[1].tv_sec; ts 535 maint/gnulib/lib/utimens.c struct timespec *ts = timespec ? adjusted_timespec : NULL; ts 539 maint/gnulib/lib/utimens.c if (ts) ts 543 maint/gnulib/lib/utimens.c adjustment_needed = validate_timespec (ts); ts 574 maint/gnulib/lib/utimens.c if (ts[0].tv_nsec == UTIME_OMIT) ts 575 maint/gnulib/lib/utimens.c ts[0] = get_stat_atime (&st); ts 576 maint/gnulib/lib/utimens.c else if (ts[1].tv_nsec == UTIME_OMIT) ts 577 maint/gnulib/lib/utimens.c ts[1] = get_stat_mtime (&st); ts 582 maint/gnulib/lib/utimens.c result = utimensat (AT_FDCWD, file, ts, AT_SYMLINK_NOFOLLOW); ts 612 maint/gnulib/lib/utimens.c if (ts && update_timespec (&st, &ts)) ts 623 maint/gnulib/lib/utimens.c if (ts) ts 625 maint/gnulib/lib/utimens.c timeval[0].tv_sec = ts[0].tv_sec; ts 626 maint/gnulib/lib/utimens.c timeval[0].tv_usec = ts[0].tv_nsec / 1000; ts 627 maint/gnulib/lib/utimens.c timeval[1].tv_sec = ts[1].tv_sec; ts 628 maint/gnulib/lib/utimens.c timeval[1].tv_usec = ts[1].tv_nsec / 1000; ts 644 maint/gnulib/lib/utimens.c return fdutimens (-1, file, ts); ts 81 maint/gnulib/lib/utimensat.c struct timespec ts[2]; ts 111 maint/gnulib/lib/utimensat.c ts[0] = get_stat_atime (&st); ts 113 maint/gnulib/lib/utimensat.c ts[0] = times[0]; ts 115 maint/gnulib/lib/utimensat.c ts[1] = get_stat_mtime (&st); ts 117 maint/gnulib/lib/utimensat.c ts[1] = times[1]; ts 118 maint/gnulib/lib/utimensat.c times = ts; ts 207 maint/gnulib/lib/utimensat.c # define AT_FUNC_POST_FILE_PARAM_DECLS , struct timespec const ts[2], int flag ts 208 maint/gnulib/lib/utimensat.c # define AT_FUNC_POST_FILE_ARGS , ts ts 35 maint/gnulib/tests/bench-digest.h timing_start (struct timings_state *ts) ts 40 maint/gnulib/tests/bench-digest.h ts->user_start = usage.ru_utime; ts 41 maint/gnulib/tests/bench-digest.h ts->sys_start = usage.ru_stime; ts 43 maint/gnulib/tests/bench-digest.h gettimeofday (&ts->real_start, NULL); ts 47 maint/gnulib/tests/bench-digest.h timing_end (struct timings_state *ts) ts 56 maint/gnulib/tests/bench-digest.h ts->real_usec = (real_end.tv_sec - ts->real_start.tv_sec) * 1000000 ts 57 maint/gnulib/tests/bench-digest.h + real_end.tv_usec - ts->real_start.tv_usec; ts 58 maint/gnulib/tests/bench-digest.h ts->user_usec = (usage.ru_utime.tv_sec - ts->user_start.tv_sec) * 1000000 ts 59 maint/gnulib/tests/bench-digest.h + usage.ru_utime.tv_usec - ts->user_start.tv_usec; ts 60 maint/gnulib/tests/bench-digest.h ts->sys_usec = (usage.ru_stime.tv_sec - ts->sys_start.tv_sec) * 1000000 ts 61 maint/gnulib/tests/bench-digest.h + usage.ru_stime.tv_usec - ts->sys_start.tv_usec; ts 65 maint/gnulib/tests/bench-digest.h timing_output (const struct timings_state *ts) ts 67 maint/gnulib/tests/bench-digest.h printf ("real %10.6f\n", (double)ts->real_usec / 1000000.0); ts 68 maint/gnulib/tests/bench-digest.h printf ("user %7.3f\n", (double)ts->user_usec / 1000000.0); ts 69 maint/gnulib/tests/bench-digest.h printf ("sys %7.3f\n", (double)ts->sys_usec / 1000000.0); ts 99 maint/gnulib/tests/bench-digest.h struct timings_state ts; ts 100 maint/gnulib/tests/bench-digest.h timing_start (&ts); ts 109 maint/gnulib/tests/bench-digest.h timing_end (&ts); ts 110 maint/gnulib/tests/bench-digest.h timing_output (&ts); ts 241 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c struct timespec ts; ts 242 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ts.tv_sec = 0; ts.tv_nsec = 1000000; ts 243 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c nanosleep (&ts, NULL); ts 374 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c struct timespec ts; ts 375 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ts.tv_sec = 0; ts.tv_nsec = 1000000; ts 376 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c nanosleep (&ts, NULL); ts 121 maint/gnulib/tests/test-cnd.c get_ts (struct timespec *ts) ts 127 maint/gnulib/tests/test-cnd.c ts->tv_sec = now.tv_sec + 1; ts 128 maint/gnulib/tests/test-cnd.c ts->tv_nsec = now.tv_usec * 1000; ts 135 maint/gnulib/tests/test-cnd.c struct timespec ts; ts 140 maint/gnulib/tests/test-cnd.c get_ts (&ts); ts 141 maint/gnulib/tests/test-cnd.c ret = cnd_timedwait (&condtest, &lockcond, &ts); ts 116 maint/gnulib/tests/test-cond.c get_ts (struct timespec *ts) ts 122 maint/gnulib/tests/test-cond.c ts->tv_sec = now.tv_sec + 1; ts 123 maint/gnulib/tests/test-cond.c ts->tv_nsec = now.tv_usec * 1000; ts 130 maint/gnulib/tests/test-cond.c struct timespec ts; ts 135 maint/gnulib/tests/test-cond.c get_ts (&ts); ts 136 maint/gnulib/tests/test-cond.c ret = glthread_cond_timedwait (&condtest, &lockcond, &ts); ts 128 maint/gnulib/tests/test-fdutimensat.c struct timespec ts[2]; ts 130 maint/gnulib/tests/test-fdutimensat.c ts[0].tv_sec = Y2K; ts 131 maint/gnulib/tests/test-fdutimensat.c ts[0].tv_nsec = 0; ts 132 maint/gnulib/tests/test-fdutimensat.c ts[1] = ts[0]; ts 133 maint/gnulib/tests/test-fdutimensat.c ASSERT (fdutimensat (fd, dfd, BASE "dir/file", ts, 0) == 0); ts 66 maint/gnulib/tests/test-futimens.h struct timespec ts[2]; ts 67 maint/gnulib/tests/test-futimens.h gettime (&ts[0]); ts 68 maint/gnulib/tests/test-futimens.h ts[1] = ts[0]; ts 69 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == 0); ts 100 maint/gnulib/tests/test-futimens.h struct timespec ts[2]; ts 101 maint/gnulib/tests/test-futimens.h ts[0].tv_sec = Y2K; ts 102 maint/gnulib/tests/test-futimens.h ts[0].tv_nsec = UTIME_BOGUS_POS; ts 103 maint/gnulib/tests/test-futimens.h ts[1].tv_sec = Y2K; ts 104 maint/gnulib/tests/test-futimens.h ts[1].tv_nsec = 0; ts 106 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == -1); ts 110 maint/gnulib/tests/test-futimens.h struct timespec ts[2]; ts 111 maint/gnulib/tests/test-futimens.h ts[0].tv_sec = Y2K; ts 112 maint/gnulib/tests/test-futimens.h ts[0].tv_nsec = 0; ts 113 maint/gnulib/tests/test-futimens.h ts[1].tv_sec = Y2K; ts 114 maint/gnulib/tests/test-futimens.h ts[1].tv_nsec = UTIME_BOGUS_NEG; ts 116 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == -1); ts 126 maint/gnulib/tests/test-futimens.h struct timespec ts[2]; ts 127 maint/gnulib/tests/test-futimens.h ts[0].tv_sec = Y2K; ts 128 maint/gnulib/tests/test-futimens.h ts[0].tv_nsec = BILLION / 2 - 1; ts 129 maint/gnulib/tests/test-futimens.h ts[1].tv_sec = Y2K; ts 130 maint/gnulib/tests/test-futimens.h ts[1].tv_nsec = BILLION - 1; ts 131 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == 0); ts 146 maint/gnulib/tests/test-futimens.h struct timespec ts[2]; ts 147 maint/gnulib/tests/test-futimens.h ts[0].tv_sec = BILLION; ts 148 maint/gnulib/tests/test-futimens.h ts[0].tv_nsec = UTIME_OMIT; ts 149 maint/gnulib/tests/test-futimens.h ts[1].tv_sec = 0; ts 150 maint/gnulib/tests/test-futimens.h ts[1].tv_nsec = UTIME_NOW; ts 152 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == 0); ts 161 maint/gnulib/tests/test-futimens.h ts[0].tv_nsec = 0; ts 162 maint/gnulib/tests/test-futimens.h ts[1].tv_nsec = UTIME_OMIT; ts 163 maint/gnulib/tests/test-futimens.h ASSERT (func (fd, ts) == 0); ts 47 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 48 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 49 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = 0; ts 50 maint/gnulib/tests/test-lutimens.h ts[1] = ts[0]; ts 52 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "file/", ts) == -1); ts 59 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 60 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 61 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = 0; ts 62 maint/gnulib/tests/test-lutimens.h ts[1] = ts[0]; ts 64 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "file", ts) == 0); ts 115 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 116 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 117 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = UTIME_BOGUS_POS; ts 118 maint/gnulib/tests/test-lutimens.h ts[1].tv_sec = Y2K; ts 119 maint/gnulib/tests/test-lutimens.h ts[1].tv_nsec = 0; ts 121 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == -1); ts 125 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 126 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 127 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = 0; ts 128 maint/gnulib/tests/test-lutimens.h ts[1].tv_sec = Y2K; ts 129 maint/gnulib/tests/test-lutimens.h ts[1].tv_nsec = UTIME_BOGUS_NEG; ts 131 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == -1); ts 144 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 145 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 146 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = BILLION / 2 - 1; ts 147 maint/gnulib/tests/test-lutimens.h ts[1].tv_sec = Y2K; ts 148 maint/gnulib/tests/test-lutimens.h ts[1].tv_nsec = BILLION - 1; ts 150 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); ts 168 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 169 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = BILLION; ts 170 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = UTIME_OMIT; ts 171 maint/gnulib/tests/test-lutimens.h ts[1].tv_sec = 0; ts 172 maint/gnulib/tests/test-lutimens.h ts[1].tv_nsec = UTIME_NOW; ts 174 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); ts 186 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = 0; ts 187 maint/gnulib/tests/test-lutimens.h ts[1].tv_nsec = UTIME_OMIT; ts 188 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); ts 206 maint/gnulib/tests/test-lutimens.h struct timespec ts[2]; ts 207 maint/gnulib/tests/test-lutimens.h ts[0].tv_sec = Y2K; ts 208 maint/gnulib/tests/test-lutimens.h ts[0].tv_nsec = 0; ts 209 maint/gnulib/tests/test-lutimens.h ts[1] = ts[0]; ts 210 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link/", ts) == 0); ts 44 maint/gnulib/tests/test-nanosleep.c struct timespec ts; ts 46 maint/gnulib/tests/test-nanosleep.c ts.tv_sec = 1000; ts 47 maint/gnulib/tests/test-nanosleep.c ts.tv_nsec = -1; ts 49 maint/gnulib/tests/test-nanosleep.c ASSERT (nanosleep (&ts, NULL) == -1); ts 51 maint/gnulib/tests/test-nanosleep.c ts.tv_nsec = 1000000000; ts 53 maint/gnulib/tests/test-nanosleep.c ASSERT (nanosleep (&ts, NULL) == -1); ts 56 maint/gnulib/tests/test-nanosleep.c ts.tv_sec = 0; ts 57 maint/gnulib/tests/test-nanosleep.c ts.tv_nsec = 1; ts 58 maint/gnulib/tests/test-nanosleep.c ASSERT (nanosleep (&ts, &ts) == 0); ts 62 maint/gnulib/tests/test-nanosleep.c ASSERT (ts.tv_sec == 0); ts 63 maint/gnulib/tests/test-nanosleep.c ASSERT (ts.tv_nsec == 0 || ts.tv_nsec == 1); ts 64 maint/gnulib/tests/test-nanosleep.c ts.tv_nsec = 0; ts 65 maint/gnulib/tests/test-nanosleep.c ASSERT (nanosleep (&ts, NULL) == 0); ts 72 maint/gnulib/tests/test-nanosleep.c ts.tv_sec = pentecost; ts 73 maint/gnulib/tests/test-nanosleep.c ts.tv_nsec = 999999999; ts 75 maint/gnulib/tests/test-nanosleep.c ASSERT (nanosleep (&ts, &ts) == -1); ts 77 maint/gnulib/tests/test-nanosleep.c ASSERT (pentecost - 10 < ts.tv_sec && ts.tv_sec <= pentecost); ts 78 maint/gnulib/tests/test-nanosleep.c ASSERT (0 <= ts.tv_nsec && ts.tv_nsec <= 999999999); ts 33 maint/gnulib/tests/test-pselect.c struct timespec ts; ts 37 maint/gnulib/tests/test-pselect.c ts.tv_sec = timeout->tv_sec; ts 38 maint/gnulib/tests/test-pselect.c ts.tv_nsec = timeout->tv_usec * 1000; ts 39 maint/gnulib/tests/test-pselect.c pts = &ts; ts 126 maint/gnulib/tests/test-pthread-cond.c get_ts (struct timespec *ts) ts 132 maint/gnulib/tests/test-pthread-cond.c ts->tv_sec = now.tv_sec + 1; ts 133 maint/gnulib/tests/test-pthread-cond.c ts->tv_nsec = now.tv_usec * 1000; ts 140 maint/gnulib/tests/test-pthread-cond.c struct timespec ts; ts 145 maint/gnulib/tests/test-pthread-cond.c get_ts (&ts); ts 146 maint/gnulib/tests/test-pthread-cond.c ret = pthread_cond_timedwait (&condtest, &lockcond, &ts); ts 164 maint/gnulib/tests/test-stat-time.c struct timespec ts; ts 165 maint/gnulib/tests/test-stat-time.c ts = get_stat_mtime (&statinfo[i]); ts 166 maint/gnulib/tests/test-stat-time.c ASSERT (ts.tv_sec == statinfo[i].st_mtime); ts 24 maint/gnulib/tests/test-timespec_get.c SIGNATURE_CHECK (timespec_get, int, (struct timespec *ts, int base)); ts 55 maint/gnulib/tests/test-utime.c struct utimbuf ts; ts 56 maint/gnulib/tests/test-utime.c ts.actime = ts.modtime = time (NULL); ts 57 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file", &ts) == 0); ts 73 maint/gnulib/tests/test-utime.c struct utimbuf ts; ts 74 maint/gnulib/tests/test-utime.c ts.actime = ts.modtime = Y2K; ts 76 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file/", &ts) == -1); ts 86 maint/gnulib/tests/test-utime.c struct utimbuf ts; ts 87 maint/gnulib/tests/test-utime.c ts.actime = ts.modtime = Y2K; ts 88 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file", &ts) == 0); ts 115 maint/gnulib/tests/test-utime.c struct utimbuf ts; ts 116 maint/gnulib/tests/test-utime.c ts.actime = ts.modtime = Y2K; ts 117 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "link", &ts) == 0); ts 50 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 51 maint/gnulib/tests/test-utimens.h gettime (&ts[0]); ts 52 maint/gnulib/tests/test-utimens.h ts[1] = ts[0]; ts 53 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); ts 69 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 70 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = Y2K; ts 71 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = UTIME_BOGUS_POS; ts 72 maint/gnulib/tests/test-utimens.h ts[1].tv_sec = Y2K; ts 73 maint/gnulib/tests/test-utimens.h ts[1].tv_nsec = 0; ts 75 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == -1); ts 79 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 80 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = Y2K; ts 81 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = 0; ts 82 maint/gnulib/tests/test-utimens.h ts[1].tv_sec = Y2K; ts 83 maint/gnulib/tests/test-utimens.h ts[1].tv_nsec = UTIME_BOGUS_NEG; ts 85 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == -1); ts 89 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 90 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = Y2K; ts 91 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = 0; ts 92 maint/gnulib/tests/test-utimens.h ts[1] = ts[0]; ts 94 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file/", ts) == -1); ts 104 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 105 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = Y2K; ts 106 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = BILLION / 2 - 1; ts 107 maint/gnulib/tests/test-utimens.h ts[1].tv_sec = Y2K; ts 108 maint/gnulib/tests/test-utimens.h ts[1].tv_nsec = BILLION - 1; ts 109 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); ts 124 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 125 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = BILLION; ts 126 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = UTIME_OMIT; ts 127 maint/gnulib/tests/test-utimens.h ts[1].tv_sec = 0; ts 128 maint/gnulib/tests/test-utimens.h ts[1].tv_nsec = UTIME_NOW; ts 130 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); ts 140 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = 0; ts 141 maint/gnulib/tests/test-utimens.h ts[1].tv_nsec = UTIME_OMIT; ts 142 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); ts 167 maint/gnulib/tests/test-utimens.h struct timespec ts[2]; ts 168 maint/gnulib/tests/test-utimens.h ts[0].tv_sec = Y2K; ts 169 maint/gnulib/tests/test-utimens.h ts[0].tv_nsec = 0; ts 170 maint/gnulib/tests/test-utimens.h ts[1] = ts[0]; ts 171 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "link", ts) == 0); ts 104 maint/gnulib/tests/test-utimensat.c struct timespec ts[2]; ts 106 maint/gnulib/tests/test-utimensat.c ts[0].tv_sec = Y2K; ts 107 maint/gnulib/tests/test-utimensat.c ts[0].tv_nsec = 0; ts 108 maint/gnulib/tests/test-utimensat.c ts[1].tv_sec = Y2K; ts 109 maint/gnulib/tests/test-utimensat.c ts[1].tv_nsec = 0; ts 110 maint/gnulib/tests/test-utimensat.c ASSERT (utimensat (dfd, BASE "dir/file", ts, AT_SYMLINK_NOFOLLOW) == 0);