/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | date.c | 202 Date->hour = ADM_twodigits(&String[0]); 206 if (((int)Date->hour < 0) || (Date->hour > 23)) 216 Date->hour = ADM_twodigits(&String[0]); 220 if (((int)Date->hour < 0) || (Date->hour > 23)) 232 Date->hour = ADM_twodigits(&String[4]); 240 if (((int)Date->hour < 0) || (Date->hour > 23)) 250 Date->hour [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 41 int hour, min; local 59 if ((hour = min / 60) != 0) 62 if (hour) 64 MSG_ORIG(MSG_TIME_HMSF), hour, min, sec, usec);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_subr.c | 61 * time may therefore end up being wrong by an hour, but this: 121 uint_t year, month, day, hour, min, sec; local 154 hour = (int)(unixtime / 3600); 155 unixtime -= 3600 * hour; 163 PC_DPRINTF3(1, "ux2pc time: %dh%dm%ds\n", hour, min, sec); 169 ASSERT(hour < 24); 174 LE_16(hour << HOURSHIFT | min << MINSHIFT | (sec / 2) << SECSHIFT); 192 uint_t year, month, day, hour, min, sec; local 196 hour = (LE_16(pctp->pct_time) >> HOURSHIFT) & HOURMASK; 213 hour > 2 [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 95 int sec, min, hour, day, month, year; local 100 hour = BCD_TO_BYTE(mostek[2] & 0x3f); 108 utc = (utc << 3) + (utc << 4) + hour; /* 24 * day + hour */ 109 utc = (utc << 6) - (utc << 2) + min; /* 60 * hour + min */
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | att1.y | 87 : hour { 90 | hour COLON number { 95 | hour minute { 125 atabort("bad hour"); 131 atabort("bad hour"); 211 hour
|
/illumos-gate/usr/src/cmd/touch/ |
H A D | touch.c | 274 char *hour; local 311 hour = strsep(&p, ":"); 320 hour == NULL || strlen(hour) != 2 || !isnumber(hour) || 331 tm.tm_hour = atoi(hour);
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_subr.c | 164 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;
|
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 704 int hour; local 711 hour = (seconds / 60) / 60; 714 cp = _conv_gmt_posix(hour); 716 cp = _conv_gmt_zoneinfo(hour); 725 _conv_gmt_posix(int hour) argument 730 if (hour == 0) { 736 if (hour < 0) { 738 /* make hour positive for snprintf() */ 739 hour = -hour; 754 _conv_gmt_zoneinfo(int hour) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxscan.c | 48 int hour; member in struct:__anon2675 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=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE) 108 if (set->hour >= 0) 110 if (set->hour < tm->tm_hour && set->yday < 0 && set->mday < 0 && set->wday < 0) 112 tm->tm_hour = set->hour; 278 set.hour = n; 283 set.hour = n;
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vercheck.c | 80 * on the year, month, day, hour and minute by turning that into 87 int maj, year, month, day, hour, min; local 150 hour = strtoi(c, NULL); 154 DAY(day) + HOUR(hour) + MINUTE(min));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf.c | 114 long sec, mins, hour; local 119 hour = age / 3600; 120 if (hour != 0) 122 hour, mins, sec);
|
/illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/ |
H A D | hermon_ib.h | 123 uint8_t hour; member in struct:cnx_fw_build_time_tag
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 79 * It should be noted that when there is DST there is one local hour 80 * a year when time occurs twice (in the fall) and one local hour a 173 int hour = tme->tm_hour; local 192 num_sec += hour * 60 * 60; 265 * types are - 's' second, 'm' minute, 'h' hour, and 'd' day.
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 220 ssize_t hour; local 377 hour = n; 498 hour = n; 580 + hour) * 60 + min) * 60 + sec; 603 ssize_t hour; local 614 hour = now % 24; 675 i = hour / 10; 677 *cp++ = '0' + (hour - i * 10);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | tmplout.c | 1003 hour, 1011 || (hour = tm -> tm_hour) < 0 || hour > 24 1015 if (hour == 24) { 1016 hour = 0; 1029 result = 24 * result + hour; 1002 hour, local
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 1082 int year, month, day, hour, minute, sec, gmtoff; local 1087 hour = HDE_DATE_HOUR(dp); 1098 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec; 1117 int year, month, day, hour, minute, sec, gmtoff; local 1122 hour = HSV_DATE_HOUR(dp); 1133 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | literals.h | 98 L_DECL(hour); variable
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | Makefile | 39 LIBSHELLS = Uutry uudemon.admin uudemon.cleanup uudemon.hour uudemon.poll
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todm5819p_rmc.c | 273 set_time_msg.hour = tod.tod_hour;
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1522 int hour, min, sec; /* Time */ local 1525 if (sscanf(s, "%*s%d%15s%d%d:%d:%d", &day, mon, &year, &hour, &min, &sec) < 6) 1538 tdate.tm_hour = hour;
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | spoolss.ndl | 171 WORD hour; 394 WORD hour;
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 497 gethm(char *src, int *hour, int *min) argument 499 if (sscanf(src, "%d:%d", hour, min) != 2) {
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4u/ |
H A D | psycho.esc | 244 N=1000, T=1hour, method=persistent,
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 1312 unsigned year,month,day,hour,min,sec; /* Calendar time components */ local 1344 if(sscanf(timestr, "%4u%2u%2u%2u%2u%2u", &year, &month, &day, &hour, &min, 1358 t.tm_hour = hour;
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_ami.h | 166 short hour; member in struct:__anon4022
|