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

12345

/freebsd-9.3-release/tools/regression/aio/aiotest/
H A Daiotest.c104 * Each test run specifies a timeout in seconds. Use the somewhat obsoleted
115 aio_timeout_start(const char *string1, const char *string2, int seconds) argument
122 alarm(seconds);
177 int write_fd, int buflen, int seconds, void (*cleanup)(void *),
195 ac->ac_seconds = seconds;
176 aio_context_init(struct aio_context *ac, const char *test, int read_fd, int write_fd, int buflen, int seconds, void (*cleanup)(void *), void *cleanup_arg) argument
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-ntp.c244 time_t seconds = i - JAN_1970; local
248 tm = localtime(&seconds);
H A Dutil.c225 * 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-9.3-release/lib/libncp/
H A Dncpl_misc.c168 sTime->seconds = time & 0x1f;
197 u_time.tm_sec = t.seconds;
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_subr.h171 void smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds);
172 void smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp);
/freebsd-9.3-release/contrib/tzcode/stdtime/
H A Dlocaltime.c121 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-9.3-release/usr.bin/quota/
H A Dquota.c86 static char *timeprt(int64_t seconds);
450 timeprt(int64_t seconds) argument
458 if (now > seconds) {
463 seconds -= now;
464 minutes = (seconds + 30) / 60;
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddist.c626 int seconds; local
644 seconds = stop.tv_sec + (stop.tv_usec / 1000000.0);
645 if (!seconds)
646 seconds = 1;
648 if (seconds != last_msg) {
649 last_msg = seconds;
652 (total / seconds) / 1000.0);
H A Dmedia.c827 int i, j, total, seconds, zpid, cpid, pfd[2], qfd[2]; local
913 seconds = stop.tv_sec + (stop.tv_usec / 1000000.0);
914 if (!seconds)
915 seconds = 1;
918 total, dist, (total / seconds) / 1024.0);
/freebsd-9.3-release/usr.sbin/rrenumd/
H A Dparser.y111 %type <num> lifetime days hours minutes seconds
594 | days hours minutes seconds
630 seconds: label
/freebsd-9.3-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-9.3-release/crypto/openssh/
H A Dmoduli.c413 logit("%.24s Sieved with %u small primes in %ld seconds",
510 fmt_time(time_t seconds) argument
515 min = (seconds / 60) % 60;
516 hr = (seconds / 60 / 60) % 24;
517 day = seconds / 60 / 60 / 24;
798 logit("%.24s Found %u safe primes of %u candidates in %ld seconds",
/freebsd-9.3-release/sbin/ifconfig/
H A Daf_inet6.c121 setip6pltime(const char *seconds, int dummy __unused, int s, argument
124 setip6lifetime("pltime", seconds, s, afp);
128 setip6vltime(const char *seconds, int dummy __unused, int s, argument
131 setip6lifetime("vltime", seconds, s, afp);
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dwork_fork.c72 time_t seconds
77 sleep_remain = (u_int)seconds;
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_send.c838 int resplen, seconds, n, s; local
932 seconds = (statp->retrans << tries);
934 seconds /= statp->nscount;
935 if (seconds <= 0)
936 seconds = 1;
938 timeout = evConsTime(seconds, 0);
/freebsd-9.3-release/usr.sbin/edquota/
H A Dedquota.c699 fprintf(fd, "Time units may be: days, hours, minutes, or seconds\n");
781 * Convert seconds to ASCII times.
807 * Convert ASCII input times to seconds.
810 cvtatos(uint64_t period, char *units, uint64_t *seconds) argument
814 *seconds = period;
816 *seconds = period * 60;
818 *seconds = period * 60 * 60;
820 *seconds = period * 24 * 60 * 60;
823 "days, hours, minutes, or seconds");
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dzoneconf.c831 int seconds; local
1314 seconds = cfg_obj_asuint32(validity) * 86400;
1315 dns_zone_setsigvalidityinterval(zone, seconds);
1319 seconds /= 4;
1321 if (seconds > 7 * 86400)
1322 seconds = cfg_obj_asuint32(resign) *
1325 seconds = cfg_obj_asuint32(resign) *
1328 dns_zone_setsigresigninginterval(zone, seconds);
/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dclient.h252 ns_client_settimeout(ns_client_t *client, unsigned int seconds);
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dresolver.h513 dns_resolver_settimeout(dns_resolver_t *resolver, unsigned int seconds);
515 * Set the length of time the resolver will work on a query, in seconds.
526 * Get the current length of time the resolver will work on a query, in seconds.
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dtimer.c58 (d).seconds, (d).nanoseconds)
60 (d).seconds, (d).nanoseconds, (n).seconds, (n).nanoseconds)
62 (d).seconds, (d).nanoseconds)
298 * we're 15 seconds or more behind, and if we are, we signal
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dosm.h117 HPT_U32 seconds:6; /* 0 - 59 */ member in struct:_TIME_RECORD
/freebsd-9.3-release/sys/dev/hptmv/
H A Darray.h40 UINT seconds:6; /* 0 - 59 */ member in struct:_TIME_RECORD
H A Dvdevice.h275 UINT seconds:6; /* 0 - 59 */ member in struct:_TIME_RECORD
/freebsd-9.3-release/sys/dev/hptnr/
H A Dosm.h116 HPT_U32 seconds:6; /* 0 - 59 */ member in struct:_TIME_RECORD
/freebsd-9.3-release/sys/dev/hptrr/
H A Dosm.h86 HPT_U32 seconds:6; /* 0 - 59 */ member in struct:_TIME_RECORD

Completed in 527 milliseconds

12345