Searched defs:seconds (Results 1 - 25 of 54) sorted by relevance

123

/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/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/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/uts/common/gssapi/mechs/krb5/krb5/os/
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;
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...]
/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/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c62 int i = 0, seconds; local
/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/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/uts/common/fs/smbsrv/
H A Dsmb_thread.c276 smb_thread_continue_timedwait(smb_thread_t *thread, int seconds) argument
284 SEC_TO_TICK(seconds));
/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/krb5/ldap_util/
H A Dkdb5_ldap_policy.c882 int neg, days, hours, minutes, seconds; local
895 seconds = duration;
898 hours, minutes, seconds);
/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/fm/libfmevent/common/
H A Dfmev_evaccess.c275 time_t seconds; local
277 seconds = (time_t)fmev_time_sec(ev);
278 return (localtime_r(&seconds, tm));
/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/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/sgs/prof/common/
H A Dprofv.h144 double seconds; /* time spent here in seconds */ member in struct:profrec
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c391 int seconds = 0; local
403 seconds = atoi_for2(p+1);
433 tm.tm_sec = 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/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c414 smb_netbios_sleep(time_t seconds) argument
421 if (seconds == 0)
422 seconds = 1;
423 reltimeout.tv_sec = seconds;
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c235 * mm : ss minutes and seconds (for CPU time only)
251 char *seconds = strtok_r(NULL, " \t", &lastc); local
254 if (seconds != NULL && strtok_r(NULL, " \t", &lastc) != NULL)
259 if (seconds == NULL || *seconds == '\0')
262 sec = strtoull(seconds, &lastc, 10);
404 s = " time(seconds)\t\t";
/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/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DOption.java231 * Gets a time option value indicating the given number of seconds.
233 * @param n number of seconds
234 * @return time option value indicating the given number of seconds
237 seconds(int n) method in class:Option
/illumos-gate/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;
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c70 nsleep(int seconds) argument
74 tspec.tv_sec = seconds;

Completed in 85 milliseconds

123