Lines Matching refs:ptlim
218 const char *ptlim, enum warn *warnp) in _fmt() argument
232 pt, ptlim, modifier); in _fmt()
238 pt, ptlim, modifier); in _fmt()
244 pt, ptlim, modifier); in _fmt()
251 pt, ptlim, modifier); in _fmt()
262 true, false, pt, ptlim, modifier); in _fmt()
268 pt = _fmt(Locale->c_fmt, t, pt, ptlim, &warn2); in _fmt()
276 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp); in _fmt()
279 pt = _conv(t->tm_mday, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
301 pt = _conv(t->tm_mday, getformat(modifier, " 2", " 2", " ", "02"), pt, ptlim); in _fmt()
304 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp); in _fmt()
307 pt = _conv(t->tm_hour, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
311 getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
314 pt = _conv(t->tm_yday + 1, getformat(modifier, "03", " 3", " ", "03"), pt, ptlim); in _fmt()
327 pt = _conv(t->tm_hour, getformat(modifier, " 2", " 2", " ", "02"), pt, ptlim); in _fmt()
334 pt = _add("kitchen sink", pt, ptlim); in _fmt()
348 getformat(modifier, " 2", " 2", " ", "02"), pt, ptlim); in _fmt()
351 pt = _conv(t->tm_min, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
354 pt = _conv(t->tm_mon + 1, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
357 pt = _add("\n", pt, ptlim, modifier); in _fmt()
364 pt, ptlim, (*format == 'P') ? FORCE_LOWER_CASE : modifier); in _fmt()
367 pt = _fmt("%H:%M", t, pt, ptlim, warnp); in _fmt()
370 pt = _fmt("%I:%M:%S %p", t, pt, ptlim, warnp); in _fmt()
373 pt = _conv(t->tm_sec, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
394 pt = _add(buf, pt, ptlim, modifier); in _fmt()
398 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp); in _fmt()
401 pt = _add("\t", pt, ptlim, modifier); in _fmt()
405 getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
414 pt = _conv((t->tm_wday == 0) ? DAYSPERWEEK : t->tm_wday, " ", pt, ptlim); in _fmt()
494 pt = _conv(w, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
499 pt, ptlim, modifier); in _fmt()
502 pt, ptlim, modifier); in _fmt()
511 pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp); in _fmt()
517 getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt()
520 pt = _conv(t->tm_wday, " ", pt, ptlim); in _fmt()
523 pt = _fmt(Locale->X_fmt, t, pt, ptlim, warnp); in _fmt()
529 pt = _fmt(Locale->x_fmt, t, pt, ptlim, &warn2); in _fmt()
540 pt, ptlim, modifier); in _fmt()
545 pt, ptlim, modifier); in _fmt()
550 pt = _add(_safe_tm_zone(t), pt, ptlim, modifier); in _fmt()
555 pt, ptlim); in _fmt()
628 pt = _add(sign, pt, ptlim, modifier); in _fmt()
632 pt = _conv(diff, getformat(modifier, "04", " 4", " ", "04"), pt, ptlim); in _fmt()
637 pt = _fmt(Locale->date_fmt, t, pt, ptlim, in _fmt()
650 if (pt == ptlim) in _fmt()
658 _conv(int n, const char *format, char *pt, const char *ptlim) in _conv() argument
693 return _add(p, pt, ptlim, 0); in _conv()
697 _add(const char *str, char *pt, const char *const ptlim, int modifier) in _add() argument
703 while (pt < ptlim && (*pt = tolower(*str++)) != '\0') { in _add()
709 while (pt < ptlim && (*pt = toupper(*str++)) != '\0') { in _add()
715 while (pt < ptlim && (c = *str++) != '\0') { in _add()
728 while (pt < ptlim && (*pt = *str++) != '\0') { in _add()
746 char *pt, const char *ptlim, int modifier) in _yconv() argument
764 pt = _add("-0", pt, ptlim, modifier); in _yconv()
766 pt = _conv(lead, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _yconv()
770 ptlim); in _yconv()