/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Watchdog.inc | 21 Watchdog::Watchdog(unsigned int seconds) { 23 alarm(seconds);
|
H A D | Unix.h | 87 return std::chrono::seconds(TV.tv_sec) + 97 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); 107 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Watchdog.inc | 20 Watchdog::Watchdog(unsigned int seconds) {}
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_nolibc.cpp | 27 void SleepForSeconds(int seconds) { internal_sleep(seconds); } argument
|
/freebsd-11-stable/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-stable/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-stable/etc/ntp/ |
H A D | Makefile | 5 FILES= leap-seconds
|
/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | gpstolfp.c | 44 unsigned long seconds, 48 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-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CachePruning.h | 31 llvm::Optional<std::chrono::seconds> Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 65 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
H A D | Watchdog.h | 27 Watchdog(unsigned int seconds);
|
/freebsd-11-stable/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-stable/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-stable/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-stable/contrib/ipfilter/rules/ |
H A D | ipmon.conf | 8 match { logtag = 2000, every 10 seconds; }
|
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 64 static _LIBCPP_CONSTEXPR const seconds nt_to_unix_epoch{11644473600}; 85 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 89 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); 97 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); 103 return system_clock::time_point(seconds(t)); 125 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); 222 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
|
/freebsd-11-stable/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-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunication.h | 86 std::chrono::seconds timeout); 91 std::chrono::seconds m_saved_timeout; 120 std::chrono::seconds SetPacketTimeout(std::chrono::seconds packet_timeout) { 126 std::chrono::seconds GetPacketTimeout() const { return m_packet_timeout; } 146 std::chrono::seconds m_packet_timeout;
|
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | duration.h | 59 time_t seconds; member in struct:ldns_duration_struct
|
/freebsd-11-stable/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-stable/crypto/openssh/ |
H A D | progressmeter.c | 47 #define STALL_TIME 5 /* we're stalled after this many seconds */ 128 int hours, minutes, seconds; local 203 seconds = bytes_left / bytes_per_second; 205 seconds = elapsed; 207 hours = seconds / 3600; 208 seconds -= hours * 3600; 209 minutes = seconds / 60; 210 seconds -= minutes * 60; 214 "%d:%02d:%02d", hours, minutes, seconds); 217 " %02d:%02d", minutes, seconds); [all...] |
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_cmd.c | 317 uint seconds; local 323 seconds = (0x10000 * (uint32_t)prog->elapsed_seconds) / 325 if (seconds > 3600) 326 printf("%u:", seconds / 3600); 327 if (seconds > 60) { 328 seconds %= 3600; 329 printf("%02u:%02u", seconds / 60, seconds % 60); 331 printf("%us", seconds);
|