Searched refs:tm_hour (Results 1 - 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/cmd/acct/lib/
H A Dtmless.c40 if (t1->tm_hour != t2->tm_hour)
41 return(t1->tm_hour < t2->tm_hour);
H A Dtmsecs.c40 3600L*(t2->tm_hour - t1->tm_hour));
H A Dpnpsplit.c126 cur.tm_hour = hp->h_hour;
311 3600L*(t2->tm_hour - t1->tm_hour));
323 if (t1->tm_hour != t2->tm_hour)
324 return(t1->tm_hour < t2->tm_hour);
/illumos-gate/usr/src/cmd/cron/
H A Datt1.y72 if (at.tm_min >= 60 || at.tm_hour >= 24)
88 at.tm_hour = $1;
91 at.tm_hour = $1;
96 at.tm_hour = $1;
103 at.tm_hour = 12;
106 at.tm_hour = 0;
109 at.tm_hour = tp->tm_hour;
124 if (at.tm_hour < 1 || at.tm_hour > 1
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dstrftime.c65 tm->tm_hour < 0 || tm->tm_hour > 23 ||
75 if (tm->tm_hour >= 0 && tm->tm_hour <= 23)
76 tl.tm_hour = tm->tm_hour;
90 tl.tm_hour = tm->tm_hour;
H A Dmktime.c57 tm.tm_hour = ts->tm_hour;
67 ts->tm_hour = tm.tm_hour;
H A Dstrptime.c58 tm.tm_hour = ts->tm_hour;
72 ts->tm_hour = tm.tm_hour;
H A Dgetdate.c73 ts.tm_hour = tm->tm_hour;
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dtime.h39 int tm_hour; member in struct:tm
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c61 assert_time(t->tm_hour>=0);
62 assert_time(t->tm_hour<=23);
86 accum += t->tm_hour;
103 .tm_hour = 0, .tm_min = 0, .tm_sec = 0,
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dstrptime.c143 cp = cvtnum(cp, &tm->tm_hour);
146 if (tm->tm_hour > 23)
155 cp = cvtnum(cp, &tm->tm_hour);
158 if (tm->tm_hour == 12)
159 tm->tm_hour = 0;
160 else if (tm->tm_hour > 11)
212 if (tm->tm_hour == 12)
213 tm->tm_hour = 0;
220 if (tm->tm_hour > 12)
222 else if (tm->tm_hour !
[all...]
H A Dstrftime.c168 cp = itoa(tm->tm_hour, cp, 2);
174 cp = itoa(tm->tm_hour > 12 ?
175 tm->tm_hour - 12 :
176 (tm->tm_hour == 0 ? 12 : tm->tm_hour),
189 if (tm->tm_hour < 10) {
191 cp = itoa(tm->tm_hour, cp, 1);
193 cp = itoa(tm->tm_hour, cp, 2);
199 temp = tm->tm_hour > 12 ?
200 tm->tm_hour
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c125 rtm.tm_sec = rtm.tm_min = rtm.tm_hour = TMSENTINEL;
212 if (rtm.tm_hour == TMSENTINEL &&
214 rtm.tm_hour = tmnow.tm_hour;
222 if (rtm.tm_hour != TMSENTINEL &&
228 if (rtm.tm_hour < tmnow.tm_hour)
229 rtm.tm_hour += 24;
236 if (rtm.tm_hour == TMSENTINEL)
237 rtm.tm_hour
[all...]
H A Dstrptime.c248 tm->tm_hour = i;
259 if (tm->tm_hour > 12)
261 if (tm->tm_hour == 12)
262 tm->tm_hour = 0;
269 if (tm->tm_hour > 12)
271 if (tm->tm_hour != 12)
272 tm->tm_hour += 12;
498 tm->tm_hour -= sign * (i / 100);
H A Dstrftime.c182 pt = _conv(t->tm_hour, PADDING(PAD_FMT_HMS),
186 pt = _conv((t->tm_hour % 12) ?
187 (t->tm_hour % 12) : 12,
197 * _conv(t->tm_hour % 12 ?
198 * t->tm_hour % 12 : 12, 2, ' ');
205 pt = _conv(t->tm_hour,
211 * _conv(t->tm_hour, 2, ' ');
218 pt = _conv((t->tm_hour % 12) ?
219 (t->tm_hour % 12) : 12,
235 pt = _add((t->tm_hour >
[all...]
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvexpire.c54 now -= tm->tm_hour * 60*60 + tm->tm_min * 60 + tm->tm_sec;
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h46 int tm_hour; /* hour since midnight */ member in struct:tm
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dtime.h44 int tm_hour; member in struct:tm
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmfix.c90 tm->tm_hour -= (60 - n) / 60;
95 tm->tm_hour += n / 60;
98 if ((n = tm->tm_hour) < 0)
101 tm->tm_hour = 24 - (-n) % 24;
106 tm->tm_hour %= 24;
H A Dtmxmake.c88 tm->tm_hour = n % 24;
95 tm->tm_hour = x % 24;
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h83 int tm_hour; member in struct:std::tm
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c72 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp);
88 result += time.tm_hour * (60*60); /*%< Hours */
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c173 int hour = tme->tm_hour;
222 } else if (tme->tm_hour < 0 || tme->tm_hour > 23) {
224 gettext("hours out of range (%d)"), tme->tm_hour + 1);
353 thentime.tm_hour = 0;
446 tme->tm_hour = atoi(strs); /* get hours */
482 (void) sprintf(buf + 8, "%.2d", gtime.tm_hour);
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c79 newtime.tm_hour = gpair();
80 if (newtime.tm_hour == 24) {
81 newtime.tm_hour = 0;
178 tp->tm_hour < 0 || tp->tm_hour > 23 ||
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c130 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;

Completed in 95 milliseconds

12345