Lines Matching refs:zic_t
36 typedef int_fast64_t zic_t; typedef
78 zic_t r_loyear; /* for example, 1986 */
79 zic_t r_hiyear; /* for example, 1986 */
90 zic_t r_tod; /* time from midnight */
95 zic_t r_stdoff; /* offset from standard time */
99 zic_t r_temp; /* used in outzone */
115 zic_t z_gmtoff;
119 zic_t z_stdoff;
125 zic_t z_untiltime;
141 static void addtt(zic_t starttime, int type);
143 static int addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff,
147 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
150 static void leapadd(zic_t t, int positive, int rolling, int count);
155 static zic_t gethms(const char * string, const char * errstrng,
168 static zic_t oadd(zic_t t1, zic_t t2);
170 static zic_t rpytime(const struct rule * rp, zic_t wantedy);
175 static zic_t tadd(zic_t t1, zic_t t2);
191 static zic_t leapminyear;
192 static zic_t leapmaxyear;
196 static zic_t max_year;
197 static zic_t min_year;
398 zic_t at;
401 static zic_t gmtoffs[TZ_MAX_TYPES];
404 static zic_t rawoffs[TZ_MAX_TYPES];
405 static zic_t dstoffs[TZ_MAX_TYPES];
412 static zic_t trans[TZ_MAX_LEAPS];
413 static zic_t corr[TZ_MAX_LEAPS];
627 if (TYPE_BIT(zic_t) < 64) { in main()
866 static const zic_t min_time = (zic_t) -1 << (TIME_T_BITS_IN_FILE - 1);
867 static const zic_t max_time = -1 - ((zic_t) -1 << (TIME_T_BITS_IN_FILE - 1));
1075 static zic_t
1078 zic_t hh; in gethms()
1270 zic_t year; in inleap()
1272 zic_t dayoff, tod; in inleap()
1273 zic_t t; in inleap()
1322 if (dayoff < 0 && !TYPE_SIGNED(zic_t)) { in inleap()
1334 t = (zic_t) dayoff * SECSPERDAY; in inleap()
1554 convert64(const zic_t val, char *const buf) in convert64()
1574 puttzcode64(const zic_t val, FILE *const fp) in puttzcode64()
1585 const zic_t a = ((const struct attype *) avp)->at; in atcomp()
1586 const zic_t b = ((const struct attype *) bvp)->at; in atcomp()
1592 is32(const zic_t x) in is32()
1608 zic_t *ats = emalloc(size_product(timecnt, sizeof *ats + 1)); in writezone()
1905 register zic_t todo; in writezone()
1982 updateminmax(const zic_t x) in updateminmax()
1991 stringoffset(char *result, zic_t offset) in stringoffset()
2021 stringrule(char *result, const struct rule *const rp, const zic_t dstoff, in stringrule()
2022 const zic_t gmtoff) in stringrule()
2024 register zic_t tod = rp->r_tod; in stringrule()
2223 register zic_t starttime, untiltime; in outzone()
2224 register zic_t gmtoff; in outzone()
2225 register zic_t stdoff; in outzone()
2226 register zic_t year; in outzone()
2227 register zic_t startoff; in outzone()
2488 register zic_t jtime, ktime; in outzone()
2489 register zic_t offset; in outzone()
2679 addtt(const zic_t starttime, int type) in addtt()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isd… in addtype()
2710 addtype(const zic_t gmtoff, const char *const abbr, const int isdst, in addtype()
2784 leapadd(const zic_t t, const int positive, const int rolling, int count) in leapadd()
2817 register zic_t last = 0; in adjleap()
2951 static ATTRIBUTE_PURE zic_t
2952 oadd(const zic_t t1, const zic_t t2) in oadd()
2961 static ATTRIBUTE_PURE zic_t
2962 tadd(const zic_t t1, const zic_t t2) in tadd()
2980 static zic_t
2981 rpytime(register const struct rule *const rp, register const zic_t wantedy) in rpytime()
2984 register zic_t dayoff; /* with a nod to Margaret O. */ in rpytime()
2985 register zic_t t, y; in rpytime()
3021 register zic_t wday; in rpytime()
3023 #define LDAYSPERWEEK ((zic_t) DAYSPERWEEK) in rpytime()
3057 t = (zic_t) dayoff * SECSPERDAY; in rpytime()