zic_t
if (TYPE_BIT(zic_t) < 64) {
zic_t r_loyear; /* for example, 1986 */
zic_t r_hiyear; /* for example, 1986 */
zic_t r_tod; /* time from midnight */
zic_t r_save; /* offset from standard time */
zic_t r_temp; /* used in outzone */
zic_t z_stdoff;
zic_t z_save;
zic_t z_untiltime;
static zic_t
zic_t hh;
static zic_t
zic_t save;
static void addtt(zic_t starttime, int type);
static int addtype(zic_t, char const *, bool, bool, bool);
static void leapadd(zic_t, int, int);
static zic_t gethms(const char * string, const char * errstring);
static zic_t getsave(char *, bool *);
static zic_t
register zic_t i, j;
zic_t year;
zic_t dayoff, tod;
zic_t t;
static zic_t oadd(zic_t t1, zic_t t2);
zic_t t = getleapdatetime(fields, false);
static zic_t rpytime(const struct rule * rp, zic_t wantedy);
static zic_t tadd(zic_t t1, zic_t t2);
static zic_t leapminyear;
static zic_t leapmaxyear;
puttzcode(zic_t val, FILE *fp)
static zic_t max_year;
puttzcodepass(zic_t val, FILE *fp, int pass)
static zic_t min_year;
zic_t a = ap->at, b = bp->at;
limitrange(struct timerange r, zic_t lo, zic_t hi,
zic_t const *ats, unsigned char const *types)
zic_t *ats = xmalloc(align_to(size_product(timecnt + !timecnt,
alignof(zic_t)));
zic_t lo, thismin, thismax;
register zic_t todo;
abbroffset(char *buf, zic_t offset)
bool isdst, zic_t save, bool doquotes)
updateminmax(const zic_t x)
stringoffset(char *result, zic_t offset)
stringrule(char *result, struct rule *const rp, zic_t save, zic_t stdoff)
register zic_t tod = rp->r_tod;
zic_t save = dstrp ? dstrp->r_save : zp->z_save;
register zic_t starttime, untiltime;
zic_t nonTZlimtime = ZIC_MIN;
zic_t max_year0;
zic_t save = 0;
zic_t stdoff = zp->z_stdoff;
zic_t startoff = stdoff;
zic_t year;
zic_t one = 1;
zic_t y2038_boundary = one << 31;
register zic_t jtime, ktime;
register zic_t offset;
zic_t keep_at_max;
zic_t TZstarttime = ZIC_MAX;
zic_t at = attypes[i].at;
addtt(zic_t starttime, int type)
addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut)
leapadd(zic_t t, int correction, int rolling)
register zic_t last = 0;
register zic_t prevtrans = 0;
ATTRIBUTE_PURE_114833 static zic_t
oadd(zic_t t1, zic_t t2)
zic_t sum;
ATTRIBUTE_PURE_114833 static zic_t
tadd(zic_t t1, zic_t t2)
zic_t sum;
static zic_t
rpytime(const struct rule *rp, zic_t wantedy)
register zic_t dayoff; /* with a nod to Margaret O. */
register zic_t t, y;
zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK)
t = (zic_t) dayoff * SECSPERDAY;
static zic_t const
ZIC32_MIN = -1 - (zic_t) 0x7fffffff,
zic_t at;
static zic_t utoffs[TZ_MAX_TYPES];
static zic_t trans[TZ_MAX_LEAPS];
static zic_t corr[TZ_MAX_LEAPS];
static zic_t const min_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
static zic_t lo_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
static zic_t hi_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
static zic_t redundant_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
static zic_t leapexpires = -1;