Lines Matching refs:zic_t
25 typedef int_fast64_t zic_t; typedef
26 static zic_t const
29 ZIC32_MIN = -1 - (zic_t) 0x7fffffff,
93 zic_t r_loyear; /* for example, 1986 */
94 zic_t r_hiyear; /* for example, 1986 */
104 zic_t r_tod; /* time from midnight */
108 zic_t r_save; /* offset from standard time */
112 zic_t r_temp; /* used in outzone */
129 zic_t z_stdoff;
135 zic_t z_save;
141 zic_t z_untiltime;
176 static void addtt(zic_t starttime, int type);
177 static int addtype(zic_t, char const *, bool, bool, bool);
178 static void leapadd(zic_t, int, int);
183 static zic_t gethms(const char * string, const char * errstring);
184 static zic_t getsave(char *, bool *);
198 static zic_t oadd(zic_t t1, zic_t t2);
200 static zic_t rpytime(const struct rule * rp, zic_t wantedy);
205 static zic_t tadd(zic_t t1, zic_t t2);
216 static zic_t leapminyear;
217 static zic_t leapmaxyear;
221 static zic_t max_year;
222 static zic_t min_year;
446 zic_t at;
450 static zic_t utoffs[TZ_MAX_TYPES];
456 static zic_t trans[TZ_MAX_LEAPS];
457 static zic_t corr[TZ_MAX_LEAPS];
896 static zic_t const min_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
897 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
901 static zic_t lo_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
902 static zic_t hi_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
905 static zic_t redundant_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
908 static zic_t leapexpires = -1;
993 if (TYPE_BIT(zic_t) < 64) { in main()
1731 static zic_t
1734 zic_t hh; in gethms()
1785 static zic_t
1789 zic_t save; in getsave()
1971 static zic_t
1976 register zic_t i, j; in getleapdatetime()
1977 zic_t year; in getleapdatetime()
1979 zic_t dayoff, tod; in getleapdatetime()
1980 zic_t t; in getleapdatetime()
2050 zic_t t = getleapdatetime(fields, false); in inleap()
2264 puttzcode(zic_t val, FILE *fp) in puttzcode()
2273 puttzcodepass(zic_t val, FILE *fp, int pass) in puttzcodepass()
2289 zic_t a = ap->at, b = bp->at; in atcomp()
2301 limitrange(struct timerange r, zic_t lo, zic_t hi, in limitrange()
2302 zic_t const *ats, unsigned char const *types) in limitrange()
2355 zic_t *ats = emalloc(align_to(size_product(timecnt + !timecnt, in writezone()
2357 alignof(zic_t))); in writezone()
2471 zic_t lo, thismin, thismax; in writezone()
2705 register zic_t todo; in writezone()
2752 abbroffset(char *buf, zic_t offset) in abbroffset()
2791 bool isdst, zic_t save, bool doquotes) in doabbr()
2829 updateminmax(const zic_t x) in updateminmax()
2838 stringoffset(char *result, zic_t offset) in stringoffset()
2869 stringrule(char *result, struct rule *const rp, zic_t save, zic_t stdoff) in stringrule()
2871 register zic_t tod = rp->r_tod; in stringrule()
3000 zic_t save = dstrp ? dstrp->r_save : zp->z_save; in stringzone()
3078 register zic_t starttime, untiltime; in outzone()
3091 zic_t max_year0; in outzone()
3210 zic_t save = 0; in outzone()
3214 zic_t stdoff = zp->z_stdoff; in outzone()
3215 zic_t startoff = stdoff; in outzone()
3216 zic_t prevktime; in outzone()
3235 zic_t year; in outzone()
3245 zic_t one = 1; in outzone()
3246 zic_t y2038_boundary = one << 31; in outzone()
3261 register zic_t jtime, ktime; in outzone()
3262 register zic_t offset; in outzone()
3444 addtt(zic_t starttime, int type) in addtt()
3454 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) in addtype()
3495 leapadd(zic_t t, int correction, int rolling) in leapadd()
3523 register zic_t last = 0; in adjleap()
3524 register zic_t prevtrans = 0; in adjleap()
3734 ATTRIBUTE_REPRODUCIBLE static zic_t
3735 oadd(zic_t t1, zic_t t2) in oadd()
3738 zic_t sum; in oadd()
3748 ATTRIBUTE_REPRODUCIBLE static zic_t
3749 tadd(zic_t t1, zic_t t2) in tadd()
3752 zic_t sum; in tadd()
3769 static zic_t
3770 rpytime(const struct rule *rp, zic_t wantedy) in rpytime()
3773 register zic_t dayoff; /* with a nod to Margaret O. */ in rpytime()
3774 register zic_t t, y; in rpytime()
3818 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime()
3842 t = (zic_t) dayoff * SECSPERDAY; in rpytime()