/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_ttl.c | 54 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 D | ldap_acct_mgmt.c | 52 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 D | ruptime.c | 223 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 D | pnpsplit.c | 43 * 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 D | hdr_misc.c | 91 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 D | kdb5_ldap_policy.c | 882 int neg, days, hours, minutes, seconds; local 891 hours = duration / 3600; 898 hours, minutes, seconds);
|
H A D | kdb5_ldap_realm.c | 146 #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 D | res_debug.c | 489 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 D | pkgstr.c | 1104 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 D | gic_pwd.c | 427 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 D | str_conv.c | 289 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 D | Option.java | 255 * 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 D | in.rwhod.c | 757 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 D | literals.h | 99 L_DECL(hours); variable
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_trace.c | 785 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 D | ipfstat.c | 1807 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 D | kadmin.c | 116 int neg, days, hours, minutes, seconds; local 125 hours = duration / 3600; 132 hours, minutes, seconds);
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 1620 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 D | zonestat.c | 816 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 D | videodev2.h | 360 uint8_t hours; member in struct:v4l2_timecode
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb.h | 143 * 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
|