Searched refs:seconds (Results 1 - 25 of 125) sorted by relevance

12345

/freebsd-10.3-release/contrib/llvm/lib/Support/Unix/
H A DWatchdog.inc20 Watchdog::Watchdog(unsigned int seconds) {
22 alarm(seconds);
/freebsd-10.3-release/sys/boot/arm/at91/libat91/
H A Dgetc.c42 * int getc(int seconds)
45 * seconds seconds. It assumes that DBGU has already been initialized.
48 getc(int seconds) argument
54 if (seconds > 20)
55 seconds = 20;
57 seconds = thisSecond + seconds;
62 } while (thisSecond != seconds);
/freebsd-10.3-release/contrib/llvm/lib/Support/Windows/
H A DWatchdog.inc21 Watchdog::Watchdog(unsigned int seconds) {}
/freebsd-10.3-release/lib/libc/gen/
H A Dsleep.c46 __sleep(unsigned int seconds) argument
52 * Avoid overflow when `seconds' is huge. This assumes that
55 if (seconds > INT_MAX)
56 return (seconds - INT_MAX + __sleep(INT_MAX));
58 time_to_sleep.tv_sec = seconds;
65 return (seconds); /* best guess */
/freebsd-10.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dcpuwalk.d13 * cpuwalk.d 10 # sample for 10 seconds
49 seconds = 0;
60 seconds++;
64 /seconds == $1/
/freebsd-10.3-release/cddl/contrib/dtracetoolkit/Cpu/
H A Dcpuwalk.d13 * cpuwalk.d 10 # sample for 10 seconds
49 seconds = 0;
60 seconds++;
64 /seconds == $1/
/freebsd-10.3-release/contrib/ntp/lib/isc/unix/
H A Dtime.c88 unsigned int seconds, unsigned int nanoseconds)
93 i->seconds = seconds;
102 if (i->seconds == 0 && i->nanoseconds == 0)
117 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { argument
121 t->seconds = seconds;
129 t->seconds = 0;
138 if (t->seconds == 0 && t->nanoseconds == 0)
175 * Ensure the tv_sec value fits in t->seconds
87 isc_interval_set(isc_interval_t *i, unsigned int seconds, unsigned int nanoseconds) argument
337 time_t seconds; local
[all...]
/freebsd-10.3-release/etc/ntp/
H A DMakefile5 FILES= leap-seconds
/freebsd-10.3-release/contrib/ntp/libparse/
H A Dgpstolfp.c44 unsigned long seconds,
53 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */
41 gpstolfp( u_int weeks, u_int days, unsigned long seconds, l_fp * lfp ) argument
/freebsd-10.3-release/lib/libkse/thread/
H A Dthr_sleep.c41 unsigned int _sleep(unsigned int seconds);
47 _sleep(unsigned int seconds) argument
53 ret = __sleep(seconds);
/freebsd-10.3-release/contrib/libucl/tests/
H A Dtest_speed.c70 double start, end, seconds; local
100 seconds = end - start;
101 printf ("ucl: parsed input in %.4f seconds\n", seconds);
112 seconds = end - start;
113 printf ("ucl: emitted config in %.4f seconds\n", seconds);
121 seconds = end - start;
122 printf ("ucl: emitted json in %.4f seconds\n", seconds);
[all...]
/freebsd-10.3-release/contrib/llvm/include/llvm/Support/
H A DWatchdog.h28 Watchdog(unsigned int seconds);
/freebsd-10.3-release/contrib/ntp/lib/isc/unix/include/isc/
H A Dtime.h40 unsigned int seconds; member in struct:isc_interval
50 unsigned int seconds, unsigned int nanoseconds);
52 * Set 'i' to a value representing an interval of 'seconds' seconds and
84 unsigned int seconds; member in struct:isc_time
91 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
93 * Set 't' to a value which represents the given number of seconds and
100 * isc_interval_set(i, seconds, nanoseconds);
243 * Return the number of seconds since the epoch stored in a time structure.
253 * Ensure the number of seconds i
[all...]
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/
H A Dtst.predcache.ksh163 seconds=`date +%S`
165 if [ "$seconds" -ne "$last" ]; then
166 last=$seconds
186 seconds=`date +%S`
188 if [ "$seconds" -ne "$last" ]; then
189 last=$seconds
/freebsd-10.3-release/contrib/top/
H A Dutils.c368 /* format_time(seconds) - format number of seconds into a suitable
384 char *format_time(seconds)
386 long seconds;
395 if (seconds < 0 || seconds > (99999l * 360l))
399 else if (seconds >= (1000l * 60l))
402 sprintf(result, "%5.1fH", (double)seconds / (double)(60l * 60l));
415 (long)(seconds / 60), (long)(seconds
[all...]
/freebsd-10.3-release/contrib/ipfilter/rules/
H A Dipmon.conf8 match { logtag = 2000, every 10 seconds; }
/freebsd-10.3-release/contrib/libc++/src/
H A Dchrono.cpp34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
40 return time_t(duration_cast<seconds>(t.time_since_epoch()).count());
46 return system_clock::time_point(seconds(t));
125 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
/freebsd-10.3-release/contrib/ldns/
H A Dduration.c68 duration->seconds = 0;
105 if (d1->seconds != d2->seconds) {
106 return (int) (d1->seconds - d2->seconds);
174 duration->seconds = (time_t) atoi(str+1);
246 if (duration->seconds > 0) {
247 count = count + 1 + digits_in_number(duration->seconds);
303 if (duration->seconds > 0) {
304 count = digits_in_number(duration->seconds);
[all...]
/freebsd-10.3-release/usr.bin/rusers/
H A Drusers.c103 int days, hours, minutes, seconds; local
134 seconds = idle;
135 days = seconds / (60 * 60 * 24);
136 seconds %= (60 * 60 * 24);
137 hours = seconds / (60 * 60);
138 seconds %= (60 * 60);
139 minutes = seconds / 60;
140 seconds %= 60;
142 sprintf(idle_time, "%d:%02d", minutes, seconds);
145 hours, minutes, seconds);
[all...]
/freebsd-10.3-release/sys/fs/smbfs/
H A Dsmbfs_subr.c52 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) argument
54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 -
59 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) argument
61 tsp->tv_sec = seconds + tzoff * 60;
66 * Number of seconds between 1970 and 1601 year
82 u_long seconds; local
84 smb_time_local2server(tsp, 0, &seconds);
85 *nsec = (((int64_t)(seconds) & ~1) + DIFF1970TO1601) * (int64_t)10000000;
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Host/common/
H A DTimeValue.cpp51 TimeValue::TimeValue(uint32_t seconds, uint32_t nanos) : argument
52 m_nano_seconds((uint64_t) seconds * NanoSecPerSec + nanos)
126 uint32_t seconds, nanoseconds; local
134 seconds = ((((uint64_t)ft.dwHighDateTime) << 32 | ft.dwLowDateTime) / 10000000) - 11644473600ULL;
138 seconds = tv.tv_sec;
141 TimeValue now(seconds, nanoseconds);
/freebsd-10.3-release/contrib/dialog/
H A Dpause.c40 * indicates how many seconds remain until the end of the pause. The pause
52 int seconds)
87 seconds_orig = (seconds > 0) ? seconds : 1;
150 (void) wprintw(dialog, "%3d", seconds);
157 x = (seconds * (width - 2 * (3 + MARGIN))) / seconds_orig;
236 } while ((result == DLG_EXIT_UNKNOWN) && (seconds-- > 0));
48 dialog_pause(const char *title, const char *cprompt, int height, int width, int seconds) argument
/freebsd-10.3-release/crypto/openssh/
H A Dprogressmeter.c47 #define STALL_TIME 5 /* we're stalled after this many seconds */
129 int hours, minutes, seconds; local
204 seconds = bytes_left / bytes_per_second;
206 seconds = elapsed;
208 hours = seconds / 3600;
209 seconds -= hours * 3600;
210 minutes = seconds / 60;
211 seconds -= minutes * 60;
215 "%d:%02d:%02d", hours, minutes, seconds);
218 " %02d:%02d", minutes, seconds);
[all...]
/freebsd-10.3-release/contrib/ldns/ldns/
H A Dduration.h59 time_t seconds; member in struct:ldns_duration_struct
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java43 static int seconds; field in class:TestDrop
48 if (seconds <= 0) {
58 }, seconds * 1000L);
108 System.err.println("usage: java TestDrop [ seconds ]");
117 seconds = Integer.parseInt(args[0]);

Completed in 323 milliseconds

12345