Home
last modified time | relevance | path

Searched refs:CTOI (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_strtoint.c36 #define CTOI(x) (((x) >= '0' && (x) <= '9') ? (x) - '0' : \ macro
93 if ((val = CTOI(c)) >= base) { in strtoint()
104 if ((i = CTOI(c)) >= base) { in strtoint()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.c103 #define CTOI(x) (((x) >= '0' && (x) <= '9') ? (x) - '0' : \ macro
129 if ((val = CTOI(c)) >= base) in mdb_strtonum()
139 if ((i = CTOI(c)) >= base) in mdb_strtonum()
168 n = n * base + CTOI(c); in strntoul()