Searched refs:days (Results 26 - 50 of 62) sorted by relevance

123

/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-control-setup.sh.in145 -days "$DAYS" \
188 -days "$DAYS" \
/freebsd-11-stable/sys/dev/ips/
H A Dips_commands.c409 long days, rem, y; local
417 days = sctime / IPS_SECSPERDAY;
427 while (days < 0 || days >= (long) year_lengths[yleap = ips_isleap(y)]) {
430 newy = y + days / IPS_DAYSPERNYEAR;
431 if (days < 0)
433 days -= (newy - y) * IPS_DAYSPERNYEAR +
441 for(month = 0; days >= (long) ip[month]; ++month)
442 days = days
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_calendar.c368 * and full days before a date: 1970-01-01 would be (1969, 0, 0) in
377 * (day number). This is the number of days elapsed since 0000-12-31
670 * Split a 64bit seconds value into elapsed days in 'res.hi' and
828 * Split a 32bit seconds value into h/m/s and excessive days. This
865 * Given the number of elapsed days in the calendar era, split this
867 * of elapsed days of that year in 'res.lo'.
875 int32_t days,
891 * We want to execute '(days * 4 + 3) /% 146097' under floor
893 * calculate 'floor((days + 0.75) / 36524.25)', but we want to
900 ud64 = ((uint64_t)days <<
874 ntpcal_split_eradays( int32_t days, int *isleapyear ) argument
1069 int32_t days; local
1092 int32_t days; local
1229 ntpcal_dayjoin( int32_t days, int32_t secs ) argument
1588 int32_t days, secs; local
1965 int32_t weeks, days, secs; local
[all...]
/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_node.c225 int crtime, days; local
248 days = 367*(y-1980)-7*(y+(m+9)/12)/4-3*((y+(m-9)/7)/100+1)/4+275*m/9+d-100;
254 days = 367*(y-1960)-7*(y+(m+9)/12)/4-3*((y+(m+9)/12-1)/100+1)/4+275*m/9+d-239;
256 crtime = ((((days * 24) + hour) * 60 + minute) * 60) + second;
/freebsd-11-stable/usr.bin/time/
H A Dtime.c240 long days, hrs, mins; local
242 days = sec / (60L * 60 * 24);
250 if (days)
251 fprintf(out, "%ldd", days);
/freebsd-11-stable/usr.bin/ruptime/
H A Druptime.c126 int days, hours, minutes; local
136 days = hours / 24;
138 if (days)
140 "%s %4d+%02d:%02d", updown, days, hours, minutes);
/freebsd-11-stable/usr.bin/w/
H A Dw.c465 int days, hrs, i, mins, secs; local
483 days = uptime / 86400;
491 xo_emit("{e:days/%d}{e:hours/%d}{e:minutes/%d}{e:seconds/%d}", days, hrs, mins, secs);
493 if (days > 0)
495 days, days > 1 ? "s" : "");
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestdate.c121 static const char *const days[7]= local
128 sprintf(ts, "%s, %.2d %s %d %.2d:%.2d:%.2d GMT", days[tms->tm_wday],
/freebsd-11-stable/usr.sbin/pw/
H A Dpsdate.c76 static char const *days[] = local
79 return aindex(days, str, 3);
158 * +nnnn[smhdwoy] Given time + nnnn hours, mins, days, weeks, months or years
159 * -nnnn[smhdwoy] Given time - nnnn hours, mins, days, weeks, months or years
197 case 'D': /* days */
/freebsd-11-stable/contrib/tnftp/src/
H A Dprogressbar.c339 int days; local
341 days = remaining / SECSPERDAY;
344 "%d day%s ", days, days == 1 ? "" : "s");
/freebsd-11-stable/usr.bin/rusers/
H A Drusers.c103 int days, hours, minutes, seconds; local
135 days = seconds / (60 * 60 * 24);
147 sprintf(idle_time, "%d days, %d:%02d:%02d",
148 days, hours, minutes, seconds);
/freebsd-11-stable/crypto/openssl/apps/
H A Dx509.c130 " -days arg - How long till expiry of a signed certificate - def 30 days\n",
160 static int sign(X509 *x, EVP_PKEY *pkey, int days, int clrext,
165 int create, int days, int clrext, CONF *conf,
205 int x509req = 0, days = DEF_DAYS, modulus = 0, pubkey = 0; local
293 else if (strcmp(*argv, "-days") == 0) {
296 days = atoi(*(++argv));
297 if (days == 0) {
298 BIO_printf(bio_err, "bad number of days\n");
646 X509_time_adj_ex(X509_get_notAfter(x), days, local
1092 x509_certify(X509_STORE *ctx, char *CAfile, const EVP_MD *digest, X509 *x, X509 *xca, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *sigopts, char *serialfile, int create, int days, int clrext, CONF *conf, char *section, ASN1_INTEGER *sno) argument
1214 sign(X509 *x, EVP_PKEY *pkey, int days, int clrext, const EVP_MD *digest, CONF *conf, char *section) argument
[all...]
H A Dca.c149 " -crldays days - Days is when the next CRL is due\n",
152 " -enddate YYMMDDHHMMSSZ - certificate validity notAfter (overrides -days)\n",
153 " -days arg - number of days to certify the certificate for\n",
198 long days, int batch, char *ext_sect, CONF *conf,
206 char *enddate, long days, int batch, char *ext_sect,
216 char *enddate, long days, char *ext_sect, CONF *conf,
225 int email_dn, char *startdate, char *enddate, long days,
294 long days = 0; local
376 } else if (strcmp(*argv, "-days")
1498 certify(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn, int email_dn, char *startdate, char *enddate, long days, int batch, char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, int selfsign) argument
1568 certify_cert(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn, int email_dn, char *startdate, char *enddate, long days, int batch, char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, ENGINE *e) argument
1625 do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn, int email_dn, char *startdate, char *enddate, long days, int batch, int verbose, X509_REQ *req, char *ext_sect, CONF *lconf, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, int selfsign) argument
1870 X509_time_adj_ex(X509_get_notAfter(ret), days, 0, NULL); local
2207 certify_spkac(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn, int email_dn, char *startdate, char *enddate, long days, char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_fattime.c83 /* End of month is N days from start of (normal) year */
102 uint16_t days; /* month start in days relative to cycle */ member in struct:__anon8031
179 while (m < 47 && mtab[m + 1].days <= t2)
186 t2 -= mtab[m].days - 1;
194 * from the FAT timestamp, returning number of days into 4 year long
/freebsd-11-stable/usr.bin/calendar/
H A Dcalendar.h141 extern const char *days[];
146 extern struct fixs fndays[8]; /* full national days names */
148 extern struct fixs ndays[8]; /* short national days names */
H A Dlocale.c47 const char *days[] = { variable
65 struct fixs fndays[8]; /* full national days names */
66 struct fixs ndays[8]; /* short national days names */
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_calgps.h47 uint32_t days; /* since NTP epoch */ member in struct:ntpdatum
/freebsd-11-stable/etc/rc.d/
H A Dsendmail131 -keyout cakey.pem -out cacert.pem -days 3650 \
136 -out newreq.pem -days 365 -config openssl.cnf \
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_bypass.c647 u32 mon, days, hours, min, sec; local
669 days = time / SEC_PER_DAY;
670 for (i = 11; days < day_mon[LEAP_YR(year)][i]; i--)
674 days = (time / SEC_PER_DAY) + 1; /* first day is 1 */
682 mon, days, hours, min, sec, event_str[event],
/freebsd-11-stable/contrib/diff/lib/
H A Dstrftime.c278 /* Compute intervening leap days correctly even if year is negative.
289 int days = (365 * years + intervening_leap_days local
291 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))
299 /* The number of days from the first day of the first ISO week of this
1119 int days = iso_week_days (tp->tm_yday, tp->tm_wday); local
1121 if (days < 0)
1125 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)),
1136 days = d;
1149 DO_NUMBER (2, days / 7 + 1);
/freebsd-11-stable/usr.sbin/rrenumd/
H A Dparser.y108 %type <num> lifetime days hours minutes seconds
591 | days hours minutes seconds
603 days: label
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_tsyncpci.c147 unsigned short days; member in struct:TimeObj
615 TimeContext.timeObj.days, TimeContext.timeObj.hours,
619 pp->day = TimeContext.timeObj.days;
658 (leapSec.utcDate.doy == (unsigned int)TimeContext.timeObj.days))
824 // Convert days, hours, minutes and seconds
887 // Calculate the day of year as the number of days left, then add 1
/freebsd-11-stable/contrib/top/
H A Ddisplay.c1430 int days, hrs, mins, secs; local
1434 days = uptime / 86400;
1447 Move_to((screen_width - 24) - (days > 9 ? 1 : 0), 0);
1453 printf(" up %d+%02d:%02d:%02d", days, hrs, mins, secs);
/freebsd-11-stable/usr.sbin/rwhod/
H A Drwhod.c761 int days, hours, minutes; local
770 days = hours / 24;
772 if (days > 0) {
774 updown, days, hours, minutes);
/freebsd-11-stable/sbin/ifconfig/
H A Daf_inet6.c390 int days, hours, mins, secs; local
395 days = total / 3600 / 24;
400 if (days) {
402 p += sprintf(p, "%dd", days);

Completed in 268 milliseconds

123