/illumos-gate/usr/src/cmd/initpkg/ |
H A D | shutdown.sh | 143 hours=$((${grace} / 3600)) 147 if [ ${hours} -gt 1 ] 149 time="${hours} hours " 150 elif [ ${hours} -eq 1 ] 161 if [ ${hours} -eq 0 -a ${seconds} -gt 0 ]
|
/illumos-gate/usr/src/lib/pam_modules/ldap/ |
H A D | ldap_acct_mgmt.c | 52 int days = 0, hours = 0; in warn_user_passwd_will_expire() local 57 hours = (days * 24) + seconds_d / 3600; in warn_user_passwd_will_expire() 69 (seconds_h == 0) ? hours : hours + 1); in warn_user_passwd_will_expire() 88 int days = 0, hours = 0; in display_acct_unlock_time() local 103 hours = (days * 24) + seconds_d / 3600; in display_acct_unlock_time() 117 (seconds_h == 0) ? hours : hours + 1); in display_acct_unlock_time()
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 61 static struct hours { struct 85 struct tm cur, end, hours; in pnpsplit() argument 89 struct hours *hp; in pnpsplit() 123 hours.tm_sec = hp->h_sec; in pnpsplit() 124 hours.tm_min = hp->h_min; in pnpsplit() 125 hours.tm_hour = hp->h_hour; in pnpsplit() 126 tmp = tmsecs(&cur, &hours); in pnpsplit()
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_ttl.c | 48 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local 53 hours = src % 24; src /= 24; in ns_format_ttl() 66 if (hours) { in ns_format_ttl() 67 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl() 74 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | ruptime.c | 221 int days, hours, minutes; in interval() local 228 hours = minutes / 60; minutes %= 60; in interval() 229 days = hours / 24; hours %= 24; in interval() 232 updown, days, hours, minutes); in interval() 235 updown, hours, minutes); in interval()
|
/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/cmd/audio/utilities/ |
H A D | hdr_misc.c | 124 int hours; in audio_secs_to_str() local 160 hours = (ovflow >= 60); in audio_secs_to_str() 161 if (hours) { in audio_secs_to_str() 168 (void) sprintf(p, "%0*d:", (hours ? 2 : 1), ovflow); in audio_secs_to_str()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 287 int days, hours, minutes, seconds; in krb5_deltat_to_string() local 304 hours = (int) (dt / 3600); in krb5_deltat_to_string() 311 sprintf(buffer, "%d:%02d:%02d", hours, minutes, seconds); in krb5_deltat_to_string() 312 else if (hours || minutes || seconds) in krb5_deltat_to_string() 315 hours, minutes, seconds); in krb5_deltat_to_string()
|
H A D | gic_pwd.c | 431 int hours; in __krb5_get_init_creds_password() local 442 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) && in __krb5_get_init_creds_password() 443 (hours >= 0)) { in __krb5_get_init_creds_password() 444 if (hours < 1) in __krb5_get_init_creds_password() 447 else if (hours <= 48) in __krb5_get_init_creds_password() 449 hours, (hours == 1)?"":"s"); in __krb5_get_init_creds_password() 452 hours/24); in __krb5_get_init_creds_password()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rwhod.c | 755 int days, hours, minutes; in interval() local 762 hours = minutes / 60; in interval() 764 days = hours / 24; in interval() 765 hours %= 24; in interval() 768 updown, days, hours, minutes); in interval() 771 updown, hours, minutes); in interval()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | etcetera | 16 # Do not use a POSIX TZ setting like TZ='GMT+4', which is four hours 41 # the abbreviation "-04" and corresponds to 4 hours behind UT 43 # mean 4 hours ahead of UT (i.e. east of Greenwich).
|
H A D | antarctica | 262 # time, which is 12 hours ahead of GMT. The Russian Station Vostok was 263 # 6 hours behind that (although only 2 miles away, i.e. 6 hours ahead 264 # of GMT). This is a time zone I think two hours east of Moscow. The 265 # natural time zone is in between the two: 8 hours ahead of GMT." 281 # use UTC+5. Besides, difference between Moscow time is just 2 hours now, not 4.
|
H A D | southamerica | 90 # which did not result in the switch of a time zone, as they stayed 9 hours 102 # So Buenos Aires should be -3 hours from GMT at all times. 143 # the original scanned proposal, where the dates and the zero hours are 285 # hours. As far as I understand it if this goes ahead, we need 1149 # Pacific/Easter is always two hours behind America/Santiago; 1271 # Island is always two hours behind the mainland. 1528 # Normally the clocks revert to Local Mean Time (UTC/GMT -4 hours) on the 1530 # hours) on the first Sunday of September at 0200hrs. 1534 # time (UTC/GMT - 3 hours) throughout the whole of 2011. Any long term 1587 # "Local Mean Time 3 hours 52 mins. 39 secs. slow of Greenwich Mean Time [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 1104 unsigned long long hours; in pkgstrConvertUllToTimeString_r() local 1125 hours = minutes / 60ll; /* total hours */ in pkgstrConvertUllToTimeString_r() 1131 hours, minutes, seconds, ns); in pkgstrConvertUllToTimeString_r()
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbinfo.c | 579 uint32_t days = 0, hours = 0, mins = 0; in print_age() local 591 hours = amt / HRS; in print_age() 601 days, (hours > 0 || mins > 0 || amt > 0) ? ", " : ""); in print_age() 610 hours, mins, amt); in print_age()
|
/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);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslogd.dfl | 40 # CYCLE_FREQUENCY specifies the frequency (in hours) with which the
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | tzselect.po | 26 msgid "For example, GST-10 is a zone named GST that is 10 hours "
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | date.test | 82 datetest 2.27 {datetime('2003-10-22 12:34','-1.25 hours')} \ 214 datetest 8.18 {datetime('now','-1.25 hours')} {2003-10-22 11:19:00}
|
/illumos-gate/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 816 uint64_t secs, mins, hours, pct; in format_ts() local 818 hours = 0; in format_ts() 832 hours = mins / 60; in format_ts() 836 (void) snprintf(str, len, "%llu:%2.2llu:%2.2llu", hours, in format_ts() 839 (void) snprintf(str, len, "%llu-%2.2llu-%2.2llu.%2.2llu", hours, in format_ts() 2159 int hours = 0; in zonestat_parse_time() local 2175 if ((hours = zonestat_extract_int(this, next, &end)) == -1) in zonestat_parse_time() 2217 seconds += (hours * 60 * 60); in zonestat_parse_time()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | literals.h | 99 L_DECL(hours);
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Option.java | 259 hours(int n) in hours() method in Option
|
/illumos-gate/usr/src/lib/libslp/etc/ |
H A D | slp.conf.example | 86 # This example sets it to 7200 seconds (two hours): 96 # to 3 hours (10800 seconds):
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 141 uint64_t days, hours, mins, secs, frac; in mdb_nicetime() local 152 hours = delta % 24; in mdb_nicetime() 164 sign, daybuf, hours, mins, secs, fracbuf); in mdb_nicetime()
|
/illumos-gate/usr/src/tools/smatch/src/Documentation/ |
H A D | smatch.txt | 29 for the kernel takes 2-3 hours on my computer. For the kernel you build
|