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

/illumos-gate/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)) {
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c223 int days, hours, minutes; local
230 hours = minutes / 60; minutes %= 60;
231 days = hours / 24; hours %= 24;
234 updown, days, hours, minutes);
237 updown, hours, minutes);
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c43 * validate that hours and minutes of prime/non-prime read in
61 static struct hours { struct
86 register struct hours *hp;
230 /* validate prime/nonprime hours */
233 "pnpsplit: invalid p/np hours\n");
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dhdr_misc.c91 if (*str2 == ':') { /* that was hours (or minutes) */
99 if (*str2 == ':') { /* converted hours and minutes */
126 int hours; local
162 hours = (ovflow >= 60);
163 if (hours) {
164 /* convert hours */
169 /* convert minutes (use two digits if hours printed) */
170 (void) sprintf(p, "%0*d:", (hours ? 2 : 1), ovflow);
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c882 int neg, days, hours, minutes, seconds; local
891 hours = duration / 3600;
898 hours, minutes, seconds);
H A Dkdb5_ldap_realm.c146 #define ADMIN_LIFETIME 60*60*3 /* 3 hours */
1929 int neg, days, hours, minutes, seconds; local
1938 hours = duration / 3600;
1945 hours, minutes, seconds);
/illumos-gate/usr/src/lib/libresolv/
H A Dres_debug.c489 int secs, mins, hours; local
501 hours = value % 24;
510 if (hours) {
513 (void) sprintf(p, "%d hour%s", PLURALIZE(hours));
517 if (value || hours)
522 if (secs || ! (value || hours || mins)) {
523 if (value || hours || mins)
/illumos-gate/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);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_pwd.c427 int hours; local
438 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) &&
439 (hours >= 0)) {
440 if (hours < 1)
443 else if (hours <= 48)
445 hours, (hours == 1)?"":"s");
448 hours/24);
H A Dstr_conv.c289 int days, hours, minutes, seconds;
306 hours = (int) (dt / 3600);
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.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
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c757 int days, hours, minutes; local
764 hours = minutes / 60;
766 days = hours / 24;
767 hours %= 24;
770 updown, days, hours, minutes);
773 updown, hours, minutes);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h99 L_DECL(hours); variable
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c785 long hours; local
831 hours = time_left / (60 * 60);
832 time_left -= hours * (60 * 60);
836 "time %02d:%02d:%02d \n", hours, minutes, time_left);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c1807 int hours, minutes, seconds; local
1812 hours = ttl / 3600;
1817 if (hours > 0)
1818 sprintf(ttlbuf, "%2d:%02d:%02d", hours, minutes, seconds);
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c116 int neg, days, hours, minutes, seconds; local
125 hours = duration / 3600;
132 hours, minutes, seconds);
/illumos-gate/usr/src/cmd/ps/
H A Dps.c1620 time_t hours; local
1632 hours = tim % 24;
1637 days, hours, minutes, seconds);
1638 } else if (hours > 0) {
1640 hours, minutes, seconds);
2221 * Print starting time of process unless process started more than 24 hours
2241 * 24 hours.
2248 * 24 hours.
2256 * 24 hours.
/illumos-gate/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c816 uint64_t secs, mins, hours, pct; local
818 hours = 0;
832 hours = mins / 60;
836 (void) snprintf(str, len, "%llu:%2.2llu:%2.2llu", hours,
839 (void) snprintf(str, len, "%llu-%2.2llu-%2.2llu.%2.2llu", hours,
2159 int hours = 0; local
2171 /* Look for hours */
2175 if ((hours = zonestat_extract_int(this, next, &end)) == -1)
2217 seconds += (hours * 60 * 60);
/illumos-gate/usr/src/uts/common/sys/
H A Dvideodev2.h360 uint8_t hours; member in struct:v4l2_timecode
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb.h143 * The hours range is 0-23, the minutes range is 0-59 and the two_sec
149 uint16_t hours : 5; member in struct:smb_time

Completed in 166 milliseconds