Lines Matching refs:time_t

600 # define time_tz time_t
617 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
660 # undef time_t
661 # define time_t tz_time_t macro
705 DEPRECATED_IN_C23 char *ctime(time_t const *);
708 char *ctime_r(time_t const *, char *);
710 double difftime(time_t, time_t);
717 struct tm *gmtime(time_t const *);
718 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
719 struct tm *localtime(time_t const *);
720 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
721 time_t mktime(struct tm *);
722 time_t time(time_t *);
723 time_t timegm(struct tm *);
738 time_t timegm(struct tm *);
778 struct tm *offtime(time_t const *, long);
781 struct tm *offtime_r(time_t const *, long, struct tm *);
784 time_t timelocal(struct tm *);
790 time_t time2posix(time_t);
793 time_t posix2time(time_t);
822 struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
824 time_t mktime_z(timezone_t restrict, struct tm *restrict);
829 ATTRIBUTE_PURE time_t posix2time_z(timezone_t, time_t);
832 ATTRIBUTE_PURE time_t time2posix_z(timezone_t, time_t);
860 #define TIME_T_MIN_NO_PADDING MINVAL(time_t, TYPE_BIT(time_t))
861 #define TIME_T_MAX_NO_PADDING MAXVAL(time_t, TYPE_BIT(time_t))
871 _Generic((time_t) 0, \
876 (TYPE_SIGNED(time_t) \
877 ? _Generic((time_t) 0, \
881 : (time_t) -1)
883 = _Generic((time_t) 0,
897 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
898 || TIME_T_MAX >> (TYPE_BIT(time_t) - 2) == 1);
940 time_t timeoff(struct tm *, long);
979 char *ctime_r(time_t const *, char *);