| /trueos/contrib/libucl/tests/ |
| HD | test_speed.c | 70 double start, end, seconds; in main() local 100 seconds = end - start; in main() 101 printf ("ucl: parsed input in %.4f seconds\n", seconds); in main() 112 seconds = end - start; in main() 113 printf ("ucl: emitted config in %.4f seconds\n", seconds); in main() 121 seconds = end - start; in main() 122 printf ("ucl: emitted json in %.4f seconds\n", seconds); in main() 130 seconds = end - start; in main() 131 printf ("ucl: emitted compact json in %.4f seconds\n", seconds); in main() 139 seconds = end - start; in main() [all …]
|
| /trueos/sys/boot/arm/at91/libat91/ |
| HD | getc.c | 48 getc(int seconds) in getc() argument 54 if (seconds > 20) in getc() 55 seconds = 20; in getc() 57 seconds = thisSecond + seconds; in getc() 62 } while (thisSecond != seconds); in getc()
|
| /trueos/sys/sys/mach/ |
| HD | time_value.h | 91 integer_t seconds; member 106 (val)->seconds++; \ 112 (result)->seconds += (addend)->seconds; \ 115 (result)->seconds++; \ 129 integer_t seconds; member
|
| /trueos/usr.bin/rusers/ |
| HD | rusers.c | 103 int days, hours, minutes, seconds; in rusers_reply() local 134 seconds = idle; in rusers_reply() 135 days = seconds / (60 * 60 * 24); in rusers_reply() 136 seconds %= (60 * 60 * 24); in rusers_reply() 137 hours = seconds / (60 * 60); in rusers_reply() 138 seconds %= (60 * 60); in rusers_reply() 139 minutes = seconds / 60; in rusers_reply() 140 seconds %= 60; in rusers_reply() 142 sprintf(idle_time, "%d:%02d", minutes, seconds); in rusers_reply() 145 hours, minutes, seconds); in rusers_reply() [all …]
|
| /trueos/lib/libc/gen/ |
| HD | sleep.c | 46 __sleep(unsigned int seconds) in __sleep() argument 55 if (seconds > INT_MAX) in __sleep() 56 return (seconds - INT_MAX + __sleep(INT_MAX)); in __sleep() 58 time_to_sleep.tv_sec = seconds; in __sleep() 65 return (seconds); /* best guess */ in __sleep()
|
| /trueos/contrib/ldns/ |
| HD | duration.c | 68 duration->seconds = 0; in ldns_duration_create() 105 if (d1->seconds != d2->seconds) { in ldns_duration_compare() 106 return (int) (d1->seconds - d2->seconds); in ldns_duration_compare() 174 duration->seconds = (time_t) atoi(str+1); in ldns_duration_create_from_string() 246 if (duration->seconds > 0) { in ldns_duration2string() 247 count = count + 1 + digits_in_number(duration->seconds); in ldns_duration2string() 303 if (duration->seconds > 0) { in ldns_duration2string() 304 count = digits_in_number(duration->seconds); in ldns_duration2string() 306 snprintf(num, count+2, "%uS", (unsigned int) duration->seconds); in ldns_duration2string() 324 period += (duration->seconds); in ldns_duration2time()
|
| HD | rdata.c | 680 uint32_t seconds = 0; in ldns_str2period() local 691 return seconds; in ldns_str2period() 698 return seconds; in ldns_str2period() 703 seconds += i; in ldns_str2period() 708 seconds += i * 60; in ldns_str2period() 713 seconds += i * 60 * 60; in ldns_str2period() 718 seconds += i * 60 * 60 * 24; in ldns_str2period() 723 seconds += i * 60 * 60 * 24 * 7; in ldns_str2period() 740 seconds += i; in ldns_str2period() 742 return seconds; in ldns_str2period() [all …]
|
| /trueos/crypto/openssh/ |
| HD | progressmeter.c | 129 int hours, minutes, seconds; in refresh_progress_meter() local 204 seconds = bytes_left / bytes_per_second; in refresh_progress_meter() 206 seconds = elapsed; in refresh_progress_meter() 208 hours = seconds / 3600; in refresh_progress_meter() 209 seconds -= hours * 3600; in refresh_progress_meter() 210 minutes = seconds / 60; in refresh_progress_meter() 211 seconds -= minutes * 60; in refresh_progress_meter() 215 "%d:%02d:%02d", hours, minutes, seconds); in refresh_progress_meter() 218 " %02d:%02d", minutes, seconds); in refresh_progress_meter()
|
| /trueos/usr.sbin/mfiutil/ |
| HD | mfi_cmd.c | 315 uint seconds; in mfi_display_progress() local 321 seconds = (0x10000 * (uint32_t)prog->elapsed_seconds) / in mfi_display_progress() 323 if (seconds > 3600) in mfi_display_progress() 324 printf("%u:", seconds / 3600); in mfi_display_progress() 325 if (seconds > 60) { in mfi_display_progress() 326 seconds %= 3600; in mfi_display_progress() 327 printf("%02u:%02u", seconds / 60, seconds % 60); in mfi_display_progress() 329 printf("%us", seconds); in mfi_display_progress()
|
| /trueos/contrib/top/ |
| HD | utils.c | 384 char *format_time(seconds) in format_time() argument 386 long seconds; in format_time() 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 % 60));
|
| /trueos/contrib/unbound/ldns/ |
| HD | parseutil.c | 78 time_t seconds; in sldns_mktime_from_utc() local 91 seconds = minutes * 60 + tm->tm_sec; in sldns_mktime_from_utc() 93 return seconds; in sldns_mktime_from_utc() 216 uint32_t seconds = 0; in sldns_str2period() local 227 return seconds; in sldns_str2period() 234 return seconds; in sldns_str2period() 239 seconds += i; in sldns_str2period() 244 seconds += i * 60; in sldns_str2period() 249 seconds += i * 60 * 60; in sldns_str2period() 254 seconds += i * 60 * 60 * 24; in sldns_str2period() [all …]
|
| /trueos/sys/fs/smbfs/ |
| HD | smbfs_subr.c | 52 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) in smb_time_local2server() argument 54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 - in smb_time_local2server() 59 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument 61 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local() 82 u_long seconds; in smb_time_local2NT() local 84 smb_time_local2server(tsp, 0, &seconds); in smb_time_local2NT() 85 *nsec = (((int64_t)(seconds) & ~1) + DIFF1970TO1601) * (int64_t)10000000; in smb_time_local2NT()
|
| /trueos/contrib/tzdata/ |
| HD | leap-seconds.list | 17 # The first column shows an epoch as a number of seconds 23 # The second column shows the number of seconds that 72 # Leap seconds are announced by the IERS in its Bulletin C. 81 # of dropping seconds ("negative" leap seconds), this has 85 # 5. If your system keeps time as the number of seconds since 101 # 30 June 1972 23:59:59 (2287785599, first time): TAI= UTC + 10 seconds 102 # 30 June 1972 23:59:60 (2287785599,second time): TAI= UTC + 11 seconds 103 # 1 July 1972 00:00:00 (2287785600) TAI= UTC + 11 seconds 112 # 30 June 1972 23:59:59 (2287785599): TAI= UTC + 10 seconds 113 # 30 June 1972 23:59:60 (2287785600, first time): TAI= UTC + 10 seconds [all …]
|
| /trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
| HD | 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
|
| /trueos/contrib/llvm/include/llvm/Support/ |
| HD | TimeValue.h | 91 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0) 92 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() argument 198 SecondsType seconds() const { return seconds_; } in seconds() function 267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime() argument 268 seconds = seconds_ - PosixZeroTimeSeconds; in getTimespecTime() 285 void seconds (SecondsType sec ) { in seconds() function 334 void fromEpochTime( SecondsType seconds ) { in fromEpochTime() argument 335 seconds_ = seconds + PosixZeroTimeSeconds; in fromEpochTime()
|
| /trueos/contrib/llvm/tools/lldb/source/Host/common/ |
| HD | TimeValue.cpp | 51 TimeValue::TimeValue(uint32_t seconds, uint32_t nanos) : in TimeValue() argument 52 m_nano_seconds((uint64_t) seconds * NanoSecPerSec + nanos) in TimeValue() 126 uint32_t seconds, nanoseconds; in Now() local 134 … seconds = ((((uint64_t)ft.dwHighDateTime) << 32 | ft.dwLowDateTime) / 10000000) - 11644473600ULL; in Now() 138 seconds = tv.tv_sec; in Now() 141 TimeValue now(seconds, nanoseconds); in Now()
|
| /trueos/crypto/openssh/regress/ |
| HD | rekey.sh | 121 1) seconds=1 ;; 122 1m|1M) seconds=60 ;; 123 1h|1H) seconds=3600 ;; 124 1d|1D) seconds=86400 ;; 125 1w|1W) seconds=604800 ;; 136 if [ "$seconds" != "$s" ]; then
|
| /trueos/contrib/libc++/src/ |
| D | chrono.cpp | 34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); in now() 40 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); in to_time_t() 46 return system_clock::time_point(seconds(t)); in from_time_t() 125 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in now()
|
| /trueos/contrib/dialog/ |
| HD | pause.c | 52 int seconds) in dialog_pause() argument 87 seconds_orig = (seconds > 0) ? seconds : 1; in dialog_pause() 150 (void) wprintw(dialog, "%3d", seconds); in dialog_pause() 157 x = (seconds * (width - 2 * (3 + MARGIN))) / seconds_orig; in dialog_pause() 236 } while ((result == DLG_EXIT_UNKNOWN) && (seconds-- > 0)); in dialog_pause()
|
| /trueos/cddl/contrib/dtracetoolkit/Cpu/ |
| HD | cpuwalk.d | 49 seconds = 0; 60 seconds++; 64 /seconds == $1/
|
| /trueos/cddl/contrib/dtracetoolkit/Bin/ |
| D | cpuwalk.d | 49 seconds = 0; 60 seconds++; 64 /seconds == $1/
|
| /trueos/lib/libkse/thread/ |
| HD | thr_sleep.c | 41 unsigned int _sleep(unsigned int seconds); 47 _sleep(unsigned int seconds) in _sleep() argument 53 ret = __sleep(seconds); in _sleep()
|
| /trueos/usr.bin/gprof/ |
| HD | gprof.flat | 9 cumulative a running sum of the number of seconds accounted 10 seconds for by this function and those listed above it. 12 self the number of seconds accounted for by this 13 seconds function alone. This is the major sort for this
|
| /trueos/crypto/openssl/crypto/ts/ |
| HD | ts_rsp_utils.c | 225 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds) in TS_ACCURACY_set_seconds() argument 229 if (a->seconds == seconds) in TS_ACCURACY_set_seconds() 231 new_seconds = ASN1_INTEGER_dup(seconds); in TS_ACCURACY_set_seconds() 236 ASN1_INTEGER_free(a->seconds); in TS_ACCURACY_set_seconds() 237 a->seconds = new_seconds; in TS_ACCURACY_set_seconds() 243 return a->seconds; in TS_ACCURACY_get_seconds()
|
| /trueos/contrib/ntp/scripts/monitoring/ |
| HD | loopwatch.config.SAMPLE | 3 # delay: sampling interval in seconds 35 # to get aa:bb being interpreted as minutes:seconds use aa:bb.0 82 # (this is every delay seconds) 85 # deltaT: <seconds> 86 # mark `holes' in the sample data grater than <seconds> 88 # default: 512 seconds
|