Home
last modified time | relevance | path

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

1234567

/titanic_52/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()
57 * the seconds and microseconds value as input to this function. This
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()
[all...]
/titanic_52/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dgetc.c42 * int getc(int seconds)
45 * seconds seconds. It assumes that DBGU has already been initialized.
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()
/titanic_52/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c67 #define DT_2SECONDS_MASK 0x1F /* seconds divided by 2 */
113 * Number of seconds between 1970 and 1601 year
121 * to Unix seconds+nanoseconds since 1970. Any time
128 uint64_t nt_sec; /* seconds */ in smb_time_NT2local()
151 * Convert Unix time (seconds+nanoseconds since 1970)
160 uint64_t nt_sec; /* seconds */ in smb_time_local2NT()
179 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, in argument
296 ulong_t seconds; smb_dos2unixtime() local
[all...]
/titanic_52/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c171 * Return Value: PAM_SUCCESS - If account is valid, seconds param will have
172 * seconds left for password to expire
178 * seconds param will have no. of seconds for the
183 get_account_mgmt(char *user, int *seconds, int *grace) in get_account_mgmt() argument
200 *seconds = in get_account_mgmt()
220 /* max failures reached, seconds before unlock */ 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, in pam_sm_acct_mgmt()
[all...]
/titanic_52/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 in todsg_set()
[all...]
/titanic_52/usr/src/cmd/ast/libshell/common/scripts/
H A Dtermclock.sh176 (( ${ date +"hours.val=%H , minutes.val=%M , seconds.val=%S" ; } ))
181 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"
278 [u:update?Update interval (defaults to 0.9 seconds).]:[interval]
/titanic_52/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"
210 # Final shutdown message, and sleep away the final 10 seconds (or less).
/titanic_52/usr/src/lib/libsmbfs/smb/
H A Dsubr.c235 * Number of seconds between 1970 and 1601 year
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()
/titanic_52/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_52/usr/src/boot/sys/boot/efi/libefi/
H A Dtime.c110 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()
238 * Convert to UNIX time (ie seconds since the epoch) in EFI_GetTimeOfDay()
/titanic_52/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_52/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_52/usr/src/cmd/fm/modules/common/sp-monitor/
H A Dsp_monitor.c77 * We reset the seconds and generation so that the next time in sp_post_sysevent()
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()
184 fmd_hdl_debug(hdl, "successfully loaded, uptime = %u seconds " in _fmd_init()
/titanic_52/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()
106 System.err.println("usage: java TestDrop [ seconds ]"); in usage()
115 seconds = Integer.parseInt(args[0]); in main()
/titanic_52/usr/src/tools/scripts/
H A Dxref.sh80 typeset -i min seconds
82 ((seconds = SECONDS))
83 ((min = seconds / 60))
84 ((sec = seconds % 60))
/titanic_52/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_52/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c289 int days, hours, minutes, seconds; in krb5_deltat_to_string()
309 seconds = (int) (dt % 60); in krb5_deltat_to_string()
313 sprintf(buffer, "%d:%02d:%02d", hours, minutes, seconds); in krb5_deltat_to_string()
314 else if (hours || minutes || seconds) in krb5_deltat_to_string()
317 hours, minutes, seconds); in krb5_deltat_to_string()
287 int days, hours, minutes, seconds; krb5_deltat_to_string() local
/titanic_52/usr/src/uts/sun4v/io/
H A Dhardclk.c138 * To handle the H_ENOTSUPPORTED we return 0 seconds and let clkset
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()
/titanic_52/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_52/usr/src/lib/libpkg/common/
H A Dpkgstr.c1102 unsigned long long seconds; in pkgstrConvertUllToTimeString_r() local
1121 ns = a_time % 1000000000ll; /* nanoseconds left over from seconds */ in pkgstrConvertUllToTimeString_r()
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_52/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c57 * seconds and -1 otherwise. We stand on our head to make it MT-safe.
68 int seconds = 0; in lckpwdf() local
90 if (seconds++ >= S_WAITTIME) { in lckpwdf()
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtimers.c62 * set an alarm for <t> seconds
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()
/titanic_52/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_52/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>

1234567