Lines Matching refs:modifier
179 static char *getformat(int modifier, char *normal, char *underscore, in getformat() argument
181 switch (modifier) { in getformat()
198 int modifier = 0; in _fmt() local
208 pt, ptlim, modifier); in _fmt()
214 pt, ptlim, modifier); in _fmt()
220 pt, ptlim, modifier); in _fmt()
227 pt, ptlim, modifier); in _fmt()
238 true, false, pt, ptlim, modifier); in _fmt()
255 … pt = _conv(t->tm_mday, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
274 modifier = *format; in _fmt()
277 pt = _conv(t->tm_mday, getformat(modifier, "%2d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
283 pt = _conv(t->tm_hour, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
288 getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
291 … pt = _conv(t->tm_yday + 1, getformat(modifier, "%03d", "%3d", "%d", "%03d"), pt, ptlim); in _fmt()
304 pt = _conv(t->tm_hour, getformat(modifier, "%2d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
326 getformat(modifier, "%2d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
329 pt = _conv(t->tm_min, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
332 … pt = _conv(t->tm_mon + 1, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
335 pt = _add("\n", pt, ptlim, modifier); in _fmt()
342 pt, ptlim, (*format == 'P') ? FORCE_LOWER_CASE : modifier); in _fmt()
351 pt = _conv(t->tm_sec, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
367 pt = _add(buf, pt, ptlim, modifier); in _fmt()
374 pt = _add("\t", pt, ptlim, modifier); in _fmt()
379 getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
470 pt = _conv(w, getformat(modifier, "%02d", "%2d", "%d", "%02d"), in _fmt()
476 pt, ptlim, modifier); in _fmt()
479 pt, ptlim, modifier); in _fmt()
495 getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt()
518 pt, ptlim, modifier); in _fmt()
523 pt, ptlim, modifier); in _fmt()
541 pt = _add(zone, pt, ptlim, modifier); in _fmt()
601 pt = _add(sign, pt, ptlim, modifier); in _fmt()
605 pt = _conv(diff, getformat(modifier, "%04d", "%4d", "%d", "%04d"), pt, ptlim); in _fmt()
639 _add(const char *str, char *pt, const char *const ptlim, int modifier) in _add() argument
643 switch (modifier) { in _add()
688 char *pt, const char *ptlim, int modifier) in _yconv() argument
706 pt = _add("-0", pt, ptlim, modifier); in _yconv()
707 else pt = _conv(lead, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _yconv()
710 …pt = _conv(((trail < 0) ? -trail : trail), getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, p… in _yconv()