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 | 118 static char * _conv(int, const char *, char *, const char *); 255 … pt = _conv(t->tm_mday, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); 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() 286 pt = _conv((t->tm_hour % 12) ? 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() 324 pt = _conv((t->tm_hour % 12) ? 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() [all …]
|