Home
last modified time | relevance | path

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

1234

/onnv-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddate.c202 Date->hour = ADM_twodigits(&String[0]); in ADM_Decode_Date()
206 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
216 Date->hour = ADM_twodigits(&String[0]); in ADM_Decode_Date()
220 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
232 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
240 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
250 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
258 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
270 Date->hour = ADM_twodigits(&String[4]); in ADM_Decode_Date()
283 if (((int)Date->hour < 0) || (Date->hour > 23)) in ADM_Decode_Date()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Time/
H A DLocal.t40 my($year, $mon, $mday, $hour, $min, $sec) = @$_;
46 my $time = timelocal($sec,$min,$hour,$mday,$mon,$year);
52 $h == $hour &&
68 $time = timegm($sec,$min,$hour,$mday,$mon,$year);
73 $h == $hour &&
107 my $hour = (localtime(timelocal(0, 0, 2, 7, 3, 102)))[2];
110 print "not " unless $hour == 2 || $hour == 3;
H A DLocal.pm72 my ($sec,$min,$hour,$mday,$month,$year) = @_;
84 croak "Cannot handle date ($sec, $min, $hour, $mday, $month, $year)";
93 croak "Hour '$hour' out of range 0..23" if $hour > 23 or $hour < 0;
102 croak "Cannot handle date ($sec, $min, $hour, $mday, $month, $year)";
105 $sec += $SecOff + 60*$min + 3600*$hour;
H A Dlocaltime.t34 print "not " unless $localtime->hour == $localtime[2];
H A Dgmtime.t34 print "not " unless $gmtime->hour == $gmtime[2];
/onnv-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 …]
/onnv-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()
/onnv-gate/usr/src/cmd/krb5/kadmin/gui/dchanger/
H A DDateTimeDialog.java61 private DCCircularTextField hour; field in DateTimeDialog
173 hour = new DCCircularTextField("00", 2); in addFields()
174 hour.setMaximum(23); in addFields()
175 hour.setBackground(background); in addFields()
176 hour.setForeground(foreground); in addFields()
210 topPanel.add(hour, gbc); in addFields()
248 hourDCPanel.setListener(hour); in addDCPanels()
328 hour.addFocusListener(fl); in addFocusListeners()
354 checkErrorAndSet(hour) && checkErrorAndSet(minute) && in updateFromGui()
419 hour.setValue(calendar.get(Calendar.HOUR_OF_DAY)); in setDate()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dctime.pl36 local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
43 ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
57 $DoW[$wday], $MoY[$mon], $mday, $hour, $min, $sec, $TZ, $year);
/onnv-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c164 int year, month, day, hour, minute, sec, gmtoff; local
169 hour = HDE_DATE_HOUR(dp);
180 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
201 int year, month, day, hour, minute, sec, gmtoff; local
206 hour = HSV_DATE_HOUR(dp);
217 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
/onnv-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c704 int hour; in conv_gmt() local
711 hour = (seconds / 60) / 60; in conv_gmt()
714 cp = _conv_gmt_posix(hour); in conv_gmt()
716 cp = _conv_gmt_zoneinfo(hour); in conv_gmt()
725 _conv_gmt_posix(int hour) in _conv_gmt_posix() argument
730 if (hour == 0) { in _conv_gmt_posix()
736 if (hour < 0) { in _conv_gmt_posix()
739 hour = -hour; in _conv_gmt_posix()
748 xsign, hour, xsign, hour); in _conv_gmt_posix()
754 _conv_gmt_zoneinfo(int hour) in _conv_gmt_zoneinfo() argument
[all …]
/onnv-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c95 int sec, min, hour, day, month, year; in get_time() local
100 hour = BCD_TO_BYTE(mostek[2] & 0x3f); in get_time()
108 utc = (utc << 3) + (utc << 4) + hour; /* 24 * day + hour */ in get_time()
/onnv-gate/usr/src/cmd/cron/
H A Datt1.y87 : hour {
90 | hour COLON number {
95 | hour minute {
211 hour
/onnv-gate/usr/src/lib/libast/common/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()
/onnv-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()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtime.t44 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($beg);
59 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($beg);
/onnv-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_vercheck.c87 int maj, year, month, day, hour, min; in obp_timestamp() local
150 hour = strtoi(c, NULL); in obp_timestamp()
154 DAY(day) + HOUR(hour) + MINUTE(min)); in obp_timestamp()
/onnv-gate/usr/src/common/openssl/crypto/
H A Do_time.c170 short year, month, day, hour, minute, second, in OPENSSL_gmtime() member
195 result->tm_hour = time_values.hour; in OPENSSL_gmtime()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/pod/
H A Dnested_seqs.xr1 The statement: `This is dog kind's *finest* hour!' is a parody of a
H A Dnested_seqs.t19 The statement: C<This is dog kind's I<finest> hour!> is a parody of a
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/
H A DUtil.pm232 my($sec,$min,$hour,$mday,$mon,$year,$wday) = gmtime($time);
235 $WDAY[$wday],$mday,$MON[$mon],$year,$hour,$min,$sec);
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DTutorial.pod150 hour => 16, min => 12, sec => 47,
157 ok( $ical->hour == 16, ' hour()' );
169 ok 5 - hour()
201 hour => 16, min => 12, sec => 47,
208 is( $ical->hour, 16, ' hour()' );
221 ok 5 - hour()
270 # hour, minute and second we expect.
291 is( $ical->hour, $expect->[3], ' hour()' );
339 ok 30 - hour()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs1686 asctime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = 0) in tcdrain()
1689 int hour in tcdrain()
1702 mytm.tm_hour = hour; in tcdrain()
1740 mktime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = 0) in difftime()
1743 int hour in difftime()
1756 mytm.tm_hour = hour; in difftime()
1772 strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1)
1776 int hour
1785 char *buf = my_strftime(fmt, sec, min, hour, mday, mon, year, wday, yday, isdst);
/onnv-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
/onnv-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.

1234