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

/freebsd-10.1-release/crypto/openssh/openbsd-compat/
H A Dstrptime.c73 static int century, relyear; local
76 century = TM_YEAR_BASE;
218 case 'C': /* The century number. */
223 century = i * 100;
334 case 'y': /* The year within the century (2 digits). */
360 * last as we can get a century spec (%C) at any time.
363 if (century == TM_YEAR_BASE) {
369 tm->tm_year = relyear + century - TM_YEAR_BASE;
/freebsd-10.1-release/bin/date/
H A Ddate.c204 int century; local
240 century = 0;
245 century = 1;
248 if (century)
/freebsd-10.1-release/contrib/ntp/ntpd/
H A Drefclock_nmea.c142 * The GPS time can be used to get the full century for the truncated
234 u_short century_cache; /* cached current century */
369 /* - calculate min. base value for GPS epoch & century unfolding
774 * augments the missing bits. (century in dat, whole date, ...)
976 * date and time-of-day for the century fix, so we read
1713 * wrong assignment of the century can not happen between the years 1900
1731 u_short * century
1748 * successful one. (Or with the 19th century if the cached value
1752 for (loop = 5; loop > 0; loop--,(*century)++) {
1753 if (*century < 1
[all...]

Completed in 44 milliseconds