• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/zic.tproj/

Lines Matching refs:zp

117 static void	outzone P((const struct zone * zp, int ntzones));
721 register struct zone * zp;
756 zp = &zones[i];
757 zp->z_rules = NULL;
758 zp->z_nrules = 0;
766 zp = &zones[i];
767 if (strcmp(zp->z_rule, rp->r_name) != 0)
769 zp->z_rules = rp;
770 zp->z_nrules = out - base;
774 zp = &zones[i];
775 if (zp->z_nrules == 0) {
779 eat(zp->z_filename, zp->z_linenum);
780 zp->z_stdoff = gethms(zp->z_rule, _("unruly zone"),
786 if (strchr(zp->z_format, '%') != 0)
1563 register const struct zone * zp;
1596 zp = &zpfirst[i];
1597 usestart = i > 0 && (zp - 1)->z_untiltime > min_time;
1599 if (useuntil && zp->z_untiltime <= min_time)
1601 gmtoff = zp->z_gmtoff;
1602 eat(zp->z_filename, zp->z_linenum);
1604 startoff = zp->z_gmtoff;
1605 if (zp->z_nrules == 0) {
1606 stdoff = zp->z_stdoff;
1607 doabbr(startbuf, zp->z_format,
1609 type = addtype(oadd(zp->z_gmtoff, stdoff),
1618 if (useuntil && year > zp->z_untilrule.r_hiyear)
1624 for (j = 0; j < zp->z_nrules; ++j) {
1625 rp = &zp->z_rules[j];
1626 eats(zp->z_filename, zp->z_linenum,
1647 untiltime = zp->z_untiltime;
1648 if (!zp->z_untilrule.r_todisgmt)
1651 if (!zp->z_untilrule.r_todisstd)
1660 for (j = 0; j < zp->z_nrules; ++j) {
1661 rp = &zp->z_rules[j];
1664 eats(zp->z_filename, zp->z_linenum,
1681 rp = &zp->z_rules[k];
1690 startoff = oadd(zp->z_gmtoff,
1692 doabbr(startbuf, zp->z_format,
1698 startoff == oadd(zp->z_gmtoff,
1700 doabbr(startbuf, zp->z_format,
1705 eats(zp->z_filename, zp->z_linenum,
1707 doabbr(buf, zp->z_format, rp->r_abbrvar,
1709 offset = oadd(zp->z_gmtoff, rp->r_stdoff);
1717 zp->z_format != NULL &&
1718 strchr(zp->z_format, '%') == NULL &&
1719 strchr(zp->z_format, '/') == NULL)
1720 (void) strcpy(startbuf, zp->z_format);
1721 eat(zp->z_filename, zp->z_linenum);
1726 startoff != zp->z_gmtoff,
1734 startttisstd = zp->z_untilrule.r_todisstd;
1735 startttisgmt = zp->z_untilrule.r_todisgmt;
1736 starttime = zp->z_untiltime;