Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/lib/libshell/common/scripts/
H A Dtermclock.sh180 hours.val+=minutes.val/60. ,
186 draw_clock_hand hours
205 clear_clock_hand hours
257 compound hours=(
265 hours.length=50 hours.scale=12 hours.ch=$"h"
/titanic_50/usr/src/cmd/initpkg/
H A Dshutdown.sh148 hours=`/usr/bin/expr ${grace} / 3600`
152 if [ ${hours} -gt 1 ]
154 time="${hours} hours "
155 elif [ ${hours} -eq 1 ]
166 if [ ${hours} -eq 0 -a ${seconds} -gt 0 ]
/titanic_50/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c52 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()
/titanic_50/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
59 hours = src % 24; src /= 24; in ns_format_ttl()
72 if (hours) { in ns_format_ttl()
73 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl()
80 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c223 int days, hours, minutes; in interval() local
230 hours = minutes / 60; minutes %= 60; in interval()
231 days = hours / 24; hours %= 24; in interval()
234 updown, days, hours, minutes); in interval()
237 updown, hours, minutes); in interval()
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dprogressmeter.c131 int hours, minutes, seconds; in refresh_progress_meter() local
210 hours = seconds / 3600; in refresh_progress_meter()
211 seconds -= hours * 3600; in refresh_progress_meter()
215 if (hours != 0) in refresh_progress_meter()
217 "%d:%02d:%02d", hours, minutes, seconds); in refresh_progress_meter()
/titanic_50/usr/src/cmd/audio/utilities/
H A Dhdr_misc.c126 int hours; in audio_secs_to_str() local
162 hours = (ovflow >= 60); in audio_secs_to_str()
163 if (hours) { in audio_secs_to_str()
170 (void) sprintf(p, "%0*d:", (hours ? 2 : 1), ovflow); in audio_secs_to_str()
/titanic_50/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)
/titanic_50/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.c427 int hours; in __krb5_get_init_creds_password() local
438 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) && in __krb5_get_init_creds_password()
439 (hours >= 0)) { in __krb5_get_init_creds_password()
440 if (hours < 1) in __krb5_get_init_creds_password()
443 else if (hours <= 48) in __krb5_get_init_creds_password()
445 hours, (hours == 1)?"":"s"); in __krb5_get_init_creds_password()
448 hours/24); in __krb5_get_init_creds_password()
/titanic_50/usr/src/data/zoneinfo/
H A Detcetera17 # 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."
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c757 int days, hours, minutes; in interval() local
764 hours = minutes / 60; in interval()
766 days = hours / 24; in interval()
767 hours %= 24; in interval()
770 updown, days, hours, minutes); in interval()
773 updown, hours, minutes); in interval()
/titanic_50/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()
/titanic_50/usr/src/cmd/acct/lib/
H A Dpnpsplit.c61 static struct hours { struct
86 register struct hours *hp; argument
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslogd.dfl40 # CYCLE_FREQUENCY specifies the frequency (in hours) with which the
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c785 long hours; in calc_completion() local
831 hours = time_left / (60 * 60); in calc_completion()
832 time_left -= hours * (60 * 60); in calc_completion()
836 "time %02d:%02d:%02d \n", hours, minutes, time_left); in calc_completion()
/titanic_50/usr/src/cmd/zic/
H A Dtzselect.po26 msgid "For example, GST-10 is a zone named GST that is 10 hours "
/titanic_50/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);
/titanic_50/usr/src/lib/libsqlite/test/
H A Ddate.test84 datetest 2.27 {datetime('2003-10-22 12:34','-1.25 hours')} \
216 datetest 8.18 {datetime('now','-1.25 hours')} {2003-10-22 11:19:00}
/titanic_50/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()
/titanic_50/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h99 L_DECL(hours);
/titanic_50/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DOption.java261 hours(int n) in hours() method in Option
/titanic_50/usr/src/lib/libslp/etc/
H A Dslp.conf.example87 # This example sets it to 7200 seconds (two hours):
97 # to 3 hours (10800 seconds):
/titanic_50/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