/freebsd-11.0-release/contrib/llvm/lib/Support/Unix/ |
H A D | Watchdog.inc | 20 Watchdog::Watchdog(unsigned int seconds) { 22 alarm(seconds);
|
/freebsd-11.0-release/sys/boot/arm/at91/libat91/ |
H A D | getc.c | 42 * 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-11.0-release/contrib/llvm/lib/Support/Windows/ |
H A D | Watchdog.inc | 21 Watchdog::Watchdog(unsigned int seconds) {}
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | sleep.c | 48 __sleep(unsigned int seconds) argument 54 * Avoid overflow when `seconds' is huge. This assumes that 57 if (seconds > INT_MAX) 58 return (seconds - INT_MAX + __sleep(INT_MAX)); 60 time_to_sleep.tv_sec = seconds; 67 return (seconds); /* best guess */
|
/freebsd-11.0-release/contrib/ntp/lib/isc/unix/ |
H A D | time.c | 88 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-11.0-release/etc/ntp/ |
H A D | Makefile | 5 FILES= leap-seconds
|
/freebsd-11.0-release/contrib/ntp/libparse/ |
H A D | gpstolfp.c | 44 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-11.0-release/contrib/libucl/tests/ |
H A D | test_speed.c | 70 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-11.0-release/contrib/llvm/include/llvm/Support/ |
H A D | Watchdog.h | 28 Watchdog(unsigned int seconds);
|
/freebsd-11.0-release/contrib/ntp/lib/isc/unix/include/isc/ |
H A D | time.h | 40 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-11.0-release/contrib/libc++/src/ |
H A D | chrono.cpp | 43 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 47 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); 54 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); 60 return system_clock::time_point(seconds(t)); 80 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
H A D | tst.predcache.ksh | 163 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-11.0-release/contrib/top/ |
H A D | utils.c | 369 /* format_time(seconds) - format number of seconds into a suitable 385 char *format_time(seconds) 387 long seconds; 396 if (seconds < 0 || seconds > (99999l * 360l)) 400 else if (seconds >= (1000l * 60l)) 403 sprintf(result, "%5.1fH", (double)seconds / (double)(60l * 60l)); 416 (long)(seconds / 60), (long)(seconds [all...] |
/freebsd-11.0-release/contrib/ipfilter/rules/ |
H A D | ipmon.conf | 8 match { logtag = 2000, every 10 seconds; }
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/tools/lldb-mi/ |
H A D | MIUtilDateTimeStd.cpp | 68 const CMIUtilString seconds(CMIUtilString::Format("%d", pTi->tm_sec)); 69 const CMIUtilString zero((seconds.length() == 1) ? "0" : ""); 70 const CMIUtilString strTime(CMIUtilString::Format("%d:%d:%s%s", pTi->tm_hour, pTi->tm_min, zero.c_str(), seconds.c_str()));
|
/freebsd-11.0-release/contrib/ldns/ |
H A D | duration.c | 68 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-11.0-release/usr.bin/rusers/ |
H A D | rusers.c | 103 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-11.0-release/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 52 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; 65 * Number of seconds between 1970 and 1601 year 81 u_long seconds; local 83 smb_time_local2server(tsp, 0, &seconds); 84 *nsec = (((int64_t)(seconds) & ~1) + DIFF1970TO1601) * (int64_t)10000000;
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Host/common/ |
H A D | TimeValue.cpp | 51 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-11.0-release/contrib/dialog/ |
H A D | pause.c | 40 * 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-11.0-release/contrib/ldns/ldns/ |
H A D | duration.h | 59 time_t seconds; member in struct:ldns_duration_struct
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestDrop.java | 43 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]);
|
/freebsd-11.0-release/crypto/openssh/ |
H A D | progressmeter.c | 47 #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-11.0-release/usr.sbin/mfiutil/ |
H A D | mfi_cmd.c | 315 uint seconds; local 321 seconds = (0x10000 * (uint32_t)prog->elapsed_seconds) / 323 if (seconds > 3600) 324 printf("%u:", seconds / 3600); 325 if (seconds > 60) { 326 seconds %= 3600; 327 printf("%02u:%02u", seconds / 60, seconds % 60); 329 printf("%us", seconds);
|
/freebsd-11.0-release/contrib/unbound/sldns/ |
H A D | parseutil.c | 78 time_t seconds; local 91 seconds = minutes * 60 + tm->tm_sec; 93 return seconds; 216 uint32_t seconds = 0; local 227 return seconds; 234 return seconds; 239 seconds += i; 244 seconds += i * 60; 249 seconds += i * 60 * 60; 254 seconds [all...] |