Searched defs:hours (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; local
59 hours = src % 24; src /= 24;
72 if (hours) {
73 T(fmt1(hours, 'H', &dst, &dstlen));
80 if (secs || !(weeks || days || hours || mins)) {
/osnet-11/usr/src/lib/libresolv/
H A Dres_debug.c486 int secs, mins, hours; local
498 hours = value % 24;
507 if (hours) {
510 (void) sprintf(p, "%d hour%s", PLURALIZE(hours));
514 if (value || hours)
519 if (secs || ! (value || hours || mins)) {
520 if (value || hours || mins)
/osnet-11/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c52 int days = 0, hours = 0; local
57 hours = (days * 24) + seconds_d / 3600;
68 "Your password will expire in %d hours."),
69 (seconds_h == 0) ? hours : hours + 1);
88 int days = 0, hours = 0; local
103 hours = (days * 24) + seconds_d / 3600;
116 " in %d hours."),
117 (seconds_h == 0) ? hours : hours
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgstr.c1104 unsigned long long hours; local
1125 hours = minutes / 60ll; /* total hours */
1126 minutes = minutes % 60ll; /* minutes left over from hours */
1131 hours, minutes, seconds, ns);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_pwd.c399 int hours; local
413 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) &&
414 (hours >= 0)) {
415 if (hours < 1)
418 else if (hours <= 48)
421 hours, (hours == 1)?"":"s");
425 hours/24);
H A Dstr_conv.c292 int days, hours, minutes, seconds;
308 hours = (int) (dt / 3600);
314 snprintf(buffer, buflen, "%d:%02d:%02d", hours, minutes, seconds);
315 else if (hours || minutes || seconds)
318 hours, minutes, seconds);
290 int days, hours, minutes, seconds; local
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DOption.java255 * Gets a time option value indicating the given number of hours.
257 * @param n number of hours
258 * @return time option value indicating the given number of hours
261 hours(int n) method in class:Option

Completed in 63 milliseconds