Home
last modified time | relevance | path

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

/openbsd/lib/libc/time/
H A Dlocaltime.c98 int leapcnt; member
385 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt); in tzload()
390 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS || in tzload()
402 sp->leapcnt * (stored + 4) + /* lsinfos */ in tzload()
433 for (i = 0; i < sp->leapcnt; ++i) { in tzload()
914 sp->leapcnt = 0; /* so, we're off a little */ in tzparse()
1179 lclptr->leapcnt = 0; /* so, we're off a little */ in tzset_basic()
1424 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
1956 i = sp->leapcnt; in leapcorr()
/openbsd/usr.sbin/zic/
H A Dzic.c154 static int leapcnt; variable
1406 j = leapcnt; in writezone()
1418 leapcnt32 = leapcnt; in writezone()
1466 thisleapcnt = leapcnt; in writezone()
2195 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) { in leapadd()
2199 for (i = 0; i < leapcnt; ++i) in leapadd()
2208 for (j = leapcnt; j > i; --j) { in leapadd()
2216 ++leapcnt; in leapadd()
2229 for (i = 0; i < leapcnt; ++i) { in adjleap()