Searched refs:seconds (Results 51 - 75 of 136) sorted by relevance

123456

/freebsd-11.0-release/usr.sbin/watchdogd/
H A Dwatchdogd.c206 * Convert a timeout in seconds to N where 2^N nanoseconds is close to
207 * "seconds".
321 "%d.%06ld seconds >= %d seconds threshold",
326 "%d.%06ld seconds >= %d seconds threshold",
483 " [--pretimeout seconds] [-pretimeout-action action]\n"
610 * If the number of usecs in the whole seconds part of the time
617 * Otherwise, if the number of ticks in the whole seconds part of
659 seconds_to_pow2ns(int seconds) argument
[all...]
/freebsd-11.0-release/contrib/xz/src/xz/
H A Dmessage.c393 uint32_t seconds = (uint32_t)(mseconds / 1000); local
396 if (seconds == 0 || seconds > ((9999 * 60) + 59) * 60 + 59)
399 uint32_t minutes = seconds / 60;
400 seconds %= 60;
407 hours, minutes, seconds);
410 minutes, seconds);
428 // - Only a few seconds has passed since we started (de)compressing,
434 // Calculate the estimate. Don't give an estimate of zero seconds,
446 // A maximum of 10 seconds remainin
[all...]
/freebsd-11.0-release/contrib/tzcode/zic/
H A Dzdump.c436 register long seconds; local
443 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
445 if (t > absolute_max_time - seconds) {
449 t += seconds;
452 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
453 if (t < absolute_min_time + seconds) {
457 t -= seconds;
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DTimer.cpp132 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0;
133 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0;
134 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0;
321 OS << format(" Total Execution Time: %5.4f seconds (%5.4f wall clock)\n",
/freebsd-11.0-release/contrib/amd/conf/nfs_prot/
H A Dnfs_prot_freebsd3.h119 #define nt_seconds seconds
/freebsd-11.0-release/share/examples/ipfw/
H A Dchange_rules.sh37 # If no answer is received in 30 seconds, the previous
125 seconds, the original rules will be restored.
/freebsd-11.0-release/tools/regression/sockets/sendfile/
H A Dsendfile.c88 static void setup_alarm(int seconds);
130 setup_alarm(int seconds) argument
134 (void)seconds;
135 itv.it_value.tv_sec = seconds;
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-ntp.c51 #define JAN_1970 2208988800U /* 1970 - 1900 in seconds */
137 #define PLUS_SEC 0x40 /* add a second (61 seconds) */
138 #define MINUS_SEC 0x80 /* minus a second (59 seconds) */
366 time_t seconds = i - JAN_1970; local
370 tm = localtime(&seconds);
/freebsd-11.0-release/crypto/openssl/crypto/ts/
H A Dts_rsp_sign.c135 /* Use the time function call that provides only seconds precision. */
197 ASN1_INTEGER_free(ctx->seconds);
291 ASN1_INTEGER_free(ctx->seconds); \
292 ctx->seconds = NULL; \
303 if (secs && (!(ctx->seconds = ASN1_INTEGER_new())
304 || !ASN1_INTEGER_set(ctx->seconds, secs)))
629 if ((ctx->seconds || ctx->millis || ctx->micros)
633 if (ctx->seconds && !TS_ACCURACY_set_seconds(accuracy, ctx->seconds))
964 * NOT include fractional seconds") an
[all...]
H A Dts.h136 seconds INTEGER OPTIONAL,
142 ASN1_INTEGER *seconds; member in struct:TS_accuracy_st
428 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds);
483 * This must return the seconds and microseconds since Jan 1, 1970 in the sec
505 ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ member in struct:TS_resp_ctx
508 unsigned clock_precision_digits; /* fraction of seconds in time stamp
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cc115 void SleepForSeconds(int seconds) { argument
116 sleep(seconds);
/freebsd-11.0-release/sys/dev/watchdog/
H A Dwatchdog.c68 static u_int wd_last_u_sysctl_secs; /* wd_last_u in seconds */
101 seconds_to_pow2ns(int seconds) argument
107 ns = ((uint64_t)seconds) * 1000000000ULL;
371 * Return the last timeout set, this is NOT the seconds from NOW until timeout,
372 * rather it is the amount of seconds passed to WDIOCPATPAT/WDIOC_SETTIMEOUT.
/freebsd-11.0-release/sys/fs/smbfs/
H A Dsmbfs_subr.h173 void smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds);
174 void smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp);
/freebsd-11.0-release/tests/sys/kqueue/
H A Dmain.c74 kevent_get_timeout(int kqfd, int seconds) argument
78 struct timespec timeout = {seconds, 0};
/freebsd-11.0-release/contrib/tzcode/stdtime/
H A Dlocaltime.c121 long tt_gmtoff; /* UTC offset in seconds */
755 ** Given a pointer into a time zone string, extract a number of seconds,
759 ** of seconds.
787 /* `SECSPERMIN' allows for leap seconds. */
1357 register time_t seconds; local
1362 seconds = sp->ats[0] - t;
1363 else seconds = t - sp->ats[sp->timecnt - 1];
1364 --seconds;
1365 tcycles = seconds / YEARSPERREPEAT / AVGSECSPERYEAR;
1370 seconds
1668 register long seconds; local
[all...]
/freebsd-11.0-release/usr.bin/quota/
H A Dquota.c85 static char *timeprt(int64_t seconds);
449 timeprt(int64_t seconds) argument
457 if (now > seconds) {
462 seconds -= now;
463 minutes = (seconds + 30) / 60;
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Dntp_timer.c79 u_long leapsec; /* seconds to next leap (proximity class) */
94 u_long current_time; /* seconds since startup */
210 * seconds from now and they continue on every 2**EVENT_TIMEOUT
211 * seconds.
237 * Set up timer interrupts for every 2**EVENT_TIMEOUT seconds
267 * timeout to fire in s seconds, if not reset earlier by a call to
276 u_int seconds /* 0 cancels */
285 if (0 == seconds) {
289 worker_idle_timer = current_time + seconds;
332 * than one packet every 16 seconds
[all...]
/freebsd-11.0-release/usr.sbin/rrenumd/
H A Dparser.y108 %type <num> lifetime days hours minutes seconds
591 | days hours minutes seconds
627 seconds: label
/freebsd-11.0-release/crypto/openssh/
H A Dmoduli.c416 logit("%.24s Sieved with %u small primes in %ld seconds",
514 fmt_time(time_t seconds) argument
519 min = (seconds / 60) % 60;
520 hr = (seconds / 60 / 60) % 24;
521 day = seconds / 60 / 60 / 24;
802 logit("%.24s Found %u safe primes of %u candidates in %ld seconds",
/freebsd-11.0-release/sbin/ifconfig/
H A Daf_inet6.c122 setip6pltime(const char *seconds, int dummy __unused, int s, argument
125 setip6lifetime("pltime", seconds, s, afp);
129 setip6vltime(const char *seconds, int dummy __unused, int s, argument
132 setip6lifetime("vltime", seconds, s, afp);
/freebsd-11.0-release/targets/
H A DMakefile155 elapsed_time= seconds=`expr ${now_utc} - ${start_utc}`
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Host/posix/
H A DPipePosix.cpp90 const auto dur_secs = duration_cast<seconds>(remaining_dur);
91 const auto dur_usecs = remaining_dur % seconds(1);
/freebsd-11.0-release/contrib/ntp/libntp/
H A Dwork_fork.c130 time_t seconds
135 sleep_remain = (u_int)seconds;
/freebsd-11.0-release/lib/libc/resolv/
H A Dres_send.c837 int resplen, seconds, n, s; local
931 seconds = (statp->retrans << tries);
933 seconds /= statp->nscount;
934 if (seconds <= 0)
935 seconds = 1;
937 timeout = evConsTime(seconds, 0);
/freebsd-11.0-release/usr.sbin/edquota/
H A Dedquota.c697 fprintf(fd, "Time units may be: days, hours, minutes, or seconds\n");
779 * Convert seconds to ASCII times.
805 * Convert ASCII input times to seconds.
808 cvtatos(uint64_t period, char *units, uint64_t *seconds) argument
812 *seconds = period;
814 *seconds = period * 60;
816 *seconds = period * 60 * 60;
818 *seconds = period * 24 * 60 * 60;
821 "days, hours, minutes, or seconds");

Completed in 142 milliseconds

123456