Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/cmd/initpkg/
H A Dshutdown.sh143 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 Dldap_acct_mgmt.c50 int days = 0, hours = 0; in warn_user_passwd_will_expire() local
55 hours = (days * 24) + seconds_d / 3600; in warn_user_passwd_will_expire()
67 (seconds_h == 0) ? hours : hours + 1); in warn_user_passwd_will_expire()
86 int days = 0, hours = 0; in display_acct_unlock_time() local
101 hours = (days * 24) + seconds_d / 3600; in display_acct_unlock_time()
115 (seconds_h == 0) ? hours : hours + 1); in display_acct_unlock_time()
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c61 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 Dns_ttl.c48 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 Druptime.c221 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 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/cmd/audio/utilities/
H A Dhdr_misc.c124 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 Dstr_conv.c287 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 Dgic_pwd.c431 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 Din.rwhod.c755 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 Detcetera16 # 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 Dantarctica262 # 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 Dsouthamerica90 # 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.
1530 # hours) on the first Sunday of September at 0200hrs.
1534 # time (UTC/GMT - 3 hours) throughout the whole of 2011. Any long term
1606 # of the clock back to 24:00 hours."
2003 # "'Venezuela's new time-zone: hours without light, hours without water,
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c1104 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/fs.d/nfs/nfslog/
H A Dnfslogd.dfl40 # CYCLE_FREQUENCY specifies the frequency (in hours) with which the
/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);
/illumos-gate/usr/src/cmd/zic/
H A Dtzselect.po26 msgid "For example, GST-10 is a zone named GST that is 10 hours "
/illumos-gate/usr/src/lib/libsqlite/test/
H A Ddate.test82 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 Dzonestat.c816 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 Dliterals.h99 L_DECL(hours);
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DOption.java259 hours(int n) in hours() method in Option
/illumos-gate/usr/src/lib/libslp/etc/
H A Dslp.conf.example86 # This example sets it to 7200 seconds (two hours):
96 # to 3 hours (10800 seconds):
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Dsmatch.txt29 for the kernel takes 2-3 hours on my computer. For the kernel you build
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.c141 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/cmd/ps/
H A Dps.c1620 time_t hours; in print_time() local
1632 hours = tim % 24; in print_time()
1637 days, hours, minutes, seconds); in print_time()
1638 } else if (hours > 0) { in print_time()
1640 hours, minutes, seconds); in print_time()

12