Searched refs:todigit (Results 1 – 9 of 9) sorted by relevance
50 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro51 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))180 buf[--bp] = (todigit(*end) >> (8 - shift)) in dobase()
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))
44 #define todigit(x) ((x)+'0') macro
65 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro66 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))280 buf[--bp] = (todigit(*end) >> (8 - shift))
74 #define todigit(x) ((x)+'0') macro
762 *--suffix = todigit(nn % 10); in _doprnt()763 *--suffix = todigit(nn); in _doprnt()
97 #define todigit(x) ((x)+'0') macro
1385 *--suffix = todigit(nn % 10); in _wndoprnt()1386 *--suffix = todigit(nn); in _wndoprnt()1480 *--suffix = todigit(nn % 10); in _wndoprnt()1481 *--suffix = todigit(nn); in _wndoprnt()
70 #define todigit(x) ((x) + '0') macro482 *--suffix = todigit(n % 10); in _print()