Lines Matching refs:zic_t

26 typedef int_fast64_t	zic_t;  typedef
27 static zic_t const
30 ZIC32_MIN = -1 - (zic_t) 0x7fffffff,
97 zic_t r_loyear; /* for example, 1986 */
98 zic_t r_hiyear; /* for example, 1986 */
107 zic_t r_tod; /* time from midnight */
111 zic_t r_save; /* offset from standard time */
115 zic_t r_temp; /* used in outzone */
132 zic_t z_stdoff;
138 zic_t z_save;
144 zic_t z_untiltime;
174 static void addtt(zic_t starttime, int type);
175 static int addtype(zic_t, char const *, bool, bool, bool);
176 static void leapadd(zic_t, int, int);
181 static zic_t gethms(const char * string, const char * errstring);
182 static zic_t getsave(char *, bool *);
196 static zic_t oadd(zic_t t1, zic_t t2);
198 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;
444 zic_t at;
448 static zic_t utoffs[TZ_MAX_TYPES];
454 static zic_t trans[TZ_MAX_LEAPS];
455 static zic_t corr[TZ_MAX_LEAPS];
894 static zic_t const min_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
895 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
899 static zic_t lo_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
900 static zic_t hi_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
904 static zic_t redundant_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
907 static zic_t leapexpires = -1;
998 if (TYPE_BIT(zic_t) < 64) { in main()
1812 static zic_t
1815 zic_t hh; in gethms()
1866 static zic_t
1870 zic_t save; in getsave()
2049 static zic_t
2054 register zic_t i, j; in getleapdatetime()
2055 zic_t year; in getleapdatetime()
2057 zic_t dayoff, tod; in getleapdatetime()
2058 zic_t t; in getleapdatetime()
2128 zic_t t = getleapdatetime(fields, false); in inleap()
2338 puttzcode(zic_t val, FILE *fp) in puttzcode()
2347 puttzcodepass(zic_t val, FILE *fp, int pass) in puttzcodepass()
2363 zic_t a = ap->at, b = bp->at; in atcomp()
2375 limitrange(struct timerange r, zic_t lo, zic_t hi, in limitrange()
2376 zic_t const *ats, unsigned char const *types) in limitrange()
2430 zic_t *ats = emalloc(align_to(size_product(timecnt + !timecnt, in writezone()
2432 alignof(zic_t))); in writezone()
2546 zic_t lo, thismin, thismax; in writezone()
2780 register zic_t todo; in writezone()
2838 abbroffset(char *buf, zic_t offset) in abbroffset()
2877 bool isdst, zic_t save, bool doquotes) in doabbr()
2915 updateminmax(const zic_t x) in updateminmax()
2924 stringoffset(char *result, zic_t offset) in stringoffset()
2955 stringrule(char *result, struct rule *const rp, zic_t save, zic_t stdoff) in stringrule()
2957 register zic_t tod = rp->r_tod; in stringrule()
3090 zic_t save = dstrp ? dstrp->r_save : zp->z_save; in stringzone()
3168 register zic_t starttime, untiltime; in outzone()
3179 zic_t nonTZlimtime = ZIC_MIN; in outzone()
3181 zic_t max_year0; in outzone()
3270 zic_t save = 0; in outzone()
3274 zic_t stdoff = zp->z_stdoff; in outzone()
3275 zic_t startoff = stdoff; in outzone()
3297 zic_t year; in outzone()
3307 zic_t one = 1; in outzone()
3308 zic_t y2038_boundary = one << 31; in outzone()
3323 register zic_t jtime, ktime; in outzone()
3324 register zic_t offset; in outzone()
3467 zic_t keep_at_max; in outzone()
3470 zic_t TZstarttime = ZIC_MAX; in outzone()
3472 zic_t at = attypes[i].at; in outzone()
3526 addtt(zic_t starttime, int type) in addtt()
3536 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) in addtype()
3577 leapadd(zic_t t, int correction, int rolling) in leapadd()
3605 register zic_t last = 0; in adjleap()
3606 register zic_t prevtrans = 0; in adjleap()
3816 ATTRIBUTE_PURE_114833 static zic_t
3817 oadd(zic_t t1, zic_t t2) in oadd()
3820 zic_t sum; in oadd()
3830 ATTRIBUTE_PURE_114833 static zic_t
3831 tadd(zic_t t1, zic_t t2) in tadd()
3834 zic_t sum; in tadd()
3851 static zic_t
3852 rpytime(const struct rule *rp, zic_t wantedy) in rpytime()
3855 register zic_t dayoff; /* with a nod to Margaret O. */ in rpytime()
3856 register zic_t t, y; in rpytime()
3900 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime()
3924 t = (zic_t) dayoff * SECSPERDAY; in rpytime()