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()
248 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
256 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
268 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
281 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()
174 LE_16(hour << HOURSHIFT | min << MINSHIFT | (sec / 2) << SECSHIFT); 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()
[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()
370 switch (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()
388 if ((rtc->reg_b & RTCSB_24HR) == 0 && ct.hour >= 12) { in vrtc_time_to_cmos()
390 rtc->hour |= HOUR_IS_PM; in vrtc_time_to_cmos()
[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()
712 cp = _conv_gmt_posix(hour); in conv_gmt()
714 cp = _conv_gmt_zoneinfo(hour); 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
[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.y84 : hour {
87 | hour COLON number {
92 | hour minute {
208 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/data/zoneinfo/
H A Dasia55 # and +0330 for integer hour and minute UT offsets. Although earlier
198 # Bangladesh has decided that the clock advanced by an hour to make
213 # "...The government yesterday decided to put the clock back by one hour
278 # forward for an hour starting from midnight of that Saturday. The report did
287 # the clocks were all set one hour ahead of sun time. Though the scheme was
326 # business and log-keeping, although they did changed their office hour to
430 # (To establish summer time from 1986. On 4 May, set the clocks ahead one hour
431 # at 2 am. On 14 September, set the clocks backward one hour at 2 am.)
515 # different - the occupied districts going by Tokyo time, an hour
713 # Kong Time 04:00 am)" and the clock will fall back for a half hour. (03:00
[all …]
H A Dsystemv8 # using the System V "TZ" scheme (half-hour offset), or anything outside
H A Daustralasia297 # Members of the public are reminded to change their time to one hour in
298 # advance at 2am to 3am on October 23, 2011 and one hour back at 3am to
321 # 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
612 # "651. The hour of the day shall in each of the islands included in the
617 # "651 (1) The hour of the day in each of the islands included in the Cook
620 # West of Greenwich. (2) The hour of the day in the Island of Niue shall be
745 # ... when the standard time strikes the hour of four o'clock (4.00am
825 # are off by an hour starting in 1901.
[all …]
H A Dafrica194 # Egypt will turn back clocks by one hour at the midnight of Thursday
212 # shifting business hours one hour out of daytime heat. Consequently,
376 # half an hour by the Alteration of Time Ordinance, 1928.
453 # Libya set their time one hour back at 02:00 on Saturday November 10.
454 # https://www.libyaherald.com/2012/11/04/clocks-to-go-back-an-hour-on-saturday/
557 # Mauritius. The summer time period which will be of one hour ahead of
584 # "The trial ended on March 29, 2009, when the clocks moved back by one hour
607 # be one hour ahead of GMT between 1 June and 27 September, according to
791 # (Google Translation) The hour will thus be delayed 60 minutes
1224 # viz., half an hour fast on Greenwich mean time, corresponding to the meridian
[all …]
/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/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

12