Home
last modified time | relevance | path

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

/lib/
Dstring_helpers.c178 int digit; in unescape_hex() local
184 num = digit = hex_to_bin(*q++); in unescape_hex()
185 if (digit < 0) in unescape_hex()
188 digit = hex_to_bin(*q); in unescape_hex()
189 if (digit >= 0) { in unescape_hex()
191 num = (num << 4) | digit; in unescape_hex()
Dvsprintf.c2460 char digit; in vsscanf() local
2600 digit = *str; in vsscanf()
2601 if (is_sign && digit == '-') in vsscanf()
2602 digit = *(str + 1); in vsscanf()
2604 if (!digit in vsscanf()
2605 || (base == 16 && !isxdigit(digit)) in vsscanf()
2606 || (base == 10 && !isdigit(digit)) in vsscanf()
2607 || (base == 8 && (!isdigit(digit) || digit > '7')) in vsscanf()
2608 || (base == 0 && !isdigit(digit))) in vsscanf()