Lines Matching defs:ts
581 struct state *ts;
584 ts = malloc(sizeof(*ts));
585 if (ts == NULL)
588 result = tzparse(&u->buf[1], ts, FALSE);
589 if (result == 0 && ts->typecnt == 2 &&
590 sp->charcnt + ts->charcnt <= TZ_MAX_CHARS) {
592 ts->ttis[i].tt_abbrind +=
594 for (i = 0; i < ts->charcnt; ++i)
596 ts->chars[i];
598 while (i < ts->timecnt &&
599 ts->ats[i] <=
602 while (i < ts->timecnt &&
605 ts->ats[i];
608 ts->types[i];
612 sp->ttis[sp->typecnt++] = ts->ttis[0];
613 sp->ttis[sp->typecnt++] = ts->ttis[1];
615 free(ts);