Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 158) sorted by relevance

1234567

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtoffset.c39 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()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c179 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) in smb_time_local2server() argument
182 *seconds = 0; in smb_time_local2server()
184 *seconds = tsp->tv_sec - (tzoff * 60); in smb_time_local2server()
188 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument
190 if (seconds == 0) in smb_time_server2local()
193 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local()
296 ulong_t seconds; in smb_dos2unixtime() local
307 seconds = (((dt & DT_2SECONDS_MASK) >> DT_2SECONDS_SHIFT) << 1) in smb_dos2unixtime()
338 smb_time_server2local(seconds + lastseconds, tzoff, tsp); in smb_dos2unixtime()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dprogressmeter.c131 int hours, minutes, seconds; in refresh_progress_meter() local
206 seconds = bytes_left / bytes_per_second; in refresh_progress_meter()
208 seconds = (int)elapsed; in refresh_progress_meter()
210 hours = seconds / 3600; in refresh_progress_meter()
211 seconds -= hours * 3600; in refresh_progress_meter()
212 minutes = seconds / 60; in refresh_progress_meter()
213 seconds -= minutes * 60; in refresh_progress_meter()
217 "%d:%02d:%02d", hours, minutes, seconds); in refresh_progress_meter()
220 " %02d:%02d", minutes, seconds); in refresh_progress_meter()
/titanic_41/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c183 get_account_mgmt(char *user, int *seconds, int *grace) in get_account_mgmt() argument
200 *seconds = in get_account_mgmt()
221 *seconds = in get_account_mgmt()
258 int seconds = 0, grace = 0; in pam_sm_acct_mgmt() local
297 result = get_account_mgmt(user, &seconds, &grace); in pam_sm_acct_mgmt()
301 password, &seconds); in pam_sm_acct_mgmt()
314 display_acct_unlock_time(pamh, seconds); in pam_sm_acct_mgmt()
338 seconds > 0) in pam_sm_acct_mgmt()
340 seconds); in pam_sm_acct_mgmt()
/titanic_41/usr/src/uts/sun4u/io/
H A Dtodsg.c273 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()
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dtermclock.sh181 minutes.val+=seconds.val/60.
184 draw_clock_hand seconds
207 clear_clock_hand seconds
247 compound seconds=(
263 seconds.length=90 seconds.scale=60 seconds.ch=$"s"
/titanic_41/usr/src/cmd/initpkg/
H A Dshutdown.sh150 seconds=`/usr/bin/expr ${grace} % 60`
166 if [ ${hours} -eq 0 -a ${seconds} -gt 0 ]
168 if [ ${seconds} -eq 1 ]
170 time="${time}${seconds} second"
172 time="${time}${seconds} seconds"
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dsubr.c241 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()
/titanic_41/usr/src/cmd/dtrace/demo/agg/
H A Ddenorm.d41 this->seconds = (timestamp - start) / 1000000000;
42 printf("Ran for %d seconds.\n", this->seconds);
45 normalize(@func, this->seconds);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dustime.c37 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()
/titanic_41/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c169 if (indx_log->kdb_time.seconds == 0L) in print_update()
173 ctime((time_t *)&(indx_log->kdb_time.seconds))); in print_update()
306 if (ulog->kdb_last_time.seconds == 0L) { in main()
309 if (ulog->kdb_first_time.seconds == 0L) in main()
314 &(ulog->kdb_first_time.seconds))); in main()
318 ctime((time_t *)&(ulog->kdb_last_time.seconds))); in main()
/titanic_41/usr/src/cmd/fm/modules/common/sp-monitor/
H A Dsp_monitor.c90 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()
/titanic_41/usr/src/tools/scripts/
H A Dxref.sh80 typeset -i min seconds
82 ((seconds = SECONDS))
83 ((min = seconds / 60))
84 ((sec = seconds % 60))
/titanic_41/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java41 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()
/titanic_41/usr/src/cmd/sgs/gprof/common/
H A Dgprof.flat.blurb6 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 Dgprof.callg.blurb14 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
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c287 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()
/titanic_41/usr/src/uts/sun4v/io/
H A Dhardclk.c147 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()
/titanic_41/usr/src/lib/libslp/etc/
H A Dslp.conf.example86 # Set this property to change the default DA Heartbeat (10800 seconds).
87 # This example sets it to 7200 seconds (two hours):
97 # to 3 hours (10800 seconds):
126 # Default is 900 seconds (15 minutes). This example changes it to 2 minutes
133 # multicast convergance completes. Default is 15000 ms (15 seconds). This
134 # example changes it to 20000 ms (20 seconds), which may be desirable on
141 # The default is 3000,3000,3000,3000,3000 (all 3 seconds). The following
162 # intervals for more aggressive retransmission, to 2 seconds:
169 # This example changes it to 2 seconds:
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgstr.c1102 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()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c68 int seconds = 0; in lckpwdf() local
90 if (seconds++ >= S_WAITTIME) { in lckpwdf()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dtimers.c78 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()
/titanic_41/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.s45 / gethrestime trap returns seconds in %eax, nsecs in %edx
51 movl %eax, (%ecx) / store seconds into timeval ptr
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/conf/
H A Dplatsvcd.conf37 * TIMEOUT <seconds>
38 * Specifies a maximum interval in seconds that an application
41 * INTERVAL <poll interval in seconds> <#tasks at this interval>
/titanic_41/usr/src/cmd/zdump/
H A Dzdump.c390 register long seconds; local
397 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
399 if (t > absolute_max_time - seconds) {
403 t += seconds;
406 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
407 if (t < absolute_min_time + seconds) {
411 t -= seconds;

1234567