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

/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dcalyearstart.c27 u_int32 ndays; /* elapsed days since NTP starts */ local
33 ndays = ntpcal_rd_to_ystart(split.hi + DAY_NTP_STARTS)
36 return (u_int32)(ndays * SECSPERDAY);
46 u_int32 ndays; /* elapsed days since NTP starts */ local
52 ndays = ntpcal_rd_to_mstart(split.hi + DAY_NTP_STARTS)
55 return (u_int32)(ndays * SECSPERDAY);
65 u_int32 ndays; /* elapsed days since NTP starts */ local
71 ndays = ntpcal_weekday_le(split.hi + DAY_NTP_STARTS, CAL_MONDAY)
74 return (u_int32)(ndays * SECSPERDAY);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dtimegm.c47 static const unsigned ndays[2][12] ={ variable
73 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
86 res += ndays[is_leap(tm->tm_year)][i];
129 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dtimegm.c55 static const unsigned ndays[2][12] ={ local
65 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
78 res += ndays[is_leap(tm->tm_year)][i];
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Docsp.c99 int nmin, int ndays, int badsig);
212 {"ndays", OPT_NDAYS, 'p', "Number of days before next update"},
257 int vpmtouched = 0, badsig = 0, i, ignore_err = 0, nmin = 0, ndays = -1; local
460 if (ndays == -1)
461 ndays = 0;
467 ndays = atoi(opt_arg());
684 rsign_md, rsign_sigopts, rother, rflags, nmin, ndays, badsig);
1138 int nmin, int ndays, int badsig)
1157 if (ndays != -1)
1158 nextupd = X509_time_adj_ex(NULL, ndays, nmi
1133 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) argument
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Docsp.c74 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...]

Completed in 96 milliseconds