Home | History | Annotate | Download | only in tzcode

Lines Matching refs:ttisp

273 		register const struct ttinfo * const	ttisp = &sp->ttis[i];
275 tzname[ttisp->tt_isdst] = &sp->chars[ttisp->tt_abbrind];
278 register const struct ttinfo * const ttisp =
282 tzname[ttisp->tt_isdst] =
283 &sp->chars[ttisp->tt_abbrind];
285 if (ttisp->tt_isdst)
287 if (!ttisp->tt_isdst)
288 timezone = -(ttisp->tt_gmtoff);
291 if (ttisp->tt_isdst)
292 altzone = -(ttisp->tt_gmtoff);
306 register const struct ttinfo * const ttisp = &sp->ttis[i];
307 register char * cp = &sp->chars[ttisp->tt_abbrind];
449 register struct ttinfo * ttisp;
451 ttisp = &sp->ttis[i];
452 ttisp->tt_gmtoff = detzcode(p);
454 ttisp->tt_isdst = (unsigned char) *p++;
455 if (ttisp->tt_isdst != 0 && ttisp->tt_isdst != 1)
457 ttisp->tt_abbrind = (unsigned char) *p++;
458 if (ttisp->tt_abbrind < 0 ||
459 ttisp->tt_abbrind > sp->charcnt)
476 register struct ttinfo * ttisp;
478 ttisp = &sp->ttis[i];
480 ttisp->tt_ttisstd = FALSE;
482 ttisp->tt_ttisstd = *p++;
483 if (ttisp->tt_ttisstd != TRUE &&
484 ttisp->tt_ttisstd != FALSE)
489 register struct ttinfo * ttisp;
491 ttisp = &sp->ttis[i];
493 ttisp->tt_ttisgmt = FALSE;
495 ttisp->tt_ttisgmt = *p++;
496 if (ttisp->tt_ttisgmt != TRUE &&
497 ttisp->tt_ttisgmt != FALSE)
1260 register const struct ttinfo * ttisp;
1315 ttisp = &sp->ttis[i];
1319 ** t += ttisp->tt_gmtoff;
1322 result = timesub(&t, ttisp->tt_gmtoff, sp, tmp);
1323 tmp->tm_isdst = ttisp->tt_isdst;
1324 tzname[tmp->tm_isdst] = &sp->chars[ttisp->tt_abbrind];
1326 tmp->TM_ZONE = &sp->chars[ttisp->tt_abbrind];