/freebsd-current/contrib/ntp/libntp/ |
H A D | calyearstart.c | 25 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-current/crypto/heimdal/lib/roken/ |
H A D | timegm.c | 53 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-current/lib/libcalendar/ |
H A D | calendar.c | 52 /* 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-current/crypto/openssh/openbsd-compat/ |
H A D | bsd-timegm.c | 52 static const unsigned ndays[2][12] ={ local 72 res += ndays[is_leap(tm->tm_year)][i];
|
/freebsd-current/crypto/heimdal/lib/asn1/ |
H A D | timegm.c | 45 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-current/contrib/bsddialog/lib/ |
H A D | datebox.c | 129 int ndays; local 131 ndays = month_days(*yy, *mm); 143 ndays = month_days(*yy, *mm); 144 *dd = ndays - abs(7 - *dd); 148 if (*dd + 7 < ndays) 156 *dd = *dd + 7 - ndays; 172 if (*dd < ndays) 189 ndays = month_days(*yy, *mm); 190 if (*dd > ndays) 191 *dd = ndays; 261 int ndays, i, y, x, wd, h, w; local [all...] |
/freebsd-current/usr.bin/calendar/ |
H A D | locale.c | 66 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 D | calendar.h | 150 extern struct fixs ndays[8]; /* short national days names */
|
H A D | parsedata.c | 925 if (ndays[i].len != 0 && ndays[i].name != NULL) 926 return (ndays[i].name); 945 for (i = 0; ndays[i].name != NULL; i++) { 946 n = ndays + i;
|
/freebsd-current/usr.sbin/newsyslog/ |
H A D | ptimes.c | 92 int ndays; local 94 ndays = mtab[month]; 110 ndays++; /* not multiple of 100 */ 112 ndays++; /* is multiple of 100 and 400 */ 115 return (ndays);
|
/freebsd-current/crypto/openssl/apps/ |
H A D | ocsp.c | 74 int nmin, int ndays, int badsig, 148 {"ndays", OPT_NDAYS, 'p', "Number of days before next update"}, 252 int vpmtouched = 0, badsig = 0, i, ignore_err = 0, nmin = 0, ndays = -1; local 468 if (ndays == -1) 469 ndays = 0; 475 ndays = atoi(opt_arg()); 725 rsign_md, rsign_sigopts, rother, rflags, nmin, ndays, 1033 int nmin, int ndays, int badsig, 1053 if (ndays != -1) 1054 nextupd = X509_time_adj_ex(NULL, ndays, nmi 1028 make_ocsp_response(BIO *err, OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db, STACK_OF(X509) *ca, X509 *rcert, EVP_PKEY *rkey, const EVP_MD *rmd, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(X509) *rother, unsigned long flags, int nmin, int ndays, int badsig, const EVP_MD *resp_md) argument [all...] |
/freebsd-current/usr.bin/ncal/ |
H A D | ncal.c | 182 static date *sdater(int ndays, struct date * d); 183 static date *sdateb(int ndays, struct date * d);
|