Lines Matching refs:statism

108 static struct state statism;  variable
486 if ((TZstring && TZstring[0] && Parse_TZ(TZstring, &statism) == 0) in tzset()
487 || IZTZ_GETLOCALETZINFO(&statism, generate_transitions) in tzset()
488 || Parse_TZ(gmt, &statism) == 0) { in tzset()
489 daylight = statism.typecnt > 1; in tzset()
490 dstfirst = daylight && statism.ttis[0].tt_isdst && !statism.ttis[1].tt_isdst; in tzset()
491 timezone = -statism.ttis[dstfirst].tt_gmtoff; in tzset()
492 tzname[0] = statism.chars + statism.ttis[dstfirst].tt_abbrind; in tzset()
493 tzname[1] = statism.chars + statism.ttis[!dstfirst].tt_abbrind; in tzset()
564 if (statism.timecnt == 0 || localwhen < statism.ats[0])
565 timetype = statism.ttis[0].tt_isdst && statism.typecnt > 1 &&
566 !statism.ttis[1].tt_isdst;
568 for (timetype = 1; timetype < statism.timecnt; ++timetype)
569 if (localwhen < statism.ats[timetype])
571 timetype = statism.types[timetype - 1];
573 localwhen += statism.ttis[timetype].tt_gmtoff;
575 ret->tm_isdst = statism.ttis[timetype].tt_isdst;
592 if (statism.typecnt <= 1) return FALSE;
599 univt = localt - statism.ttis[0].tt_gmtoff;
602 if (statism.timecnt == 0 || univt < statism.ats[0])
603 timetype = statism.ttis[0].tt_isdst && statism.typecnt > 1 &&
604 !statism.ttis[1].tt_isdst;
606 for (timetype = 1; timetype < statism.timecnt; ++timetype)
607 if (univt < statism.ats[timetype])
609 timetype = statism.types[timetype - 1];
611 if ((tzoffset_adj = localt - univt - statism.ttis[timetype].tt_gmtoff)
618 return (statism.ttis[timetype].tt_isdst);