Lines Matching refs:bp

105 	const unsigned char *bp, *ep;  in _strptime()  local
117 bp = (const unsigned char *)buf; in _strptime()
124 while (isspace(*bp)) in _strptime()
125 bp++; in _strptime()
138 if (c != *bp++) in _strptime()
162 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) in _strptime()
168 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) in _strptime()
174 if (!(bp = _strptime(bp, "%Y-%m-%d", tm, 0))) in _strptime()
180 if (!(bp = _strptime(bp, "%H:%M", tm, 0))) in _strptime()
186 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, 0))) in _strptime()
192 if (!(bp = _strptime(bp, "%H:%M:%S", tm, 0))) in _strptime()
198 if (!(bp = _strptime(bp, "%e-%b-%Y", tm, 0))) in _strptime()
204 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, 0))) in _strptime()
210 if (!(bp = _strptime(bp, _ctloc(d_fmt), tm, 0))) in _strptime()
223 if (strncasecmp(_ctloc(day[i]), bp, len) == 0) in _strptime()
228 if (strncasecmp(_ctloc(abday[i]), bp, len) == 0) in _strptime()
237 bp += len; in _strptime()
248 if (strncasecmp(_ctloc(mon[i]), bp, len) == 0) in _strptime()
253 if (strncasecmp(_ctloc(abmon[i]), bp, len) == 0) in _strptime()
262 bp += len; in _strptime()
268 if (!(_conv_num(&bp, &i, 0, 99))) in _strptime()
275 if (isspace(*bp)) in _strptime()
276 bp++; in _strptime()
280 if (!(_conv_num(&bp, &tm->tm_mday, 1, 31))) in _strptime()
290 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23))) in _strptime()
299 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12))) in _strptime()
305 if (!(_conv_num(&bp, &tm->tm_yday, 1, 366))) in _strptime()
313 if (!(_conv_num(&bp, &tm->tm_min, 0, 59))) in _strptime()
319 if (!(_conv_num(&bp, &tm->tm_mon, 1, 12))) in _strptime()
330 if (strncasecmp(_ctloc(am_pm[0]), bp, len) == 0) { in _strptime()
336 bp += len; in _strptime()
341 if (strncasecmp(_ctloc(am_pm[1]), bp, len) == 0) { in _strptime()
347 bp += len; in _strptime()
356 if (!(_conv_num(&bp, &tm->tm_sec, 0, 60))) in _strptime()
360 if (!(epoch_to_tm(&bp, tm))) in _strptime()
373 if (!(_conv_num(&bp, &i, 0, 53))) in _strptime()
379 if (!(_conv_num(&bp, &tm->tm_wday, 0, 6))) in _strptime()
386 if (!(_conv_num(&bp, &i, 1, 7))) in _strptime()
395 if (!(_conv_num(&bp, &i, 0, 99))) in _strptime()
403 bp++; in _strptime()
404 while (isdigit(*bp)); in _strptime()
408 if (!(_conv_num(&bp, &i, 0, 53))) in _strptime()
414 if (!(_conv_num(&bp, &i, 0, 9999))) in _strptime()
424 if (!(_conv_num(&bp, &relyear, 0, 99))) in _strptime()
430 if (strncmp((const char *)bp, gmt, 3) == 0) { in _strptime()
434 bp += 3; in _strptime()
435 } else if (strncmp((const char *)bp, utc, 3) == 0) { in _strptime()
439 bp += 3; in _strptime()
441 ep = _find_string(bp, &i, in _strptime()
450 bp = ep; in _strptime()
469 while (isspace(*bp)) in _strptime()
470 bp++; in _strptime()
472 switch (*bp++) { in _strptime()
474 if (*bp++ != 'M') in _strptime()
478 if (*bp++ != 'T') in _strptime()
493 --bp; in _strptime()
494 ep = _find_string(bp, &i, nast, NULL, 4); in _strptime()
498 bp = ep; in _strptime()
501 ep = _find_string(bp, &i, nadt, NULL, 4); in _strptime()
506 bp = ep; in _strptime()
511 if (!isdigit(bp[0]) || !isdigit(bp[1])) in _strptime()
513 offs = ((bp[0]-'0') * 10 + (bp[1]-'0')) * SECSPERHOUR; in _strptime()
514 bp += 2; in _strptime()
515 if (*bp == ':') in _strptime()
516 bp++; in _strptime()
517 if (isdigit(*bp)) { in _strptime()
518 offs += (*bp++ - '0') * 10 * SECSPERMIN; in _strptime()
519 if (!isdigit(*bp)) in _strptime()
521 offs += (*bp++ - '0') * SECSPERMIN; in _strptime()
536 while (isspace(*bp)) in _strptime()
537 bp++; in _strptime()
598 return ((char *)bp); in _strptime()
650 _find_string(const u_char *bp, int *tgt, const char * const *n1, in _find_string() argument
660 if (strncasecmp(*n1, (const char *)bp, len) == 0) { in _find_string()
662 return bp + len; in _find_string()