178: _LEGAL_ALT(_ALT_E);
179: if (!(bp = (unsigned char*)_strptime((char*)bp, _ctloc(d_t_fmt), tm, 0)))
180: return (NULL);
214: _LEGAL_ALT(_ALT_E);
215: if (!(bp = (unsigned char*)_strptime((char*)bp, _ctloc(t_fmt), tm, 0)))
216: return (NULL);
220: _LEGAL_ALT(_ALT_E);
221: if (!(bp = (unsigned char*)_strptime((char*)bp, _ctloc(d_fmt), tm, 0)))
222: return (NULL);
232: /* Full name. */
233: len = strlen(_ctloc(day[i]));
234: if (strncasecmp(_ctloc(day[i]), (char*)bp, len) == 0)
235: break;
237: /* Abbreviated name. */
238: len = strlen(_ctloc(abday[i]));
239: if (strncasecmp(_ctloc(abday[i]), (char*)bp, len) == 0)
240: break;
257: /* Full name. */
258: len = strlen(_ctloc(mon[i]));
259: if (strncasecmp(_ctloc(mon[i]), (char*)bp, len) == 0)
260: break;
262: /* Abbreviated name. */
263: len = strlen(_ctloc(abmon[i]));
264: if (strncasecmp(_ctloc(abmon[i]), (char*)bp, len) == 0)
265: break;
335: /* AM? */
336: len = strlen(_ctloc(am_pm[0]));
337: if (strncasecmp(_ctloc(am_pm[0]), (char*)bp, len) == 0) {
338: if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */
346: /* PM? */
347: len = strlen(_ctloc(am_pm[1]));
348: if (strncasecmp(_ctloc(am_pm[1]), (char*)bp, len) == 0) {
349: if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */