Home
last modified time | relevance | path

Searched refs:todigit (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstoa.c48 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro
49 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))
178 buf[--bp] = (todigit(*end) >> (8 - shift)) in dobase()
/illumos-gate/usr/src/cmd/bnu/
H A Dstoa.c43 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro
44 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))
165 buf[--bp] = (todigit(*end) >> (8 - shift))
/illumos-gate/usr/src/cmd/listen/
H A Dnstoa.c62 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro
63 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))
278 buf[--bp] = (todigit(*end) >> (8 - shift))
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dprint.h71 #define todigit(x) ((x)+'0') macro
H A Ddoprnt.c760 *--suffix = todigit(nn % 10); in _doprnt()
761 *--suffix = todigit(nn); in _doprnt()
/illumos-gate/usr/src/lib/libc/port/print/
H A Dprint.h95 #define todigit(x) ((x)+'0') macro
H A Ddoprnt.c1386 *--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()
/illumos-gate/usr/src/cmd/csh/
H A Dprintf.c68 #define todigit(x) ((x) + '0') macro
480 *--suffix = todigit(n % 10); in _print()