Home
last modified time | relevance | path

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

12

/original-bsd/sys/pmax/pmax/
H A Dclock.c91 int sec, min, hour, day, mon, year; local
110 hour = c->hour;
118 hour > 23 || min > 59 || sec > 59) {
137 time.tv_sec = days * SECDAY + hour * 3600 + min * 60 + sec;
167 int sec, min, hour, day, mon, year; in resettodr() local
191 hour = t / 3600; in resettodr()
203 c->hour = hour; in resettodr()
H A Dclockreg.h43 u_char hour; /* current hours */ member
/original-bsd/sys/news3400/news3400/
H A Dclock.c91 int sec, min, hour, week, day, mon, year; local
105 hour = bcd_to_int(*rtc_data++);
114 hour > 23 || min > 59 || sec > 59) {
132 time.tv_sec = days * SECDAY + hour * 3600 + min * 60 + sec;
161 int sec, min, hour, week, day, mon, year; in resettodr() local
193 hour = t / 3600; in resettodr()
201 *rtc_data++ = int_to_bcd(hour); in resettodr()
/original-bsd/sys/sparc/sparc/
H A Dclock.c313 chiptotime(sec, min, hour, day, mon, year) in chiptotime() argument
314 register int sec, min, hour, day, mon, year; in chiptotime()
320 hour = FROMBCD(hour);
335 return (days * SECDAY + hour * 3600 + min * 60 + sec);
341 int hour; member
380 c->hour = t / 3600;
387 c->hour = TOBCD(c->hour);
400 int sec, min, hour, day, mon, year; local
413 hour = cl->cl_hour;
419 if ((time.tv_sec = chiptotime(sec, min, hour, day, mon, year)) == 0) {
[all …]
/original-bsd/usr.bin/at/at/
H A Dat.c108 int hour; /* hour of day that job is to be run */ member
274 makeatfile(atfile,attime.year,attime.yday,attime.hour,attime.min);
471 makeatfile(atfile,year,dayofyear,hour,minute) in makeatfile() argument
473 int hour;
482 year, dayofyear, hour, minute, (getpid() + i) % 100);
498 if (attime.hour < nowtime.hour) in istomorrow()
500 if ((attime.hour == nowtime.hour) && (attime.min < nowtime.min)) in istomorrow()
516 printf("HOUR\tnowtime: %d\tattime: %d\n",nowtime.hour,attime.hour); in printit()
645 if ((attime.yday == nowtime.yday) && (attime.hour < nowtime.hour)) in isnextyear()
755 attime->hour = nowtime->hour = now->tm_hour;
[all …]
/original-bsd/sys/luna68k/luna68k/
H A Dclock.c219 int year, month, day, hour, min, sec; local
233 hour = bbc2->cal_hour;
244 hour = bcd_to_binary(bbc->cal_hour);
253 range_test(hour, 0, 23);
272 tmp = ((tmp * 24 + hour) * 60 + min) * 60 + sec;
/original-bsd/sys/vax/vax/
H A Dka820.c95 c.hour = clock->hr;
104 c.hour >>= 1; /* tweak */
125 c.hour <<= 1; /* tweak */ in ka820_clkwrite()
136 clock->hr = c.hour; in ka820_clkwrite()
H A Dka630.c73 c.hour = claddr->hr;
104 claddr->hr = c.hour; in ka630_clkwrite()
H A Dclock.c203 return (days * SECDAY + c->hour * 3600 + c->min * 60 + c->sec);
235 c->hour = t / 3600;
/original-bsd/sys/hp300/hp300/
H A Dclock.c341 int year, month, day, hour, min, sec; local
351 hour = ((bbc_registers[5] & 0x03) * 10) + bbc_registers[4];
356 range_test(hour, 0, 23);
372 tmp = ((tmp * 24 + hour) * 60 + min) * 60 + sec;
/original-bsd/games/dm/
H A Ddm.c140 hour(start);
142 hour(stop);
253 hour(h) in hour() function
/original-bsd/sys/vax/include/
H A Dclock.h53 int hour; member
/original-bsd/usr.bin/at/atq/
H A Datq.c374 int hour = 0; /* hour file will be executed */ local
386 sscanf(filename,"%2d.%3d.%2d%2d",&year,&yday,&hour,&min);
393 day, year,hour,min);
/original-bsd/games/rogue/
H A Dsave.c386 if (saved_time->hour < mod_time->hour) {
388 } else if (saved_time->hour > mod_time->hour) {
H A Dmachdep.c283 rt_buf->hour = t->tm_hour;
319 rt_buf->hour = t->tm_hour;
H A Drogue.h443 short hour; /* 0 - 23 */ member
/original-bsd/games/hack/
H A Dhack.unix.c80 register int hour = getlt()->tm_hour; in night() local
82 return(hour < 6 || hour > 21); in night()
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_node.c363 int y, m, d, hour, minute, second, tz; local
368 hour = pi[3];
389 crtime = ((((days * 24) + hour) * 60 + minute) * 60) + second;
/original-bsd/share/zoneinfo/datfiles/
H A Detcetera5 # (half hour zones are too much to bother with -- when someone asks!)
H A Dsystemv5 # using the System V "TZ" scheme (half-hour offset), or anything outside
H A Deurope33 # "British Standard Time, also one hour ahead of G. M. T., was kept between
209 # assumed that DST is 1 hour ahead of normal time, this need not be the
/original-bsd/usr.bin/ftp/
H A Dcmds.c630 int yy, mo, day, hour, min, sec; local
635 &yy, &mo, &day, &hour, &min, &sec);
645 tm->tm_hour > hour) ||
646 (tm->tm_hour == hour &&
2156 int yy, mo, day, hour, min, sec; local
2158 &day, &hour, &min, &sec);
2161 mo, day, yy, hour, min, sec);
/original-bsd/old/berknet/
H A Dnetdaemon.c243 int hour; in day() local
248 sscanf( ctime( &t ), "%*s%*s%*s%2d", &hour ); in day()
249 if( (hour>=0) && (hour<6) ) in day()
/original-bsd/usr.bin/uucp/UUAIDS/
H A DL.sys32 # These time may be suffixed with a time range nnnn-mmmm in thge 24 hour clock
/original-bsd/usr.bin/calendar/calendars/
H A Dcalendar.history215 07/09 10-hour working day set by law, NH, 1847
217 07/12 Minimum wages established: 40 cents/hour, 1933

12