Searched refs:_conv (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 106 static wchar_t * _conv(int, const wchar_t *, wchar_t *, const wchar_t *); 204 pt = _conv(t->tm_mday, L"%02d", pt, ptlim); in _fmt() 219 pt = _conv(t->tm_mday, L"%2d", pt, ptlim); in _fmt() 225 pt = _conv(t->tm_hour, L"%02d", pt, ptlim); in _fmt() 228 pt = _conv((t->tm_hour % 12) ? in _fmt() 233 pt = _conv(t->tm_yday + 1, L"%03d", pt, ptlim); in _fmt() 246 pt = _conv(t->tm_hour, L"%2d", pt, ptlim); in _fmt() 258 pt = _conv((t->tm_hour % 12) ? in _fmt() 263 pt = _conv(t->tm_min, L"%02d", pt, ptlim); in _fmt() 266 pt = _conv(t->tm_mon + 1, L"%02d", pt, ptlim); in _fmt() [all …]
|
/bionic/libc/tzcode/ |
D | strftime.c | 125 static char * _conv(int, const char *, char *, const char *); 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() 307 pt = _conv(t->tm_hour, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt() 310 pt = _conv((t->tm_hour % 12) ? (t->tm_hour % 12) : 12, 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() 347 pt = _conv((t->tm_hour % 12) ? (t->tm_hour % 12) : 12, 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() [all …]
|