Lines Matching refs:ptlim

165      const char *ptlim, enum warn *warnp)  in _fmt()  argument
180 pt, ptlim); in _fmt()
186 pt, ptlim); in _fmt()
192 pt, ptlim); in _fmt()
199 pt, ptlim); in _fmt()
210 true, false, pt, ptlim); in _fmt()
216 pt = _fmt(Locale->c_fmt, t, pt, ptlim, &warn2); in _fmt()
224 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp); in _fmt()
227 pt = _conv(t->tm_mday, "%02d", pt, ptlim); in _fmt()
242 pt = _conv(t->tm_mday, "%2d", pt, ptlim); in _fmt()
245 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp); in _fmt()
248 pt = _conv(t->tm_hour, "%02d", pt, ptlim); in _fmt()
253 "%02d", pt, ptlim); in _fmt()
256 pt = _conv(t->tm_yday + 1, "%03d", pt, ptlim); in _fmt()
269 pt = _conv(t->tm_hour, "%2d", pt, ptlim); in _fmt()
276 pt = _add("kitchen sink", pt, ptlim); in _fmt()
291 "%2d", pt, ptlim); in _fmt()
294 pt = _conv(t->tm_min, "%02d", pt, ptlim); in _fmt()
297 pt = _conv(t->tm_mon + 1, "%02d", pt, ptlim); in _fmt()
300 pt = _add("\n", pt, ptlim); in _fmt()
306 pt, ptlim); in _fmt()
309 pt = _fmt("%H:%M", t, pt, ptlim, warnp); in _fmt()
312 pt = _fmt("%I:%M:%S %p", t, pt, ptlim, warnp); in _fmt()
315 pt = _conv(t->tm_sec, "%02d", pt, ptlim); in _fmt()
347 pt = _add(buf, pt, ptlim); in _fmt()
351 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp); in _fmt()
354 pt = _add("\t", pt, ptlim); in _fmt()
359 "%02d", pt, ptlim); in _fmt()
370 "%d", pt, ptlim); in _fmt()
451 pt, ptlim); in _fmt()
456 pt, ptlim); in _fmt()
459 pt, ptlim); in _fmt()
468 pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp); in _fmt()
475 "%02d", pt, ptlim); in _fmt()
478 pt = _conv(t->tm_wday, "%d", pt, ptlim); in _fmt()
481 pt = _fmt(Locale->X_fmt, t, pt, ptlim, warnp); in _fmt()
487 pt = _fmt(Locale->x_fmt, t, pt, ptlim, &warn2); in _fmt()
498 pt, ptlim); in _fmt()
503 pt, ptlim); in _fmt()
507 pt = _add(t->TM_ZONE, pt, ptlim); in _fmt()
511 pt, ptlim); in _fmt()
580 pt = _add(sign, pt, ptlim); in _fmt()
584 pt = _conv(diff, "%04d", pt, ptlim); in _fmt()
589 pt = _fmt(Locale->date_fmt, t, pt, ptlim, in _fmt()
602 if (pt == ptlim) in _fmt()
610 _conv(int n, const char *format, char *pt, const char *ptlim) in _conv() argument
615 return _add(buf, pt, ptlim); in _conv()
619 _add(const char *str, char *pt, const char *ptlim) in _add() argument
621 while (pt < ptlim && (*pt = *str++) != '\0') in _add()
636 char *pt, const char *ptlim) in _yconv() argument
654 pt = _add("-0", pt, ptlim); in _yconv()
655 else pt = _conv(lead, "%02d", pt, ptlim); in _yconv()
658 pt = _conv(((trail < 0) ? -trail : trail), "%02d", pt, ptlim); in _yconv()