Lines Matching refs:tptr
62 const struct lc_time *tptr = loc->time;
96 buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc);
119 buf = __strptime(buf, tptr->c_fmt, tm, flagsp, loc);
155 buf = __strptime(buf, tptr->ampm_fmt, tm, flagsp, loc);
167 buf = __strptime(buf, tptr->X_fmt, tm, flagsp, loc);
173 buf = __strptime(buf, tptr->x_fmt, tm, flagsp, loc);
257 len = strlen(tptr->am);
258 if (strncasecmp(buf, tptr->am, len) == 0) {
267 len = strlen(tptr->pm);
268 if (strncasecmp(buf, tptr->pm, len) == 0) {
281 for (i = 0; i < asizeof(tptr->weekday); i++) {
282 len = strlen(tptr->weekday[i]);
283 if (strncasecmp(buf, tptr->weekday[i], len) ==
286 len = strlen(tptr->wday[i]);
287 if (strncasecmp(buf, tptr->wday[i], len) == 0)
290 if (i == asizeof(tptr->weekday))
366 for (i = 0; i < asizeof(tptr->month); i++) {
367 len = strlen(tptr->month[i]);
368 if (strncasecmp(buf, tptr->month[i], len) == 0)
375 if (i == asizeof(tptr->month)) {
376 for (i = 0; i < asizeof(tptr->month); i++) {
377 len = strlen(tptr->mon[i]);
378 if (strncasecmp(buf, tptr->mon[i],
383 if (i == asizeof(tptr->month))