Lines Matching refs:zic_t

39 typedef int_fast64_t	zic_t;  typedef
40 static zic_t const
43 ZIC32_MIN = -1 - (zic_t) 0x7fffffff,
110 zic_t r_loyear; /* for example, 1986 */
111 zic_t r_hiyear; /* for example, 1986 */
120 zic_t r_tod; /* time from midnight */
124 zic_t r_save; /* offset from standard time */
128 zic_t r_temp; /* used in outzone */
145 zic_t z_stdoff;
151 zic_t z_save;
157 zic_t z_untiltime;
187 static void addtt(zic_t starttime, int type);
188 static int addtype(zic_t, char const *, bool, bool, bool);
189 static void leapadd(zic_t, int, int);
194 static zic_t gethms(const char * string, const char * errstring);
195 static zic_t getsave(char *, bool *);
209 static zic_t oadd(zic_t t1, zic_t t2);
211 static zic_t rpytime(const struct rule * rp, zic_t wantedy);
216 static zic_t tadd(zic_t t1, zic_t t2);
227 static zic_t leapminyear;
228 static zic_t leapmaxyear;
232 static zic_t max_year;
233 static zic_t min_year;
455 zic_t at;
459 static zic_t utoffs[TZ_MAX_TYPES];
465 static zic_t trans[TZ_MAX_LEAPS];
466 static zic_t corr[TZ_MAX_LEAPS];
905 static zic_t const min_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
906 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
910 static zic_t lo_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
911 static zic_t hi_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
915 static zic_t redundant_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
918 static zic_t leapexpires = -1;
1003 if (TYPE_BIT(zic_t) < 64) { in main()
1785 static zic_t
1788 zic_t hh; in gethms()
1839 static zic_t
1843 zic_t save; in getsave()
2023 static zic_t
2028 register zic_t i, j; in getleapdatetime()
2029 zic_t year; in getleapdatetime()
2031 zic_t dayoff, tod; in getleapdatetime()
2032 zic_t t; in getleapdatetime()
2102 zic_t t = getleapdatetime(fields, false); in inleap()
2316 puttzcode(zic_t val, FILE *fp) in puttzcode()
2325 puttzcodepass(zic_t val, FILE *fp, int pass) in puttzcodepass()
2341 zic_t a = ap->at, b = bp->at; in atcomp()
2353 limitrange(struct timerange r, zic_t lo, zic_t hi, in limitrange()
2354 zic_t const *ats, unsigned char const *types) in limitrange()
2407 zic_t *ats = xmalloc(align_to(size_product(timecnt + !timecnt, in writezone()
2409 alignof(zic_t))); in writezone()
2523 zic_t lo, thismin, thismax; in writezone()
2757 register zic_t todo; in writezone()
2804 abbroffset(char *buf, zic_t offset) in abbroffset()
2843 bool isdst, zic_t save, bool doquotes) in doabbr()
2881 updateminmax(const zic_t x) in updateminmax()
2890 stringoffset(char *result, zic_t offset) in stringoffset()
2921 stringrule(char *result, struct rule *const rp, zic_t save, zic_t stdoff) in stringrule()
2923 register zic_t tod = rp->r_tod; in stringrule()
3056 zic_t save = dstrp ? dstrp->r_save : zp->z_save; in stringzone()
3134 register zic_t starttime, untiltime; in outzone()
3145 zic_t nonTZlimtime = ZIC_MIN; in outzone()
3147 zic_t max_year0; in outzone()
3236 zic_t save = 0; in outzone()
3240 zic_t stdoff = zp->z_stdoff; in outzone()
3241 zic_t startoff = stdoff; in outzone()
3263 zic_t year; in outzone()
3273 zic_t one = 1; in outzone()
3274 zic_t y2038_boundary = one << 31; in outzone()
3289 register zic_t jtime, ktime; in outzone()
3290 register zic_t offset; in outzone()
3433 zic_t keep_at_max; in outzone()
3436 zic_t TZstarttime = ZIC_MAX; in outzone()
3438 zic_t at = attypes[i].at; in outzone()
3492 addtt(zic_t starttime, int type) in addtt()
3502 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) in addtype()
3543 leapadd(zic_t t, int correction, int rolling) in leapadd()
3571 register zic_t last = 0; in adjleap()
3572 register zic_t prevtrans = 0; in adjleap()
3782 ATTRIBUTE_PURE_114833 static zic_t
3783 oadd(zic_t t1, zic_t t2) in oadd()
3786 zic_t sum; in oadd()
3796 ATTRIBUTE_PURE_114833 static zic_t
3797 tadd(zic_t t1, zic_t t2) in tadd()
3800 zic_t sum; in tadd()
3817 static zic_t
3818 rpytime(const struct rule *rp, zic_t wantedy) in rpytime()
3821 register zic_t dayoff; /* with a nod to Margaret O. */ in rpytime()
3822 register zic_t t, y; in rpytime()
3866 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime()
3890 t = (zic_t) dayoff * SECSPERDAY; in rpytime()