Searched refs:digit (Results 1 – 2 of 2) sorted by relevance
183 int digit; in unescape_hex() local189 num = digit = hex_to_bin(*q++); in unescape_hex()190 if (digit < 0) in unescape_hex()193 digit = hex_to_bin(*q); in unescape_hex()194 if (digit >= 0) { in unescape_hex()196 num = (num << 4) | digit; in unescape_hex()
3146 char digit; in vsscanf() local3345 digit = *str; in vsscanf()3346 if (is_sign && digit == '-') in vsscanf()3347 digit = *(str + 1); in vsscanf()3349 if (!digit in vsscanf()3350 || (base == 16 && !isxdigit(digit)) in vsscanf()3351 || (base == 10 && !isdigit(digit)) in vsscanf()3352 || (base == 8 && (!isdigit(digit) || digit > '7')) in vsscanf()3353 || (base == 0 && !isdigit(digit))) in vsscanf()