tm 44 lib/common/iso8601.c # define GMTOFF(tm) ((tm)->tm_gmtoff) tm 47 lib/common/iso8601.c # define GMTOFF(tm) (-timezone+daylight) tm 778 lib/common/iso8601.c struct tm *now_tm = localtime(&now); tm 1357 lib/common/iso8601.c ha_set_tm_time(crm_time_t *target, const struct tm *source) tm 1831 lib/common/iso8601.c ha_get_tm_time(struct tm *target, const crm_time_t *source) tm 1833 lib/common/iso8601.c *target = (struct tm) { tm 1966 lib/common/iso8601.c struct tm tm = { 0, }; tm 1973 lib/common/iso8601.c ha_get_tm_time(&tm, &dt); tm 2032 lib/common/iso8601.c tmp_fmt_s, &tm); tm 23 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c crm_time_t *tm = crm_time_new(t); tm 26 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c assert_int_equal(pcmk__evaluate_date_spec(xml, tm), expected); tm 28 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c crm_time_free(tm); tm 38 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c crm_time_t *tm = crm_time_new(NULL); tm 42 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c assert_int_equal(pcmk__evaluate_date_spec(NULL, tm), EINVAL); tm 44 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c crm_time_free(tm); tm 28 maint/gnulib/lib/fprintftime.h size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, tm 27 maint/gnulib/lib/localtime.c struct tm * tm 76 maint/gnulib/lib/mktime-internal.h extern __time64_t __mktime_internal (struct tm *tp, tm 77 maint/gnulib/lib/mktime-internal.h struct tm *(*func) (__time64_t const *, tm 78 maint/gnulib/lib/mktime-internal.h struct tm *), tm 246 maint/gnulib/lib/mktime.c struct tm const *tp) tm 256 maint/gnulib/lib/mktime.c static struct tm * tm 257 maint/gnulib/lib/mktime.c convert_time (struct tm *(*convert) (const __time64_t *, struct tm *), tm 258 maint/gnulib/lib/mktime.c long_int t, struct tm *tm) tm 261 maint/gnulib/lib/mktime.c return convert (&x, tm); tm 269 maint/gnulib/lib/mktime.c static struct tm * tm 270 maint/gnulib/lib/mktime.c ranged_convert (struct tm *(*convert) (const __time64_t *, struct tm *), tm 271 maint/gnulib/lib/mktime.c long_int *t, struct tm *tp) tm 275 maint/gnulib/lib/mktime.c struct tm *r = convert_time (convert, t1, tp); tm 286 maint/gnulib/lib/mktime.c struct tm oktm; oktm.tm_sec = -1; tm 321 maint/gnulib/lib/mktime.c __mktime_internal (struct tm *tp, tm 322 maint/gnulib/lib/mktime.c struct tm *(*convert) (const __time64_t *, struct tm *), tm 325 maint/gnulib/lib/mktime.c struct tm tm; tm 392 maint/gnulib/lib/mktime.c if (! ranged_convert (convert, &t, &tm)) tm 394 maint/gnulib/lib/mktime.c long_int dt = tm_diff (year, yday, hour, min, sec, &tm); tm 399 maint/gnulib/lib/mktime.c && (tm.tm_isdst < 0 tm 401 maint/gnulib/lib/mktime.c ? dst2 <= (tm.tm_isdst != 0) tm 402 maint/gnulib/lib/mktime.c : (isdst != 0) != (tm.tm_isdst != 0)))) tm 421 maint/gnulib/lib/mktime.c t1 = t2, t2 = t, t += dt, dst2 = tm.tm_isdst != 0; tm 426 maint/gnulib/lib/mktime.c if (isdst_differ (isdst, tm.tm_isdst)) tm 463 maint/gnulib/lib/mktime.c struct tm otm; tm 474 maint/gnulib/lib/mktime.c if (convert_time (convert, gt, &tm)) tm 497 maint/gnulib/lib/mktime.c if (LEAP_SECONDS_POSSIBLE && sec_requested != tm.tm_sec) tm 501 maint/gnulib/lib/mktime.c long_int sec_adjustment = sec == 0 && tm.tm_sec == 60; tm 510 maint/gnulib/lib/mktime.c if (! convert_time (convert, t, &tm)) tm 514 maint/gnulib/lib/mktime.c *tp = tm; tm 524 maint/gnulib/lib/mktime.c __mktime64 (struct tm *tp) tm 546 maint/gnulib/lib/mktime.c mktime (struct tm *tp) tm 548 maint/gnulib/lib/mktime.c struct tm tm = *tp; tm 549 maint/gnulib/lib/mktime.c __time64_t t = __mktime64 (&tm); tm 552 maint/gnulib/lib/mktime.c *tp = tm; tm 357 maint/gnulib/lib/nl_langinfo.c struct tm tmm = { 0 }; tm 121 maint/gnulib/lib/nstrftime.c # define mktime_z(tz, tm) mktime (tm) tm 337 maint/gnulib/lib/nstrftime.c static int tm_diff (const struct tm *, const struct tm *); tm 339 maint/gnulib/lib/nstrftime.c tm_diff (const struct tm *a, const struct tm *b) tm 412 maint/gnulib/lib/nstrftime.c const CHAR_T *, const struct tm *, tm 425 maint/gnulib/lib/nstrftime.c const struct tm *tp extra_args_spec LOCALE_PARAM) tm 442 maint/gnulib/lib/nstrftime.c const struct tm *tp, bool upcase, tm 1189 maint/gnulib/lib/nstrftime.c struct tm ltm; tm 1422 maint/gnulib/lib/nstrftime.c struct tm gtm; tm 1423 maint/gnulib/lib/nstrftime.c struct tm ltm; tm 1324 maint/gnulib/lib/parse-datetime.y tm_diff (const struct tm *a, const struct tm *b) tm 1560 maint/gnulib/lib/parse-datetime.y mktime_ok (struct tm const *tm0, struct tm const *tm1) tm 1576 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (struct tm const *tm, parser_control const *pc, tm 1602 maint/gnulib/lib/parse-datetime.y int m = nstrftime (buf, n, "(Y-M-D) %Y-%m-%d %H:%M:%S", tm, 0, 0); tm 1621 maint/gnulib/lib/parse-datetime.y debug_strfdate (struct tm const *tm, char *buf, int n) tm 1625 maint/gnulib/lib/parse-datetime.y tm_year_str (tm->tm_year, tm_year_buf), tm 1626 maint/gnulib/lib/parse-datetime.y tm->tm_mon + 1, tm->tm_mday); tm 1631 maint/gnulib/lib/parse-datetime.y debug_strftime (struct tm const *tm, char *buf, int n) tm 1633 maint/gnulib/lib/parse-datetime.y snprintf (buf, n, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); tm 1650 maint/gnulib/lib/parse-datetime.y debug_mktime_not_ok (struct tm const *tm0, struct tm const *tm1, tm 1715 maint/gnulib/lib/parse-datetime.y struct tm tm; tm 1716 maint/gnulib/lib/parse-datetime.y struct tm tm0; tm 1792 maint/gnulib/lib/parse-datetime.y struct tm tmp; tm 1820 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = tmp.tm_isdst; tm 1856 maint/gnulib/lib/parse-datetime.y struct tm probe_tm; tm 1972 maint/gnulib/lib/parse-datetime.y if (! to_tm_year (pc.year, debugging (&pc), &tm.tm_year) tm 1973 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (pc.month, -1, &tm.tm_mon) tm 1974 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (pc.day, 0, &tm.tm_mday)) tm 1982 maint/gnulib/lib/parse-datetime.y tm.tm_hour = to_hour (pc.hour, pc.meridian); tm 1983 maint/gnulib/lib/parse-datetime.y if (tm.tm_hour < 0) tm 1992 maint/gnulib/lib/parse-datetime.y tm.tm_min = pc.minutes; tm 1993 maint/gnulib/lib/parse-datetime.y tm.tm_sec = pc.seconds.tv_sec; tm 1998 maint/gnulib/lib/parse-datetime.y debug_strftime (&tm, dbg_tm, sizeof dbg_tm)); tm 2002 maint/gnulib/lib/parse-datetime.y tm.tm_hour = tm.tm_min = tm.tm_sec = 0; tm 2010 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = -1; tm 2015 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = pc.local_isdst; tm 2017 maint/gnulib/lib/parse-datetime.y tm0.tm_sec = tm.tm_sec; tm 2018 maint/gnulib/lib/parse-datetime.y tm0.tm_min = tm.tm_min; tm 2019 maint/gnulib/lib/parse-datetime.y tm0.tm_hour = tm.tm_hour; tm 2020 maint/gnulib/lib/parse-datetime.y tm0.tm_mday = tm.tm_mday; tm 2021 maint/gnulib/lib/parse-datetime.y tm0.tm_mon = tm.tm_mon; tm 2022 maint/gnulib/lib/parse-datetime.y tm0.tm_year = tm.tm_year; tm 2023 maint/gnulib/lib/parse-datetime.y tm0.tm_isdst = tm.tm_isdst; tm 2024 maint/gnulib/lib/parse-datetime.y tm.tm_wday = -1; tm 2026 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tm 2028 maint/gnulib/lib/parse-datetime.y if (! mktime_ok (&tm0, &tm)) tm 2054 maint/gnulib/lib/parse-datetime.y tm.tm_sec = tm0.tm_sec; tm 2055 maint/gnulib/lib/parse-datetime.y tm.tm_min = tm0.tm_min; tm 2056 maint/gnulib/lib/parse-datetime.y tm.tm_hour = tm0.tm_hour; tm 2057 maint/gnulib/lib/parse-datetime.y tm.tm_mday = tm0.tm_mday; tm 2058 maint/gnulib/lib/parse-datetime.y tm.tm_mon = tm0.tm_mon; tm 2059 maint/gnulib/lib/parse-datetime.y tm.tm_year = tm0.tm_year; tm 2060 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = tm0.tm_isdst; tm 2061 maint/gnulib/lib/parse-datetime.y tm.tm_wday = -1; tm 2062 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz2, &tm); tm 2063 maint/gnulib/lib/parse-datetime.y repaired = mktime_ok (&tm0, &tm); tm 2069 maint/gnulib/lib/parse-datetime.y debug_mktime_not_ok (&tm0, &tm, &pc, time_zone_seen); tm 2081 maint/gnulib/lib/parse-datetime.y && tm.tm_wday != pc.day_number)), tm 2083 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV ((pc.day_number - tm.tm_wday + 7) % 7, tm 2085 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (dayincr, tm.tm_mday, &tm.tm_mday)) tm 2089 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = -1; tm 2090 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tm 2101 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, tm 2109 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); tm 2117 maint/gnulib/lib/parse-datetime.y debug_strfdate (&tm, dbg_tm, sizeof dbg_tm)); tm 2125 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); tm 2133 maint/gnulib/lib/parse-datetime.y if ((pc.rel.year != 0 || pc.rel.month != 0) && tm.tm_mday != 15) tm 2138 maint/gnulib/lib/parse-datetime.y if (pc.rel.day != 0 && tm.tm_hour != 12) tm 2144 maint/gnulib/lib/parse-datetime.y if (INT_ADD_WRAPV (tm.tm_year, pc.rel.year, &year) tm 2145 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (tm.tm_mon, pc.rel.month, &month) tm 2146 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (tm.tm_mday, pc.rel.day, &day)) tm 2152 maint/gnulib/lib/parse-datetime.y tm.tm_year = year; tm 2153 maint/gnulib/lib/parse-datetime.y tm.tm_mon = month; tm 2154 maint/gnulib/lib/parse-datetime.y tm.tm_mday = day; tm 2155 maint/gnulib/lib/parse-datetime.y tm.tm_hour = tm0.tm_hour; tm 2156 maint/gnulib/lib/parse-datetime.y tm.tm_min = tm0.tm_min; tm 2157 maint/gnulib/lib/parse-datetime.y tm.tm_sec = tm0.tm_sec; tm 2158 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = tm0.tm_isdst; tm 2159 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tm 2165 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, tm 2177 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, tm 2194 maint/gnulib/lib/parse-datetime.y if (tm0.tm_isdst != -1 && tm.tm_isdst != tm0.tm_isdst) tm 2211 maint/gnulib/lib/parse-datetime.y && (tm.tm_mday != day tm 2212 maint/gnulib/lib/parse-datetime.y || (pc.rel.month == 0 && tm.tm_mon != month))) tm 2220 maint/gnulib/lib/parse-datetime.y tm_year_str (tm.tm_year, tm_year_buf), tm 2221 maint/gnulib/lib/parse-datetime.y tm.tm_mon + 1, tm.tm_mday); tm 2233 maint/gnulib/lib/parse-datetime.y long int utcoff = tm.tm_gmtoff; tm 2236 maint/gnulib/lib/parse-datetime.y struct tm gmt; tm 2238 maint/gnulib/lib/parse-datetime.y ? tm_diff (&tm, &gmt) tm 2259 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm), tm 2316 maint/gnulib/lib/parse-datetime.y struct tm lmt; tm 2317 maint/gnulib/lib/parse-datetime.y if (tm.tm_isdst != -1 && localtime_rz (tz, &result->tv_sec, &lmt) tm 2318 maint/gnulib/lib/parse-datetime.y && tm.tm_isdst != lmt.tm_isdst) tm 2340 maint/gnulib/lib/parse-datetime.y struct tm gmt, lmt; tm 2420 maint/gnulib/lib/parse-datetime.y struct tm const *tm; tm 2423 maint/gnulib/lib/parse-datetime.y else if (! (tm = localtime (&d.tv_sec))) tm 2433 maint/gnulib/lib/parse-datetime.y tm_year_str (tm->tm_year, tm_year_buf), tm 2434 maint/gnulib/lib/parse-datetime.y tm->tm_mon + 1, tm->tm_mday, tm 2435 maint/gnulib/lib/parse-datetime.y tm->tm_hour, tm->tm_min, tm->tm_sec, ns); tm 50 maint/gnulib/lib/posixtm.c year (struct tm *tm, const int *digit_pair, idx_t n, unsigned int syntax_bits) tm 55 maint/gnulib/lib/posixtm.c tm->tm_year = *digit_pair; tm 63 maint/gnulib/lib/posixtm.c tm->tm_year += 100; tm 70 maint/gnulib/lib/posixtm.c tm->tm_year = digit_pair[0] * 100 + digit_pair[1] - 1900; tm 77 maint/gnulib/lib/posixtm.c struct tm *tmp = localtime (&now); tm 80 maint/gnulib/lib/posixtm.c tm->tm_year = tmp->tm_year; tm 92 maint/gnulib/lib/posixtm.c posix_time_parse (struct tm *tm, const char *s, unsigned int syntax_bits) tm 125 maint/gnulib/lib/posixtm.c if (! year (tm, p, len - 4, syntax_bits)) tm 132 maint/gnulib/lib/posixtm.c tm->tm_mon = *p++ - 1; tm 133 maint/gnulib/lib/posixtm.c tm->tm_mday = *p++; tm 134 maint/gnulib/lib/posixtm.c tm->tm_hour = *p++; tm 135 maint/gnulib/lib/posixtm.c tm->tm_min = *p++; tm 141 maint/gnulib/lib/posixtm.c if (! year (tm, p, len, syntax_bits)) tm 147 maint/gnulib/lib/posixtm.c tm->tm_sec = 0; tm 149 maint/gnulib/lib/posixtm.c tm->tm_sec = 10 * (dot[1] - '0') + dot[2] - '0'; tm 161 maint/gnulib/lib/posixtm.c struct tm tm0; tm 169 maint/gnulib/lib/posixtm.c struct tm tm1; tm 244 maint/gnulib/lib/sha1.c #define M(I) ( tm = x[I&0x0f] ^ x[(I-14)&0x0f] \ tm 246 maint/gnulib/lib/sha1.c , (x[I&0x0f] = rol(tm, 1)) ) tm 257 maint/gnulib/lib/sha1.c uint32_t tm; tm 326 maint/gnulib/lib/sha256.c #define M(I) ( tm = S1(x[(I-2)&0x0f]) + x[(I-7)&0x0f] \ tm 328 maint/gnulib/lib/sha256.c , x[I&0x0f] = tm ) tm 340 maint/gnulib/lib/sha256.c uint32_t tm; tm 28 maint/gnulib/lib/strftime-fixes.c rpl_strftime (char *buf, size_t bufsize, const char *format, const struct tm *tp) tm 33 maint/gnulib/lib/strftime.h size_t nstrftime (char *restrict, size_t, char const *, struct tm const *, tm 103 maint/gnulib/lib/strptime.c && (rp = __strptime_internal (rp, (new_fmt), tm, \ tm 200 maint/gnulib/lib/strptime.c day_of_the_week (struct tm *tm) tm 205 maint/gnulib/lib/strptime.c int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2); tm 208 maint/gnulib/lib/strptime.c + (365 * (tm->tm_year - 70)) tm 212 maint/gnulib/lib/strptime.c + __mon_yday[0][tm->tm_mon] tm 213 maint/gnulib/lib/strptime.c + tm->tm_mday - 1); tm 214 maint/gnulib/lib/strptime.c tm->tm_wday = ((wday % 7) + 7) % 7; tm 219 maint/gnulib/lib/strptime.c day_of_the_year (struct tm *tm) tm 221 maint/gnulib/lib/strptime.c tm->tm_yday = (__mon_yday[__isleap (1900 + tm->tm_year)][tm->tm_mon] tm 222 maint/gnulib/lib/strptime.c + (tm->tm_mday - 1)); tm 232 maint/gnulib/lib/strptime.c __strptime_internal (rp, fmt, tm, decided, era_cnt LOCALE_PARAM) tm 235 maint/gnulib/lib/strptime.c struct tm *tm; tm 341 maint/gnulib/lib/strptime.c tm->tm_wday = cnt; tm 381 maint/gnulib/lib/strptime.c tm->tm_mon = cnt; tm 424 maint/gnulib/lib/strptime.c tm->tm_mday = val; tm 466 maint/gnulib/lib/strptime.c tm->tm_hour = val; tm 474 maint/gnulib/lib/strptime.c tm->tm_hour = val % 12; tm 480 maint/gnulib/lib/strptime.c tm->tm_yday = val - 1; tm 486 maint/gnulib/lib/strptime.c tm->tm_mon = val - 1; tm 493 maint/gnulib/lib/strptime.c tm->tm_min = val; tm 533 maint/gnulib/lib/strptime.c tm->tm_mon = (val - 1) * 3; tm 534 maint/gnulib/lib/strptime.c tm->tm_mday = 1; tm 586 maint/gnulib/lib/strptime.c if (localtime_r (&secs, tm) == NULL) tm 593 maint/gnulib/lib/strptime.c tm->tm_sec = val; tm 622 maint/gnulib/lib/strptime.c tm->tm_wday = val % 7; tm 656 maint/gnulib/lib/strptime.c tm->tm_wday = val; tm 667 maint/gnulib/lib/strptime.c tm->tm_year = val >= 69 ? val : val + 100; tm 675 maint/gnulib/lib/strptime.c tm->tm_year = val - 1900; tm 717 maint/gnulib/lib/strptime.c tm->tm_gmtoff = (val * 3600) / 100; tm 719 maint/gnulib/lib/strptime.c tm->tm_gmtoff = -tm->tm_gmtoff; tm 802 maint/gnulib/lib/strptime.c tm->tm_year = val; tm 815 maint/gnulib/lib/strptime.c int delta = ((tm->tm_year - era->offset) tm 836 maint/gnulib/lib/strptime.c int delta = ((tm->tm_year - era->offset) tm 889 maint/gnulib/lib/strptime.c tm->tm_year = val - 1900; tm 966 maint/gnulib/lib/strptime.c tm->tm_mday = val; tm 974 maint/gnulib/lib/strptime.c tm->tm_hour = val; tm 981 maint/gnulib/lib/strptime.c tm->tm_hour = val % 12; tm 987 maint/gnulib/lib/strptime.c tm->tm_mon = val - 1; tm 994 maint/gnulib/lib/strptime.c tm->tm_min = val; tm 999 maint/gnulib/lib/strptime.c tm->tm_mon = (val - 1) * 3; tm 1000 maint/gnulib/lib/strptime.c tm->tm_mday = 1; tm 1008 maint/gnulib/lib/strptime.c tm->tm_sec = val; tm 1028 maint/gnulib/lib/strptime.c tm->tm_wday = val; tm 1034 maint/gnulib/lib/strptime.c tm->tm_year = val >= 69 ? val : val + 100; tm 1047 maint/gnulib/lib/strptime.c tm->tm_hour += 12; tm 1052 maint/gnulib/lib/strptime.c tm->tm_year = tm->tm_year % 100 + (century - 19) * 100; tm 1055 maint/gnulib/lib/strptime.c tm->tm_year = (century - 19) * 100; tm 1065 maint/gnulib/lib/strptime.c tm->tm_year = (era->start_date[0] tm 1066 maint/gnulib/lib/strptime.c + ((tm->tm_year - era->offset) tm 1070 maint/gnulib/lib/strptime.c tm->tm_year = era->start_date[0]; tm 1078 maint/gnulib/lib/strptime.c if (want_century && century == -1 && tm->tm_year < 69) tm 1079 maint/gnulib/lib/strptime.c tm->tm_year += 100; tm 1088 maint/gnulib/lib/strptime.c while (__mon_yday[__isleap(1900 + tm->tm_year)][t_mon] <= tm->tm_yday) tm 1091 maint/gnulib/lib/strptime.c tm->tm_mon = t_mon - 1; tm 1093 maint/gnulib/lib/strptime.c tm->tm_mday = tm 1094 maint/gnulib/lib/strptime.c (tm->tm_yday tm 1095 maint/gnulib/lib/strptime.c - __mon_yday[__isleap(1900 + tm->tm_year)][t_mon - 1] + 1); tm 1097 maint/gnulib/lib/strptime.c day_of_the_week (tm); tm 1101 maint/gnulib/lib/strptime.c day_of_the_year (tm); tm 1105 maint/gnulib/lib/strptime.c int save_wday = tm->tm_wday; tm 1106 maint/gnulib/lib/strptime.c int save_mday = tm->tm_mday; tm 1107 maint/gnulib/lib/strptime.c int save_mon = tm->tm_mon; tm 1110 maint/gnulib/lib/strptime.c tm->tm_mday = 1; tm 1111 maint/gnulib/lib/strptime.c tm->tm_mon = 0; tm 1112 maint/gnulib/lib/strptime.c day_of_the_week (tm); tm 1114 maint/gnulib/lib/strptime.c tm->tm_mday = save_mday; tm 1116 maint/gnulib/lib/strptime.c tm->tm_mon = save_mon; tm 1119 maint/gnulib/lib/strptime.c tm->tm_yday = ((7 - (tm->tm_wday - w_offset)) % 7 tm 1126 maint/gnulib/lib/strptime.c while (__mon_yday[__isleap(1900 + tm->tm_year)][t_mon] tm 1127 maint/gnulib/lib/strptime.c <= tm->tm_yday) tm 1130 maint/gnulib/lib/strptime.c tm->tm_mon = t_mon - 1; tm 1132 maint/gnulib/lib/strptime.c tm->tm_mday = tm 1133 maint/gnulib/lib/strptime.c (tm->tm_yday tm 1134 maint/gnulib/lib/strptime.c - __mon_yday[__isleap(1900 + tm->tm_year)][t_mon - 1] + 1); tm 1137 maint/gnulib/lib/strptime.c tm->tm_wday = save_wday; tm 1145 maint/gnulib/lib/strptime.c strptime (buf, format, tm LOCALE_PARAM) tm 1148 maint/gnulib/lib/strptime.c struct tm *restrict tm; tm 1158 maint/gnulib/lib/strptime.c return __strptime_internal (buf, format, tm, &decided, -1 LOCALE_ARG); tm 189 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); tm 190 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); tm 192 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); tm 208 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, tm 209 maint/gnulib/lib/time.in.h struct tm *restrict __result) tm 211 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, tm 212 maint/gnulib/lib/time.in.h struct tm *restrict __result)); tm 215 maint/gnulib/lib/time.in.h _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, tm 216 maint/gnulib/lib/time.in.h struct tm *restrict __result) tm 219 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, tm 220 maint/gnulib/lib/time.in.h struct tm *restrict __result)); tm 230 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, tm 231 maint/gnulib/lib/time.in.h struct tm *restrict __result) tm 233 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, tm 234 maint/gnulib/lib/time.in.h struct tm *restrict __result)); tm 237 maint/gnulib/lib/time.in.h _GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, tm 238 maint/gnulib/lib/time.in.h struct tm *restrict __result) tm 241 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, tm 242 maint/gnulib/lib/time.in.h struct tm *restrict __result)); tm 258 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer) tm 260 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer)); tm 262 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer)); tm 275 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (gmtime, struct tm *, (time_t const *__timer) tm 277 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (gmtime, struct tm *, (time_t const *__timer)); tm 279 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (gmtime, struct tm *, (time_t const *__timer)); tm 291 maint/gnulib/lib/time.in.h struct tm *restrict __tm) tm 296 maint/gnulib/lib/time.in.h struct tm *restrict __tm)); tm 327 maint/gnulib/lib/time.in.h const char *restrict __fmt, const struct tm *restrict __tp) tm 331 maint/gnulib/lib/time.in.h const char *restrict __fmt, const struct tm *restrict __tp)); tm 335 maint/gnulib/lib/time.in.h const char *restrict __fmt, const struct tm *restrict __tp)); tm 373 maint/gnulib/lib/time.in.h _GL_FUNCDECL_SYS (localtime_rz, struct tm *, tm 375 maint/gnulib/lib/time.in.h struct tm *restrict __result) _GL_ARG_NONNULL ((2, 3))); tm 376 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (localtime_rz, struct tm *, tm 378 maint/gnulib/lib/time.in.h struct tm *restrict __result)); tm 386 maint/gnulib/lib/time.in.h (timezone_t __tz, struct tm *restrict __tm) tm 389 maint/gnulib/lib/time.in.h (timezone_t __tz, struct tm *restrict __tm)); tm 406 maint/gnulib/lib/time.in.h _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); tm 407 maint/gnulib/lib/time.in.h _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm)); tm 410 maint/gnulib/lib/time.in.h _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); tm 412 maint/gnulib/lib/time.in.h _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm)); tm 24 maint/gnulib/lib/time_r.c static struct tm * tm 25 maint/gnulib/lib/time_r.c copy_tm_result (struct tm *dest, struct tm const *src) tm 34 maint/gnulib/lib/time_r.c struct tm * tm 35 maint/gnulib/lib/time_r.c gmtime_r (time_t const * restrict t, struct tm * restrict tp) tm 40 maint/gnulib/lib/time_r.c struct tm * tm 41 maint/gnulib/lib/time_r.c localtime_r (time_t const * restrict t, struct tm * restrict tp) tm 90 maint/gnulib/lib/time_rz.c save_abbr (timezone_t tz, struct tm *tm) tm 101 maint/gnulib/lib/time_rz.c zone = tm->tm_zone; tm 105 maint/gnulib/lib/time_rz.c if (! (zone && *zone) && 0 <= tm->tm_isdst) tm 107 maint/gnulib/lib/time_rz.c tzname_index = tm->tm_isdst != 0; tm 113 maint/gnulib/lib/time_rz.c if (!zone || ((char *) tm <= zone && zone < (char *) (tm + 1))) tm 149 maint/gnulib/lib/time_rz.c tm->tm_zone = zone_copy; tm 251 maint/gnulib/lib/time_rz.c struct tm * tm 252 maint/gnulib/lib/time_rz.c localtime_rz (timezone_t tz, time_t const *t, struct tm *tm) tm 270 maint/gnulib/lib/time_rz.c return gmtime_r (t, tm); tm 276 maint/gnulib/lib/time_rz.c bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); tm 278 maint/gnulib/lib/time_rz.c return tm; tm 286 maint/gnulib/lib/time_rz.c mktime_z (timezone_t tz, struct tm *tm) tm 289 maint/gnulib/lib/time_rz.c return timegm (tm); tm 295 maint/gnulib/lib/time_rz.c struct tm tm_1; tm 296 maint/gnulib/lib/time_rz.c tm_1.tm_sec = tm->tm_sec; tm 297 maint/gnulib/lib/time_rz.c tm_1.tm_min = tm->tm_min; tm 298 maint/gnulib/lib/time_rz.c tm_1.tm_hour = tm->tm_hour; tm 299 maint/gnulib/lib/time_rz.c tm_1.tm_mday = tm->tm_mday; tm 300 maint/gnulib/lib/time_rz.c tm_1.tm_mon = tm->tm_mon; tm 301 maint/gnulib/lib/time_rz.c tm_1.tm_year = tm->tm_year; tm 303 maint/gnulib/lib/time_rz.c tm_1.tm_isdst = tm->tm_isdst; tm 311 maint/gnulib/lib/time_rz.c *tm = tm_1; tm 30 maint/gnulib/lib/timegm.c __timegm64 (struct tm *tmp) tm 42 maint/gnulib/lib/timegm.c timegm (struct tm *tmp) tm 44 maint/gnulib/lib/timegm.c struct tm tm = *tmp; tm 45 maint/gnulib/lib/timegm.c __time64_t t = __timegm64 (&tm); tm 48 maint/gnulib/lib/timegm.c *tmp = tm; tm 1275 maint/gnulib/lib/wchar.in.h const struct tm *restrict __tp) tm 1280 maint/gnulib/lib/wchar.in.h const struct tm *restrict __tp)); tm 1286 maint/gnulib/lib/wchar.in.h const struct tm *restrict __tp) tm 1292 maint/gnulib/lib/wchar.in.h const struct tm *restrict __tp)); tm 29 maint/gnulib/lib/wcsftime.c rpl_wcsftime (wchar_t *buf, size_t bufsize, const wchar_t *format, const struct tm *tp) tm 35 maint/gnulib/tests/test-gettimeofday.c struct tm *lt; tm 36 maint/gnulib/tests/test-gettimeofday.c struct tm saved_lt; tm 41 maint/gnulib/tests/test-gettimeofday.c if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0) tm 64 maint/gnulib/tests/test-nstrftime.c struct tm *tm = gmtime (&t); tm 67 maint/gnulib/tests/test-nstrftime.c ASSERT (tm); tm 69 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, T[i].fmt, tm, 0, T[i].in_ns); tm 168 maint/gnulib/tests/test-nstrftime.c struct tm tm; tm 185 maint/gnulib/tests/test-nstrftime.c if (!localtime_rz (tz, <[i].t, &tm)) tm 193 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, format, &tm, tz, 0); tm 208 maint/gnulib/tests/test-nstrftime.c if (!LT[i].ahistorical || tm.tm_isdst) tm 230 maint/gnulib/tests/test-nstrftime.c struct tm qtm = { .tm_mon = mon - 1 }; tm 257 maint/gnulib/tests/test-nstrftime.c struct tm tm = { .tm_year = 2020 - 1900, .tm_mday = 1 }; tm 263 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, 0, "%m", &tm, 0, 0); tm 271 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, "", &tm, 0, 0); tm 279 maint/gnulib/tests/test-nstrftime.c tm.tm_year = bigyear; tm 281 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, "%s", &tm, 0, 0); tm 290 maint/gnulib/tests/test-nstrftime.c if (mktime_z (0, &tm) != (time_t) -1) tm 304 maint/gnulib/tests/test-nstrftime.c struct tm *tmp = gmtime (&bigtime); tm 75 maint/gnulib/tests/test-parse-datetime.c tm_diff (struct tm const *a, struct tm const *b) tm 102 maint/gnulib/tests/test-parse-datetime.c struct tm tm_local = *localtime (&s); tm 103 maint/gnulib/tests/test-parse-datetime.c struct tm tm_gmt = *gmtime (&s); tm 114 maint/gnulib/tests/test-posixtm.c struct tm *tm; tm 125 maint/gnulib/tests/test-posixtm.c tm = localtime (&t_now); tm 126 maint/gnulib/tests/test-posixtm.c ASSERT (tm); tm 127 maint/gnulib/tests/test-posixtm.c n_bytes = strftime (curr_year_str, sizeof curr_year_str, "%Y", tm); tm 41 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::mktime, time_t, (struct tm *)); tm 45 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime_r, struct tm *, tm 46 maint/gnulib/tests/test-time-c++.cc (time_t const *, struct tm *)); tm 48 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::gmtime_r, struct tm *, tm 49 maint/gnulib/tests/test-time-c++.cc (time_t const *, struct tm *)); tm 53 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime, struct tm *, (time_t const *)); tm 57 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::gmtime, struct tm *, (time_t const *)); tm 62 maint/gnulib/tests/test-time-c++.cc (char const *, char const *, struct tm *)); tm 71 maint/gnulib/tests/test-time-c++.cc (char *, size_t, const char *, const struct tm *)); tm 77 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime_rz, struct tm *, tm 78 maint/gnulib/tests/test-time-c++.cc (timezone_t, time_t const *, struct tm *)); tm 79 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::mktime_z, time_t, (timezone_t, struct tm *)); tm 83 maint/gnulib/tests/test-time-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::timegm, time_t, (struct tm *)); tm 221 maint/gnulib/tests/test-wchar-c++.cc (wchar_t *, size_t, const wchar_t *, const struct tm *));