Searched refs:seconds (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/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) argument
54 if (seconds > 20)
55 seconds = 20;
57 seconds = thisSecond + seconds;
62 } while (thisSecond != seconds);
/illumos-gate/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);
/illumos-gate/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) argument
48 os_ctx->time_offset = seconds - sec;
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) argument
65 os_ctx->time_offset = seconds;
90 krb5_get_time_offsets(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds) argument
94 if (seconds)
95 *seconds = os_ctx->time_offset;
106 krb5_set_time_offsets(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) argument
110 os_ctx->time_offset = seconds;
[all...]
H A Dc_ustime.c92 krb5_crypto_us_timeofday(krb5_int32 *seconds, krb5_int32 *microseconds) argument
104 /* Just guessing: If the number of seconds hasn't changed, yet the
127 *seconds = now.sec;
/illumos-gate/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) argument
44 *seconds = os_ctx->time_offset;
63 *seconds = sec;
/illumos-gate/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
/illumos-gate/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).
/illumos-gate/usr/src/lib/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]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodsg.c273 time_t seconds; local
287 OFFSET(tod_buf, tod_get_value), (char *)&seconds,
320 if (seconds != pre_seconds) { /* SC still alive */
321 pre_seconds = seconds;
323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew);
347 ts.tv_sec = seconds + domain_skew;
376 time_t seconds; local
409 OFFSET(tod_buf, tod_get_value), (char *)&seconds,
426 if (!complained && (ts.tv_sec != (seconds + domain_skew))) {
427 hwtod = seconds
[all...]
/illumos-gate/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) argument
200 *seconds =
220 /* max failures reached, seconds before unlock */
221 *seconds =
258 int seconds = 0, grace = 0; local
297 result = get_account_mgmt(user, &seconds,
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tconst.c179 tchar S_seconds[] = {'s','e','c','o','n','d','s',0};/*"seconds"*/
/illumos-gate/usr/src/cmd/fm/modules/common/sp-monitor/
H A Dsp_monitor.c77 * We reset the seconds and generation so that the next time
90 uint32_t seconds, generation; local
92 if (ipmi_sunoem_uptime(smp->sm_hdl, &seconds, &generation) != 0) {
107 if (seconds < smp->sm_seconds ||
112 smp->sm_seconds = seconds;
184 fmd_hdl_debug(hdl, "successfully loaded, uptime = %u seconds "
/illumos-gate/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 */
151 * Convert Unix time (seconds+nanoseconds since 1970)
160 uint64_t nt_sec; /* seconds */
179 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) argument
182 *seconds = 0;
184 *seconds = tsp->tv_sec - (tzoff * 60);
188 smb_time_server2local(ulong_t seconds, in argument
296 ulong_t seconds; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java41 static int seconds; field in class:TestDrop
46 if (seconds <= 0) {
56 }, seconds * 1000L);
106 System.err.println("usage: java TestDrop [ seconds ]");
115 seconds = Integer.parseInt(args[0]);
/illumos-gate/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; local
90 if (seconds++ >= S_WAITTIME) {
/illumos-gate/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) argument
243 *seconds = tsp->tv_sec - tzoff * 60;
247 smb_time_server2local(ulong_t seconds, int tzoff, struct timeval *tsp) argument
249 tsp->tv_sec = seconds + tzoff * 60;
267 long seconds; local
269 smb_time_local2server(tsp, 0, &seconds);
270 *nsec = (((uint64_t)(seconds) & ~1) + DIFF1970TO1601) *
/illumos-gate/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; local
162 ret = hv_tod_get(&seconds);
192 ts.tv_sec = tod_validate(seconds);
/illumos-gate/usr/src/tools/scripts/
H A Dxref.sh80 typeset -i min seconds
82 ((seconds = SECONDS))
83 ((min = seconds / 60))
84 ((sec = seconds % 60))
/illumos-gate/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>
/illumos-gate/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c169 if (indx_log->kdb_time.seconds == 0L)
173 ctime((time_t *)&(indx_log->kdb_time.seconds)));
306 if (ulog->kdb_last_time.seconds == 0L) {
309 if (ulog->kdb_first_time.seconds == 0L)
314 &(ulog->kdb_first_time.seconds)));
318 ctime((time_t *)&(ulog->kdb_last_time.seconds)));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c289 int days, hours, minutes, seconds;
309 seconds = (int) (dt % 60);
313 sprintf(buffer, "%d:%02d:%02d", hours, minutes, seconds);
314 else if (hours || minutes || seconds)
317 hours, minutes, seconds);
287 int days, hours, minutes, seconds; local
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c1102 unsigned long long seconds; local
1121 ns = a_time % 1000000000ll; /* nanoseconds left over from seconds */
1122 seconds = a_time / 1000000000ll; /* total seconds */
1123 minutes = seconds / 60ll; /* total minutes */
1124 seconds = seconds % 60ll; /* seconds left over from minutes */
1131 hours, minutes, seconds, ns);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/conf/
H A Dplatsvcd.conf36 * TIMEOUT <seconds>
37 * Specifies a maximum interval in seconds that an application
40 * INTERVAL <poll interval in seconds> <#tasks at this interval>
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/sebring/conf/
H A Dplatsvcd.conf36 * TIMEOUT <seconds>
37 * Specifies a maximum interval in seconds that an application
40 * INTERVAL <poll interval in seconds> <#tasks at this interval>
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtimers.c62 * set an alarm for <t> seconds
78 unsigned seconds = (unsigned)t;
79 if(t && seconds<1)
80 seconds=1;
81 t = (double)alarm(seconds);

Completed in 118 milliseconds

12345