Searched refs:ndays (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/contrib/ntp/libntp/
H A Dcalyearstart.c25 u_int32 ndays; /* elapsed days since NTP starts */ local
31 ndays = ntpcal_rd_to_ystart(split.hi + DAY_NTP_STARTS)
34 return (u_int32)(ndays * SECSPERDAY);
44 u_int32 ndays; /* elapsed days since NTP starts */ local
50 ndays = ntpcal_rd_to_mstart(split.hi + DAY_NTP_STARTS)
53 return (u_int32)(ndays * SECSPERDAY);
63 u_int32 ndays; /* elapsed days since NTP starts */ local
69 ndays = ntpcal_weekday_le(split.hi + DAY_NTP_STARTS, CAL_MONDAY)
72 return (u_int32)(ndays * SECSPERDAY);
/freebsd-9.3-release/crypto/heimdal/lib/asn1/
H A Dtimegm.c54 static const unsigned ndays[2][12] ={ local
64 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
77 res += ndays[is_leap(tm->tm_year)][i];
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dtimegm.c56 static const unsigned ndays[2][12] ={ local
66 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
79 res += ndays[is_leap(tm->tm_year)][i];
/freebsd-9.3-release/lib/libcalendar/
H A Dcalendar.c52 /* The last day of Julian calendar, in internal and ndays representation */
67 jdate(int ndays, date *dt) argument
75 * year which does not begin after ndays.
77 idt.y = ndays / 365;
80 while ((r = ndaysji(&idt)) > ndays)
88 r = ndays - r;
131 gdate(int ndays, date *dt) argument
140 * starting after ndays.
142 idt.y = ndays / 365;
145 while ((r = ndaysgi(&idt)) > ndays)
[all...]
/freebsd-9.3-release/usr.bin/calendar/
H A Dlocale.c66 struct fixs ndays[8]; /* short national days names */ variable in typeref:struct:fixs
88 if (ndays[i].name != NULL)
89 free(ndays[i].name);
90 if ((ndays[i].name = strdup(buf)) == NULL)
92 ndays[i].len = strlen(buf);
H A Dcalendar.h148 extern struct fixs ndays[8]; /* short national days names */
H A Dparsedata.c874 if (ndays[i].len != 0 && ndays[i].name != NULL)
875 return (ndays[i].name);
894 for (i = 0; ndays[i].name != NULL; i++) {
895 n = ndays + i;
/freebsd-9.3-release/usr.sbin/newsyslog/
H A Dptimes.c94 int ndays; local
96 ndays = mtab[month];
112 ndays++; /* not multiple of 100 */
114 ndays++; /* is multiple of 100 and 400 */
117 return (ndays);
/freebsd-9.3-release/crypto/openssl/apps/
H A Docsp.c84 unsigned long flags, int nmin, int ndays);
140 int nmin = 0, ndays = -1; local
382 if (ndays == -1)
383 ndays = 0;
396 } else if (!strcmp(*args, "-ndays")) {
399 ndays = atol(*args);
400 if (ndays < 0) {
511 "-ndays n number of days before next update\n");
654 rother, rflags, nmin, ndays);
928 unsigned long flags, int nmin, int ndays)
925 make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db, X509 *ca, X509 *rcert, EVP_PKEY *rkey, STACK_OF(X509) *rother, unsigned long flags, int nmin, int ndays) argument
[all...]
/freebsd-9.3-release/usr.bin/ncal/
H A Dncal.c181 date *sdater(int ndays, struct date * d);
182 date *sdateb(int ndays, struct date * d);

Completed in 215 milliseconds