• Home
  • Raw
  • Download

Lines Matching refs:timecnt

103 	int		timecnt;  member
277 for (i = 0; i < sp->timecnt; ++i) { in settzname()
392 int timecnt; in tzload() local
397 sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt); in tzload()
403 sp->timecnt < 0 || sp->timecnt > TZ_MAX_TIMES || in tzload()
409 sp->timecnt * stored + /* ats */ in tzload()
410 sp->timecnt + /* types */ in tzload()
417 timecnt = 0; in tzload()
418 for (i = 0; i < sp->timecnt; ++i) { in tzload()
426 if (i && !timecnt && at != time_t_min) { in tzload()
433 sp->ats[timecnt++] = time_t_min; in tzload()
435 sp->ats[timecnt++] = at; in tzload()
439 timecnt = 0; in tzload()
440 for (i = 0; i < sp->timecnt; ++i) { in tzload()
445 sp->types[timecnt++] = typ; in tzload()
447 sp->timecnt = timecnt; in tzload()
532 while (i < ts.timecnt && in tzload()
534 sp->ats[sp->timecnt - 1]) in tzload()
536 while (i < ts.timecnt && in tzload()
537 sp->timecnt < TZ_MAX_TIMES) { in tzload()
538 sp->ats[sp->timecnt] = in tzload()
540 sp->types[sp->timecnt] = in tzload()
543 ++sp->timecnt; in tzload()
550 if (sp->timecnt > 1) { in tzload()
551 for (i = 1; i < sp->timecnt; ++i) in tzload()
557 for (i = sp->timecnt - 2; i >= 0; --i) in tzload()
558 if (typesequiv(sp, sp->types[sp->timecnt - 1], in tzload()
560 differ_by_repeat(sp->ats[sp->timecnt - 1], in tzload()
581 if (i < 0 && sp->timecnt > 0 && sp->ttis[sp->types[0]].tt_isdst) { in tzload()
990 register int timecnt; in tzparse() local
1014 timecnt = 0; in tzparse()
1035 if (TZ_MAX_TIMES - 2 < timecnt) in tzparse()
1038 sp->ats[timecnt] = janfirst; in tzparse()
1040 (&sp->ats[timecnt], starttime)) in tzparse()
1042 sp->types[timecnt++] = reversed; in tzparse()
1043 sp->ats[timecnt] = janfirst; in tzparse()
1045 (&sp->ats[timecnt], endtime)) in tzparse()
1047 sp->types[timecnt++] = !reversed; in tzparse()
1052 sp->timecnt = timecnt; in tzparse()
1053 if (!timecnt) in tzparse()
1069 for (i = 0; i < sp->timecnt; ++i) { in tzparse()
1078 for (i = 0; i < sp->timecnt; ++i) { in tzparse()
1095 for (i = 0; i < sp->timecnt; ++i) { in tzparse()
1144 sp->timecnt = 0; in tzparse()
1233 lclptr->timecnt = 0; in tzset()
1269 (sp->goahead && t > sp->ats[sp->timecnt - 1])) { in localsub()
1276 else seconds = t - sp->ats[sp->timecnt - 1]; in localsub()
1284 newt > sp->ats[sp->timecnt - 1]) in localsub()
1300 if (sp->timecnt == 0 || t < sp->ats[0]) { in localsub()
1304 register int hi = sp->timecnt; in localsub()
1904 for (i = sp->timecnt - 1; i >= 0; --i) in time1()