/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | toffset.c | 39 krb5_set_real_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_real_time() argument 48 os_ctx->time_offset = seconds - sec; in krb5_set_real_time() 61 krb5_set_debugging_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_debugging_time() argument 65 os_ctx->time_offset = seconds; in krb5_set_debugging_time() 90 krb5_get_time_offsets(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds) in krb5_get_time_offsets() argument 94 if (seconds) in krb5_get_time_offsets() 95 *seconds = os_ctx->time_offset; in krb5_get_time_offsets() 106 krb5_set_time_offsets(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_time_offsets() argument 110 os_ctx->time_offset = seconds; in krb5_set_time_offsets()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_time.c | 126 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) in smb_time_local2server() argument 129 *seconds = 0; in smb_time_local2server() 131 *seconds = tsp->tv_sec - (tzoff * 60); in smb_time_local2server() 135 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument 137 if (seconds == 0) in smb_time_server2local() 140 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local()
|
/illumos-gate/usr/src/lib/pam_modules/ldap/ |
H A D | ldap_acct_mgmt.c | 181 get_account_mgmt(char *user, int *seconds, int *grace) in get_account_mgmt() argument 198 *seconds = in get_account_mgmt() 219 *seconds = in get_account_mgmt() 256 int seconds = 0, grace = 0; in pam_sm_acct_mgmt() local 295 result = get_account_mgmt(user, &seconds, &grace); in pam_sm_acct_mgmt() 299 password, &seconds); in pam_sm_acct_mgmt() 312 display_acct_unlock_time(pamh, seconds); in pam_sm_acct_mgmt() 336 seconds > 0) in pam_sm_acct_mgmt() 338 seconds); in pam_sm_acct_mgmt()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todsg.c | 273 time_t seconds; in todsg_get() local 287 OFFSET(tod_buf, tod_get_value), (char *)&seconds, in todsg_get() 320 if (seconds != pre_seconds) { /* SC still alive */ in todsg_get() 321 pre_seconds = seconds; in todsg_get() 323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew); in todsg_get() 347 ts.tv_sec = seconds + domain_skew; in todsg_get() 376 time_t seconds; in todsg_set() local 409 OFFSET(tod_buf, tod_get_value), (char *)&seconds, in todsg_set() 426 if (!complained && (ts.tv_sec != (seconds + domain_skew))) { in todsg_set() 427 hwtod = seconds + domain_skew; in todsg_set()
|
/illumos-gate/usr/src/cmd/initpkg/ |
H A D | shutdown.sh | 145 seconds=$((${grace} % 60)) 161 if [ ${hours} -eq 0 -a ${seconds} -gt 0 ] 163 if [ ${seconds} -eq 1 ] 165 time="${time}${seconds} second" 167 time="${time}${seconds} seconds"
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | subr.c | 241 smb_time_local2server(struct timeval *tsp, int tzoff, long *seconds) in smb_time_local2server() argument 243 *seconds = tsp->tv_sec - tzoff * 60; in smb_time_local2server() 247 smb_time_server2local(ulong_t seconds, int tzoff, struct timeval *tsp) in smb_time_server2local() argument 249 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local() 267 long seconds; in smb_time_local2NT() local 269 smb_time_local2server(tsp, 0, &seconds); in smb_time_local2NT() 270 *nsec = (((uint64_t)(seconds) & ~1) + DIFF1970TO1601) * in smb_time_local2NT()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/ |
H A D | tsc_freq_ctrl.c | 79 do_freq_test(uint64_t guest_freq, uint8_t per_sec, uint8_t seconds, in do_freq_test() argument 118 const uint32_t nreadings = per_sec * seconds + 1; in do_freq_test() 231 const uint8_t seconds = 1; in main() local 237 do_freq_test(guest_freq, per_sec, seconds, vmfd, vcpu, &time_info); in main() 256 do_freq_test(guest_freq, per_sec, seconds, vmfd, vcpu, &time_info); in main() 275 do_freq_test(guest_freq, per_sec, seconds, vmfd, vcpu, &time_info); in main() 294 do_freq_test(guest_freq, per_sec, seconds, vmfd, vcpu, &time_info); in main()
|
/illumos-gate/usr/src/cmd/dtrace/demo/agg/ |
H A D | denorm.d | 41 this->seconds = (timestamp - start) / 1000000000; 42 printf("Ran for %d seconds.\n", this->seconds); 45 normalize(@func, this->seconds);
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | time.c | 110 time_t seconds; in to_efi_time() local 116 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time() 117 while (time > seconds) { in to_efi_time() 118 time -= seconds; in to_efi_time() 121 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ustime.c | 37 krb5_us_timeofday(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds) in krb5_us_timeofday() argument 44 *seconds = os_ctx->time_offset; in krb5_us_timeofday() 63 *seconds = sec; in krb5_us_timeofday()
|
/illumos-gate/usr/src/cmd/krb5/kproplog/ |
H A D | kproplog.c | 167 if (indx_log->kdb_time.seconds == 0L) in print_update() 171 ctime((time_t *)&(indx_log->kdb_time.seconds))); in print_update() 304 if (ulog->kdb_last_time.seconds == 0L) { in main() 307 if (ulog->kdb_first_time.seconds == 0L) in main() 312 &(ulog->kdb_first_time.seconds))); in main() 316 ctime((time_t *)&(ulog->kdb_last_time.seconds))); in main()
|
/illumos-gate/usr/src/cmd/fm/modules/common/sp-monitor/ |
H A D | sp_monitor.c | 90 uint32_t seconds, generation; in sp_timeout() local 92 if (ipmi_sunoem_uptime(smp->sm_hdl, &seconds, &generation) != 0) { in sp_timeout() 107 if (seconds < smp->sm_seconds || in sp_timeout() 112 smp->sm_seconds = seconds; in sp_timeout()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestDrop.java | 41 static int seconds; field in TestDrop 46 if (seconds <= 0) { in startTimer() 56 }, seconds * 1000L); in startTimer() 115 seconds = Integer.parseInt(args[0]); in main()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | xref.sh | 80 typeset -i min seconds 82 ((seconds = SECONDS)) 83 ((min = seconds / 60)) 84 ((sec = seconds % 60))
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.flat.blurb | 6 cumulative a running sum of the number of seconds accounted 7 seconds for by this function and those listed above it. 9 self the number of seconds accounted for by this 10 seconds function alone. This is the major sort for this
|
H A D | gprof.callg.blurb | 14 self the number of seconds spent in this function 18 the number of seconds spent in the descendents of 37 self* the number of seconds of this function's self time 41 the number of seconds of this function's 64 self* the number of seconds of this child's self time 68 the number of seconds of this child's descendent's
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/ |
H A D | mmp.kshlib | 226 typeset seconds=0 245 seconds=$((2*mmp_fail*mmp_write/1000)) 248 seconds=$((import_intervals*devices*mmp_delay/1000000000)) 251 seconds=$((import_intervals*import_interval/1000)) 254 echo $seconds
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 287 int days, hours, minutes, seconds; in krb5_deltat_to_string() local 307 seconds = (int) (dt % 60); in krb5_deltat_to_string() 311 sprintf(buffer, "%d:%02d:%02d", hours, minutes, seconds); in krb5_deltat_to_string() 312 else if (hours || minutes || seconds) in krb5_deltat_to_string() 315 hours, minutes, seconds); in krb5_deltat_to_string()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | hardclk.c | 147 uint64_t seconds; in tod_get() local 162 ret = hv_tod_get(&seconds); in tod_get() 192 ts.tv_sec = tod_validate(seconds); in tod_get()
|
/illumos-gate/usr/src/lib/libslp/etc/ |
H A D | slp.conf.example | 85 # Set this property to change the default DA Heartbeat (10800 seconds). 86 # This example sets it to 7200 seconds (two hours): 96 # to 3 hours (10800 seconds): 125 # Default is 900 seconds (15 minutes). This example changes it to 2 minutes 132 # multicast convergance completes. Default is 15000 ms (15 seconds). This 133 # example changes it to 20000 ms (20 seconds), which may be desirable on 140 # The default is 3000,3000,3000,3000,3000 (all 3 seconds). The following 161 # intervals for more aggressive retransmission, to 2 seconds: 168 # This example changes it to 2 seconds:
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 1102 unsigned long long seconds; in pkgstrConvertUllToTimeString_r() local 1122 seconds = a_time / 1000000000ll; /* total seconds */ in pkgstrConvertUllToTimeString_r() 1123 minutes = seconds / 60ll; /* total minutes */ in pkgstrConvertUllToTimeString_r() 1124 seconds = seconds % 60ll; /* seconds left over from minutes */ in pkgstrConvertUllToTimeString_r() 1131 hours, minutes, seconds, ns); in pkgstrConvertUllToTimeString_r()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | timers.c | 78 unsigned seconds = (unsigned)t; in setalarm() 79 if(t && seconds<1) in setalarm() 80 seconds=1; in setalarm() 81 t = (double)alarm(seconds); in setalarm()
|
/illumos-gate/usr/src/cmd/zdump/ |
H A D | zdump.c | 395 register long seconds; local 402 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 404 if (t > absolute_max_time - seconds) { 408 t += seconds; 411 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 412 if (t < absolute_min_time + seconds) { 416 t -= seconds;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lckpwdf.c | 66 int seconds = 0; in lckpwdf() local 88 if (seconds++ >= S_WAITTIME) { in lckpwdf()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/conf/ |
H A D | platsvcd.conf | 34 * TIMEOUT <seconds> 35 * Specifies a maximum interval in seconds that an application 38 * INTERVAL <poll interval in seconds> <#tasks at this interval>
|