• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/tools/tzcode/

Lines Matching refs:zp

163 static void	outzone(const struct zone * zp, int ntzones);
176 const struct zone * zp, int ntzones);
865 register struct zone * zp;
900 zp = &zones[i];
901 zp->z_rules = NULL;
902 zp->z_nrules = 0;
910 zp = &zones[i];
911 if (strcmp(zp->z_rule, rp->r_name) != 0)
913 zp->z_rules = rp;
914 zp->z_nrules = out - base;
918 zp = &zones[i];
919 if (zp->z_nrules == 0) {
923 eat(zp->z_filename, zp->z_linenum);
924 zp->z_stdoff = gethms(zp->z_rule, _("unruly zone"),
930 if (strchr(zp->z_format, '%') != 0)
2018 register const struct zone * zp;
2026 zp = zpfirst + zonecount - 1;
2028 for (i = 0; i < zp->z_nrules; ++i) {
2029 rp = &zp->z_rules[i];
2049 for (i = 0; i < zp->z_nrules; ++i) {
2050 rp = &zp->z_rules[i];
2066 if (stdrp == NULL && zp->z_nrules != 0)
2069 doabbr(result, zp->z_format, abbrvar, FALSE, TRUE);
2070 if (stringoffset(end(result), -zp->z_gmtoff) != 0) {
2076 doabbr(end(result), zp->z_format, dstrp->r_abbrvar, TRUE, TRUE);
2079 -(zp->z_gmtoff + dstrp->r_stdoff)) != 0) {
2084 if (stringrule(result, dstrp, dstrp->r_stdoff, zp->z_gmtoff) != 0) {
2089 if (stringrule(result, stdrp, dstrp->r_stdoff, zp->z_gmtoff) != 0) {
2100 register const struct zone * zp;
2148 zp = &zpfirst[i];
2150 updateminmax(zp->z_untilrule.r_loyear);
2151 for (j = 0; j < zp->z_nrules; ++j) {
2152 rp = &zp->z_rules[j];
2193 zp = &zpfirst[i];
2194 usestart = i > 0 && (zp - 1)->z_untiltime > min_time;
2196 if (useuntil && zp->z_untiltime <= min_time)
2198 gmtoff = zp->z_gmtoff;
2199 eat(zp->z_filename, zp->z_linenum);
2201 startoff = zp->z_gmtoff;
2209 for (j=0; j<zp->z_nrules; ++j) {
2210 rp = &zp->z_rules[j];
2288 if (zp->z_nrules == 0) {
2289 stdoff = zp->z_stdoff;
2290 doabbr(startbuf, zp->z_format,
2292 type = addtype(oadd(zp->z_gmtoff, stdoff),
2294 zp->z_gmtoff, stdoff,
2304 if (useuntil && year > zp->z_untilrule.r_hiyear)
2310 for (j = 0; j < zp->z_nrules; ++j) {
2311 rp = &zp->z_rules[j];
2312 eats(zp->z_filename, zp->z_linenum,
2332 untiltime = zp->z_untiltime;
2333 if (!zp->z_untilrule.r_todisgmt)
2336 if (!zp->z_untilrule.r_todisstd)
2345 for (j = 0; j < zp->z_nrules; ++j) {
2346 rp = &zp->z_rules[j];
2349 eats(zp->z_filename, zp->z_linenum,
2366 rp = &zp->z_rules[k];
2375 startoff = oadd(zp->z_gmtoff,
2377 doabbr(startbuf, zp->z_format,
2384 startoff == oadd(zp->z_gmtoff,
2387 zp->z_format,
2409 zpfirst->z_name, zp->z_gmtoff,
2415 eats(zp->z_filename, zp->z_linenum,
2417 doabbr(ab, zp->z_format, rp->r_abbrvar,
2419 offset = oadd(zp->z_gmtoff, rp->r_stdoff);
2421 type = addtype(offset, zp->z_gmtoff, rp->r_stdoff,
2433 zp->z_format != NULL &&
2434 strchr(zp->z_format, '%') == NULL &&
2435 strchr(zp->z_format, '/') == NULL)
2436 (void) strcpy(startbuf, zp->z_format);
2437 eat(zp->z_filename, zp->z_linenum);
2443 zp->z_gmtoff, startoff - zp->z_gmtoff,
2445 startoff != zp->z_gmtoff,
2450 startoff != zp->z_gmtoff,
2459 startttisstd = zp->z_untilrule.r_todisstd;
2460 startttisgmt = zp->z_untilrule.r_todisgmt;
2461 starttime = zp->z_untiltime;