Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddate.c200 Date->hour = ADM_twodigits(&String[0]); in ADM_Decode_Date()
204 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
214 Date->hour = ADM_twodigits(&String[0]); in ADM_Decode_Date()
218 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
230 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
238 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
256 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
281 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
306 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
329 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c121 uint_t year, month, day, hour, min, sec; in pc_tvtopct() local
154 hour = (int)(unixtime / 3600); in pc_tvtopct()
155 unixtime -= 3600 * hour; in pc_tvtopct()
163 PC_DPRINTF3(1, "ux2pc time: %dh%dm%ds\n", hour, min, sec); in pc_tvtopct()
169 ASSERT(hour < 24); in pc_tvtopct()
192 uint_t year, month, day, hour, min, sec; in pc_pcttotv() local
196 hour = (LE_16(pctp->pct_time) >> HOURSHIFT) & HOURMASK; in pc_pcttotv()
213 hour > 23 || min > 59 || sec > 59) { in pc_pcttotv()
216 day, month, year, hour, min, sec); in pc_pcttotv()
222 PC_DPRINTF3(1, "pc2ux time: %dh%dm%ds\n", hour, min, sec); in pc_pcttotv()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvrtc.c70 uint8_t hour; member
354 ASSERT(ct.hour >= 0 && ct.hour <= 23); in vrtc_time_to_cmos()
363 int hour; in vrtc_time_to_cmos() local
365 hour = ct.hour; in vrtc_time_to_cmos()
373 hour = 12; in vrtc_time_to_cmos()
381 hour = ct.hour % 12; in vrtc_time_to_cmos()
386 rtc->hour = rtc_enc(rtc, hour); in vrtc_time_to_cmos()
433 hour = rtc_dec(rtc, hour, errp); in rtc_parse_hour()
436 if (hour >= 1 && hour <= 12) { in rtc_parse_hour()
448 hour = 0; in rtc_parse_hour()
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c41 int hour, min; in conv_time() local
59 if ((hour = min / 60) != 0) in conv_time()
62 if (hour) in conv_time()
64 MSG_ORIG(MSG_TIME_HMSF), hour, min, sec, usec); in conv_time()
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c702 int hour; in conv_gmt() local
709 hour = (seconds / 60) / 60; in conv_gmt()
723 _conv_gmt_posix(int hour) in _conv_gmt_posix() argument
728 if (hour == 0) { in _conv_gmt_posix()
734 if (hour < 0) { in _conv_gmt_posix()
737 hour = -hour; in _conv_gmt_posix()
746 xsign, hour, xsign, hour); in _conv_gmt_posix()
752 _conv_gmt_zoneinfo(int hour) in _conv_gmt_zoneinfo() argument
757 if (hour < 0) { in _conv_gmt_zoneinfo()
760 hour = -hour; in _conv_gmt_zoneinfo()
[all …]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c162 int year, month, day, hour, minute, sec, gmtoff; local
167 hour = HDE_DATE_HOUR(dp);
178 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
199 int year, month, day, hour, minute, sec, gmtoff; local
204 hour = HSV_DATE_HOUR(dp);
215 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
/illumos-gate/usr/src/cmd/cron/
H A Datt1.y87 : hour {
90 | hour COLON number {
95 | hour minute {
211 hour
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c93 int sec, min, hour, day, month, year; in get_time() local
98 hour = BCD_TO_BYTE(mostek[2] & 0x3f); in get_time()
106 utc = (utc << 3) + (utc << 4) + hour; /* 24 * day + hour */ in get_time()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxscan.c48 int hour; member
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian…
108 if (set->hour >= 0) in gen()
110 if (set->hour < tm->tm_hour && set->yday < 0 && set->mday < 0 && set->wday < 0) in gen()
112 tm->tm_hour = set->hour; in gen()
278 set.hour = n; in scan()
283 set.hour = n; in scan()
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c274 char *hour; in parse_datetime() local
311 hour = strsep(&p, ":"); in parse_datetime()
320 hour == NULL || strlen(hour) != 2 || !isnumber(hour) || in parse_datetime()
331 tm.tm_hour = atoi(hour); in parse_datetime()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c517 ct->hour > 23 || ct->min > 59 || ct->sec > 59 || in clock_ct_to_ts()
539 ts->tv_sec = (((time_t)days * 24 + ct->hour) * 60 + ct->min) * 60 + in clock_ct_to_ts()
577 ct->hour = rsec / 3600; in clock_ts_to_ct()
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dclock.h61 int hour; /* hour (0 - 23) */ member
/illumos-gate/usr/src/cmd/bnu/
H A DREADME39 uudemon.hour: hourly demon
78 by invoking uucico with -sSYSTEM option. (see uudemon.hour)
82 39,9 * * * * /usr/bin/su uucp -c "/usr/lib/uucp/uudemon.hour" > /dev/null
H A Duudemon.crontab35 #11,41 * * * * /usr/lib/uucp/uudemon.hour
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c1083 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_dirdate() local
1088 hour = HDE_DATE_HOUR(dp); in hs_parse_dirdate()
1099 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec; in hs_parse_dirdate()
1118 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_longdate() local
1123 hour = HSV_DATE_HOUR(dp); in hs_parse_longdate()
1134 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec; in hs_parse_longdate()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c998 hour, in gtime() local
1006 || (hour = tm -> tm_hour) < 0 || hour > 24 in gtime()
1010 if (hour == 24) { in gtime()
1011 hour = 0; in gtime()
1024 result = 24 * result + hour; in gtime()
/illumos-gate/usr/src/data/zoneinfo/
H A Dasia1426 # of the previous years by one hour and a half.
1453 # time was pulled back half an hour and that half hour still remains."
1633 # are an hour ahead of Baghdad."
2031 # hour such that it will be UTC+3.
2309 # were to move clocks 1 hour forward.
2312 # of the Uzbek SSR were to move clocks 1 hour backwards.
3039 # advance clocks in the country by one hour from April 15 to
3055 # "Clocks to go back one hour from 1 Oct"
3251 # minutes per hour as of Friday morning."
3775 # "Sri Lanka advances clock by an hour to avoid blackout"
[all …]
H A Dsystemv8 # using the System V "TZ" scheme (half-hour offset), or anything outside
H A Daustralasia321 # move clocks forward by one hour from 2am
335 # the daylight saving period is 1 hour in advance of the standard time
342 # clocks go forward an hour at 2am to 3am.... Daylight Saving will
825 # are off by an hour starting in 1901.
1586 # hour ahead of NSW time.
1593 # arrangements on the Island, e.g. advance clocks by 1 full hour
1604 # of DST, LHI is actually 1 hour ahead of the rest of NSW.
2136 # (12 + 1 hour DST).
2144 # set back an hour on the closing date."
2166 # hour to 1:00am.
[all …]
/illumos-gate/usr/src/cmd/sa/
H A DREADME55 cause data collection program to be activated at every hour
56 on the hour from 8:00 to 23:00 on weekdays.
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c112 long sec, mins, hour; in ospf_print_lsa_age() local
117 hour = age / 3600; in ospf_print_lsa_age()
118 if (hour != 0) in ospf_print_lsa_age()
120 hour, mins, sec); in ospf_print_lsa_age()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c171 int hour = tme->tm_hour; in tm_to_secs() local
190 num_sec += hour * 60 * 60; in tm_to_secs()
/illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/
H A Dhermon_ib.h123 uint8_t hour; member
/illumos-gate/usr/src/cmd/units/
H A Dunittab72 hour 60 min
73 hr hour
368 refrigeration 12000 btu/ton-hour
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h98 L_DECL(hour);

12