/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | hh_mm_ss.h | 33 using __CommonType = common_type_t<_Duration, chrono::seconds>; 59 __s_(chrono::duration_cast<chrono::seconds>(chrono::abs(__d) - hours() - minutes())), 60 __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} 65 _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds seconds() const noexcept { return __s_; } 79 chrono::seconds __s_;
|
H A D | system_clock.h | 43 using sys_seconds = sys_time<seconds>;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Unix.h | 82 return std::chrono::seconds(TV.tv_sec) + 92 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); 102 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count();
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | duration.h | 59 time_t seconds; member in struct:ldns_duration_struct
|
/freebsd-current/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-current/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); 227 if (d->hours || d->minutes || d->seconds) { 234 || dur_scan_print(&p, eob, 'S', d->seconds)) 251 period += (duration->seconds);
|
/freebsd-current/crypto/openssh/ |
H A D | progressmeter.c | 51 #define STALL_TIME 5 /* we're stalled after this many seconds */ 133 int hours, minutes, seconds; local 208 seconds = bytes_left / bytes_per_second; 210 seconds = elapsed; 212 hours = seconds / 3600; 213 seconds -= hours * 3600; 214 minutes = seconds / 60; 215 seconds -= minutes * 60; 219 hours, minutes, seconds); 221 xextendf(&buf, NULL, " %02d:%02d", minutes, seconds); [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Chrono.h | 44 inline UtcTime<std::chrono::seconds> toUtcTime(std::time_t T) { 46 return UtcTime<seconds>(seconds(T)); 59 return system_clock::to_time_t(time_point<system_clock, seconds>( 60 duration_cast<seconds>(TP.time_since_epoch()))); 64 inline TimePoint<std::chrono::seconds> 67 return time_point_cast<seconds>(system_clock::from_time_t(T)); 97 template <> struct format_provider<sys::UtcTime<std::chrono::seconds>> { 98 static void format(const sys::UtcTime<std::chrono::seconds> &TP,
|
/freebsd-current/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 229 return seconds; 236 return seconds; 241 if(seconds > maxint-i) { 245 seconds += i; 250 if(i > maxint/60 || seconds > maxint-(i*60)) { 254 seconds [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | time.h | 48 unsigned int seconds, unsigned int nanoseconds); 50 * Set 'i' to a value representing an interval of 'seconds' seconds and 88 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 90 * Set 't' to a value which represents the given number of seconds and 234 * of seconds since the epoch; it will always be less than one
|
/freebsd-current/crypto/openssl/crypto/ts/ |
H A D | ts_local.h | 53 * seconds INTEGER OPTIONAL, 58 ASN1_INTEGER *seconds; member in struct:TS_accuracy_st 110 ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ member in struct:TS_resp_ctx 113 unsigned clock_precision_digits; /* fraction of seconds in time stamp
|
H A D | ts_rsp_utils.c | 173 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds) argument 177 if (a->seconds == seconds) 179 new_seconds = ASN1_INTEGER_dup(seconds); 184 ASN1_INTEGER_free(a->seconds); 185 a->seconds = new_seconds; 191 return a->seconds;
|
/freebsd-current/stand/efi/libefi/ |
H A D | time.c | 108 time_t seconds; local 114 seconds = CumulativeDays[lyear][month] * SECSPERDAY; 115 while (time > seconds) { 116 time -= seconds; 119 seconds = CumulativeDays[lyear][month] * SECSPERDAY; 236 * Convert to UNIX time (ie seconds since the epoch
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/ |
H A D | SymbolLocatorDebuginfod.cpp | 76 std::optional<uint64_t> seconds = local 78 if (seconds && *seconds != 0) { 80 std::chrono::seconds(*seconds));
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 103 // be tracked as the number of seconds from this date/time. 143 unsigned int secsDouble; /* seconds floating pt */ 144 unsigned char seconds; /* seconds whole num */ member in struct:TimeObj 178 unsigned int seconds; member in struct:SecTimeObj 395 double seconds; local 518 /* Read the leap seconds info from the TSYNC-PCI device */ 590 // Pull seconds information from time object 591 seconds = (double) (TimeContext.timeObj.secsDouble); 592 seconds / [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteClientBase.cpp | 26 static const seconds kWakeupInterval(5); 40 llvm::StringRef payload, std::chrono::seconds interrupt_timeout, 59 std::chrono::seconds computed_timeout = std::min(interrupt_timeout, 82 std::chrono::duration_cast<std::chrono::seconds>(new_wait)); 161 int signo, std::chrono::seconds interrupt_timeout) { 172 bool GDBRemoteClientBase::Interrupt(std::chrono::seconds interrupt_timeout) { 183 std::chrono::seconds interrupt_timeout) { 217 std::chrono::seconds interrupt_timeout, 356 std::chrono::seconds interrupt_timeout) 368 if (m_comm.m_is_running && m_interrupt_timeout == std::chrono::seconds( [all...] |
/freebsd-current/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 DLG_TRACE2N("seconds", seconds); 91 seconds_orig = (seconds > 0) ? seconds : 1; 157 (void) wprintw(dialog, "%3d", seconds); 164 x = (seconds * (width - 2 * (3 + MARGIN))) / seconds_orig; 248 } while ((result == DLG_EXIT_UNKNOWN) && (seconds-- > 0)); 48 dialog_pause(const char *title, const char *cprompt, int height, int width, int seconds) argument
|
/freebsd-current/contrib/tzdata/ |
H A D | ziguard.awk | 58 hh, mm, ss, seconds, dot_dddd, subseconds) 67 seconds = 3600 * hh + 60 * mm + ss 69 seconds += 0.5 < subseconds || ((subseconds == 0.5) && (seconds % 2)); 71 seconds / 3600, seconds / 60 % 60, seconds % 60) 221 # Normally, prefer whole seconds. However, prefer subseconds
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | CachePruning.cpp | 52 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { 65 return std::chrono::seconds(Num); 162 if (Policy.Expiration == seconds(0) && 186 if (Policy.Interval != seconds(0)) { 193 << duration_cast<seconds>(TimeStampAge).count() 235 if (Policy.Expiration != seconds(0) && FileAge > Policy.Expiration) { 237 << duration_cast<seconds>(FileAge).count()
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | xattrtest.c | 355 double seconds; local 403 seconds = timeval_sub_seconds(&stop, &start); 404 fprintf(stdout, "create: %f seconds %f creates/second\n", 405 seconds, files / seconds); 446 double seconds; local 497 seconds = timeval_sub_seconds(&stop, &start); 498 fprintf(stdout, "setxattr: %f seconds %f setxattrs/second\n", 499 seconds, (files * xattrs) / seconds); 523 double seconds; local 622 double seconds; local [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
H A D | events_common.kshlib | 44 echo file_wait_event exceeded $SECONDS seconds 55 # Wait for up to 'timeout' seconds for the 'file' to settle, i.e. 56 # not be updated for a period of 'delay' seconds. 68 echo file_wait exceeded $SECONDS seconds
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cpp | 373 void internal_sleep(unsigned seconds) { argument 374 internal_usleep((u64)seconds * 1000 * 1000); 376 void SleepForSeconds(unsigned seconds) { argument 377 internal_usleep((u64)seconds * 1000 * 1000); 381 void WaitForDebugger(unsigned seconds, const char *label) { argument 382 if (seconds) { 383 Report("Sleeping for %u second(s) %s\n", seconds, label); 384 SleepForSeconds(seconds);
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | condition_variable.cpp | 44 seconds s = duration_cast<seconds>(d);
|
/freebsd-current/crypto/openssh/regress/ |
H A D | rekey.sh | 151 1) seconds=1 ;; 152 1m|1M) seconds=60 ;; 153 1h|1H) seconds=3600 ;; 154 1d|1D) seconds=86400 ;; 155 1w|1W) seconds=604800 ;; 166 if [ "$seconds" != "$s" ]; then 167 fatal "rekeylimit time: expected $time seconds got $s"
|
/freebsd-current/contrib/llvm-project/lldb/source/API/ |
H A D | SBListener.cpp | 139 timeout = std::chrono::seconds(timeout_secs); 161 timeout = std::chrono::seconds(num_seconds); 181 timeout = std::chrono::seconds(num_seconds); 235 if (m_opaque_sp->GetEvent(event_sp, std::chrono::seconds(0))) { 251 std::chrono::seconds(0))) { 269 std::chrono::seconds(0))) {
|