Searched refs:leapcnt (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c352 int leapcnt; local
360 leapcnt = (int) detzcode(tzhp->tzh_leapcnt);
364 if (leapcnt < 0 || leapcnt > TZ_MAX_LEAPS ||
374 leapcnt * 2 * 4 +
406 p += (4 + 4) * leapcnt; /* skip leap seconds list */
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c279 int leapcnt; /* # leap sec trans */ member in struct:state
1501 sp->leapcnt = CVTZCODE(cp);
1509 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS ||
1523 sp->leapcnt * (4 + 4) + /* lsinfos */
1618 for (i = 0; i < sp->leapcnt; ++i) {
1694 (void) fprintf(stderr, "leapcnt: %d\n", sp->leapcnt);
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c142 static int leapcnt; variable
1544 convert(eitol(leapcnt), tzh.tzh_leapcnt);
1561 j = leapcnt;
1580 for (i = 0; i < leapcnt; ++i) {
1920 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) {
1924 for (i = 0; i < leapcnt; ++i)
1933 for (j = leapcnt; j > i; --j) {
1941 ++leapcnt;
1956 for (i = 0; i < leapcnt; ++i) {

Completed in 70 milliseconds