Home
last modified time | relevance | path

Searched refs:leapcnt (Results 1 – 2 of 2) sorted by relevance

/openbsd/lib/libc/time/
H A Dlocaltime.c99 int leapcnt; member
386 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt); in tzload()
391 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS || in tzload()
403 sp->leapcnt * (stored + 4) + /* lsinfos */ in tzload()
434 for (i = 0; i < sp->leapcnt; ++i) { in tzload()
915 sp->leapcnt = 0; /* so, we're off a little */ in tzparse()
1180 lclptr->leapcnt = 0; /* so, we're off a little */ in tzset_basic()
1425 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
1957 i = sp->leapcnt; in leapcorr()
/openbsd/usr.sbin/zic/
H A Dzic.c158 static int leapcnt; variable
1420 j = leapcnt; in writezone()
1432 leapcnt32 = leapcnt; in writezone()
1480 thisleapcnt = leapcnt; in writezone()
2248 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) { in leapadd()
2252 for (i = 0; i < leapcnt; ++i) in leapadd()
2261 for (j = leapcnt; j > i; --j) { in leapadd()
2269 ++leapcnt; in leapadd()
2282 for (i = 0; i < leapcnt; ++i) { in adjleap()