/freebsd-10.3-release/gnu/usr.bin/rcs/lib/ |
H A D | maketime.c | 103 /* Yield A - B, measured in seconds. */ 136 adjzone(t, seconds) 138 long seconds; 148 long sec = seconds + (t->tm_sec - leap_second); 189 * Posix 1003.1-1990 doesn't allow leap seconds, but some implementations 205 * combinations of leap seconds, time zone rule changes, and solar time. 234 * or tm may have members out of range (e.g. bad leap seconds).
|
/freebsd-10.3-release/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 206 * 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-10.3-release/contrib/xz/src/xz/ |
H A D | message.c | 393 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-10.3-release/contrib/tzcode/zic/ |
H A D | zdump.c | 436 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-10.3-release/contrib/llvm/lib/Support/ |
H A D | Timer.cpp | 141 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0; 142 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0; 143 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0; 334 OS << format(" Total Execution Time: %5.4f seconds (%5.4f wall clock)\n",
|
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zio_inject.c | 292 * of seconds nix the actual writing to disk. 310 * Positive duration implies # of seconds, negative 368 uint64_t seconds = 0; local 382 seconds = handler->zi_record.zi_timer; 388 return (seconds);
|
/freebsd-10.3-release/sbin/ifconfig/ |
H A D | af_inet6.c | 122 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-10.3-release/contrib/amd/conf/nfs_prot/ |
H A D | nfs_prot_freebsd3.h | 119 #define nt_seconds seconds
|
/freebsd-10.3-release/tests/sys/aio/ |
H A D | aio_test.c | 88 * Each test run specifies a timeout in seconds. Use the somewhat obsoleted 99 aio_timeout_start(int seconds) argument 105 alarm(seconds); 159 int write_fd, int buflen, int seconds, void (*cleanup)(void *), 175 ac->ac_seconds = seconds; 158 aio_context_init(struct aio_context *ac, int read_fd, int write_fd, int buflen, int seconds, void (*cleanup)(void *), void *cleanup_arg) argument
|
/freebsd-10.3-release/share/examples/ipfw/ |
H A D | change_rules.sh | 37 # If no answer is received in 30 seconds, the previous 125 seconds, the original rules will be restored.
|
/freebsd-10.3-release/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 88 static void setup_alarm(int seconds); 130 setup_alarm(int seconds) argument 134 (void)seconds; 135 itv.it_value.tv_sec = seconds;
|
/freebsd-10.3-release/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_sign.c | 135 /* Use the time function call that provides only seconds precision. */ 197 ASN1_INTEGER_free(ctx->seconds); 296 ASN1_INTEGER_free(ctx->seconds); \ 297 ctx->seconds = NULL; \ 308 if (secs && (!(ctx->seconds = ASN1_INTEGER_new()) 309 || !ASN1_INTEGER_set(ctx->seconds, secs))) 634 if ((ctx->seconds || ctx->millis || ctx->micros) 638 if (ctx->seconds && !TS_ACCURACY_set_seconds(accuracy, ctx->seconds)) 969 * NOT include fractional seconds") an [all...] |
/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-ntp.c | 244 time_t seconds = i - JAN_1970; local 248 tm = localtime(&seconds);
|
H A D | util.c | 225 * Print a relative number of seconds (e.g. hold time, prune timer) 226 * in the form 5m1s. This does no truncation, so 32230861 seconds 233 static const int seconds[] = {31536000, 604800, 86400, 3600, 60, 1}; local 235 const int *s = seconds;
|
/freebsd-10.3-release/sys/dev/watchdog/ |
H A D | watchdog.c | 68 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-10.3-release/sys/fs/smbfs/ |
H A D | smbfs_subr.h | 173 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-10.3-release/contrib/tzcode/stdtime/ |
H A D | localtime.c | 121 long tt_gmtoff; /* UTC offset in seconds */ 757 ** Given a pointer into a time zone string, extract a number of seconds, 761 ** of seconds. 789 /* `SECSPERMIN' allows for leap seconds. */ 1363 register time_t seconds; local 1368 seconds = sp->ats[0] - t; 1369 else seconds = t - sp->ats[sp->timecnt - 1]; 1370 --seconds; 1371 tcycles = seconds / YEARSPERREPEAT / AVGSECSPERYEAR; 1376 seconds 1682 register long seconds; local [all...] |
/freebsd-10.3-release/usr.bin/quota/ |
H A D | quota.c | 85 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-10.3-release/contrib/ntp/ntpd/ |
H A D | ntp_timer.c | 79 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-10.3-release/usr.sbin/rrenumd/ |
H A D | parser.y | 111 %type <num> lifetime days hours minutes seconds 594 | days hours minutes seconds 630 seconds: label
|
/freebsd-10.3-release/crypto/openssh/ |
H A D | moduli.c | 416 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-10.3-release/contrib/ntp/libntp/ |
H A D | work_fork.c | 130 time_t seconds 135 sleep_remain = (u_int)seconds;
|
/freebsd-10.3-release/lib/libc/resolv/ |
H A D | res_send.c | 841 int resplen, seconds, n, s; local 935 seconds = (statp->retrans << tries); 937 seconds /= statp->nscount; 938 if (seconds <= 0) 939 seconds = 1; 941 timeout = evConsTime(seconds, 0);
|
/freebsd-10.3-release/contrib/tzdata/ |
H A D | Makefile | 113 # seconds since the epoch (not counting leap seconds), use 116 # as seconds since the epoch (counting leap seconds), use 118 # below. If you want both sets of data available, with leap seconds not 121 # below. If you want both sets of data available, with leap seconds counted 124 # below. POSIX mandates that leap seconds not be counted; for compatibility 346 # For leap seconds, this Makefile uses LEAPSECONDS='-L leapseconds' in 347 # submake command lines. The default is no leap seconds. 484 LEAP_DEPS= leapseconds.awk leap-seconds [all...] |
/freebsd-10.3-release/usr.sbin/edquota/ |
H A D | edquota.c | 697 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");
|