Searched refs:todigit (Results 1 – 8 of 8) sorted by relevance
43 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro44 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))165 buf[--bp] = (todigit(*end) >> (8 - shift))
48 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro49 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))178 buf[--bp] = (todigit(*end) >> (8 - shift)) in dobase()
62 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro63 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))278 buf[--bp] = (todigit(*end) >> (8 - shift))
71 #define todigit(x) ((x)+'0') macro
760 *--suffix = todigit(nn % 10); in _doprnt()761 *--suffix = todigit(nn); in _doprnt()
95 #define todigit(x) ((x)+'0') macro
1386 *--suffix = todigit(nn % 10); in _wndoprnt()1387 *--suffix = todigit(nn); in _wndoprnt()1481 *--suffix = todigit(nn % 10); in _wndoprnt()1482 *--suffix = todigit(nn); in _wndoprnt()
68 #define todigit(x) ((x) + '0') macro480 *--suffix = todigit(n % 10); in _print()