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

/freebsd-10-stable/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-10-stable/crypto/heimdal/lib/roken/
H A Dtimegm.c53 static const unsigned ndays[2][12] ={ local
63 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
76 res += ndays[is_leap(tm->tm_year)][i];
/freebsd-10-stable/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-10-stable/crypto/heimdal/lib/asn1/
H A Dtimegm.c45 static const unsigned ndays[2][12] ={ variable
71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
84 res += ndays[is_leap(tm->tm_year)][i];
127 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
/freebsd-10-stable/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.c920 if (ndays[i].len != 0 && ndays[i].name != NULL)
921 return (ndays[i].name);
940 for (i = 0; ndays[i].name != NULL; i++) {
941 n = ndays + i;
/freebsd-10-stable/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-10-stable/crypto/openssl/apps/
H A Docsp.c114 unsigned long flags, int nmin, int ndays);
172 int nmin = 0, ndays = -1; local
426 if (ndays == -1)
427 ndays = 0;
440 } else if (!strcmp(*args, "-ndays")) {
443 ndays = atol(*args);
444 if (ndays < 0) {
561 "-ndays n number of days before next update\n");
709 rother, rflags, nmin, ndays);
988 unsigned long flags, int nmin, int ndays)
985 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-10-stable/usr.bin/ncal/
H A Dncal.c183 static date *sdater(int ndays, struct date * d);
184 static date *sdateb(int ndays, struct date * d);

Completed in 81 milliseconds