Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 15 of 15) sorted by relevance

/coreutils/scripts/build-older-versions/
Dcoreutils-5.97-on-glibc-2.28.diff10 char const *file, struct timespec const timespec[2])
15 utimens (char const *file, struct timespec const timespec[2])
17 - return futimens (-1, file, timespec);
18 + return futimens_FOO (-1, file, timespec);
24 #include "timespec.h"
25 -int futimens (int, char const *, struct timespec const [2]);
26 +int futimens_FOO (int, char const *, struct timespec const [2]);
27 int utimens (char const *, struct timespec const [2]);
32 timespec[0] = get_stat_atime (src_sb);
33 timespec[1] = get_stat_mtime (src_sb);
[all …]
/coreutils/src/
Dtouch.c70 static struct timespec newtime[2];
108 static struct timespec
109 date_relative (char const *flex_date, struct timespec now) in date_relative()
111 struct timespec result; in date_relative()
125 struct timespec const *t = newtime; in touch()
366 struct timespec now = current_timespec (); in main()
379 struct timespec notnow, notnow1; in main()
Dstatx.h22 static inline struct timespec
25 struct timespec ts; in statx_timestamp_to_timespec()
Ddate.c40 static bool show_date (char const *, struct timespec, timezone_t);
345 struct timespec when; in batch_convert()
401 struct timespec when; in main()
655 show_date (char const *format, struct timespec when, timezone_t tz) in show_date()
Dstat.c644 human_time (struct timespec t) in human_time()
728 struct timespec arg) in out_epoch_sec()
1037 static inline struct timespec
1038 neg_to_zero (struct timespec ts) in neg_to_zero()
1042 struct timespec z = {0}; in neg_to_zero()
1283 struct timespec btime;
1377 pa.btime = (struct timespec) {.tv_sec = -1, .tv_nsec = -1}; in do_stat()
1420 static struct timespec
1423 struct timespec ts = get_stat_birthtime (st); in get_birthtime()
1463 pa.btime = (struct timespec) {.tv_sec = -1, .tv_nsec = -1}; in do_stat()
[all …]
Dtest.c168 get_mtime (char const *filename, struct timespec *mtime) in get_mtime()
320 struct timespec lt, rt; in binary_operator()
349 struct timespec lt, rt; in binary_operator()
420 struct timespec atime = get_stat_atime (&stat_buf); in unary_operator()
421 struct timespec mtime = get_stat_mtime (&stat_buf); in unary_operator()
Dinstall.c472 struct timespec timespec[2]; in change_timestamps() local
473 timespec[0] = get_stat_atime (src_sb); in change_timestamps()
474 timespec[1] = get_stat_mtime (src_sb); in change_timestamps()
476 if (utimensat (dirfd, relname, timespec, 0)) in change_timestamps()
Dcopy.c1398 struct timespec timespec[2]; in copy_reg() local
1399 timespec[0].tv_nsec = timespec[1].tv_nsec = UTIME_NOW; in copy_reg()
1400 if (utimensat (dst_dirfd, dst_relname, timespec, in copy_reg()
1625 struct timespec timespec[2]; in copy_reg() local
1626 timespec[0] = get_stat_atime (src_sb); in copy_reg()
1627 timespec[1] = get_stat_mtime (src_sb); in copy_reg()
1629 if (fdutimensat (dest_desc, dst_dirfd, dst_relname, timespec, 0) != 0) in copy_reg()
3248 struct timespec timespec[2]; in copy_internal() local
3249 timespec[0] = get_stat_atime (&src_sb); in copy_internal()
3250 timespec[1] = get_stat_mtime (&src_sb); in copy_internal()
[all …]
Dcp.c328 struct timespec timespec[2]; in re_protect() local
330 timespec[0] = get_stat_atime (&p->st); in re_protect()
331 timespec[1] = get_stat_mtime (&p->st); in re_protect()
333 if (utimensat (dst_dirfd, relname, timespec, 0)) in re_protect()
Dtimeout.c119 struct timespec ts = dtotimespec (duration); in settimeout()
141 struct timespec ts = dtotimespec (duration); in settimeout()
Dpr.c1649 struct timespec t; in init_header()
1660 static struct timespec timespec; in init_header() local
1661 if (! timespec.tv_sec) in init_header()
1662 gettime (&timespec); in init_header()
1663 t = timespec; in init_header()
Ddu.c85 struct timespec tmax;
100 duinfo_set (struct duinfo *a, uintmax_t size, struct timespec tmax) in duinfo_set()
378 show_date (char const *format, struct timespec when, timezone_t tz) in show_date()
Dls.c387 static struct timespec current_time;
1096 static struct timespec
1099 struct timespec btimespec; in get_stat_btime()
4327 struct timespec when_timespec; in print_long_format()
4460 struct timespec six_months_ago; in print_long_format()
Dtail.c121 struct timespec mtime;
/coreutils/doc/
Dcoreutils.texi16750 @item -I[@var{timespec}]
16751 @itemx --iso-8601[=@var{timespec}]
16752 @opindex -I[@var{timespec}]
16753 @opindex --iso-8601[=@var{timespec}]
16756 The argument @var{timespec} specifies the number of additional
16760 Print just the date. This is the default if @var{timespec} is omitted.
16830 @item --rfc-3339=@var{timespec}
16831 @opindex --rfc-3339=@var{timespec}
16839 The argument @var{timespec} specifies how much of the time to include.