Searched refs:ndays (Results 1 - 10 of 10) sorted by relevance
/freebsd-13-stable/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-13-stable/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-13-stable/lib/libcalendar/ |
H A D | calendar.c | 54 /* The last day of Julian calendar, in internal and ndays representation */ 69 jdate(int ndays, date *dt) argument 77 * year which does not begin after ndays. 79 idt.y = ndays / 365; 82 while ((r = ndaysji(&idt)) > ndays) 90 r = ndays - r; 133 gdate(int ndays, date *dt) argument 142 * starting after ndays. 144 idt.y = ndays / 365; 147 while ((r = ndaysgi(&idt)) > ndays) [all...] |
/freebsd-13-stable/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-13-stable/usr.bin/calendar/ |
H A D | locale.c | 68 struct fixs ndays[8]; /* short national days names */ variable in typeref:struct:fixs 90 if (ndays[i].name != NULL) 91 free(ndays[i].name); 92 if ((ndays[i].name = strdup(buf)) == NULL) 94 ndays[i].len = strlen(buf);
|
H A D | calendar.h | 152 extern struct fixs ndays[8]; /* short national days names */
|
H A D | parsedata.c | 927 if (ndays[i].len != 0 && ndays[i].name != NULL) 928 return (ndays[i].name); 947 for (i = 0; ndays[i].name != NULL; i++) { 948 n = ndays + i;
|
/freebsd-13-stable/usr.sbin/newsyslog/ |
H A D | ptimes.c | 94 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-13-stable/crypto/openssl/apps/ |
H A D | ocsp.c | 99 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...] |
/freebsd-13-stable/usr.bin/ncal/ |
H A D | ncal.c | 184 static date *sdater(int ndays, struct date * d); 185 static date *sdateb(int ndays, struct date * d);
|
Completed in 244 milliseconds