Lines Matching defs:digit
59 // Utility to convert a character to a digit in a given base
67 static bool Convert(CHAR c, uint8_t* digit) {
69 *digit = static_cast<uint8_t>(c - '0');
80 static bool Convert(CHAR c, uint8_t* digit) {
82 *digit = c - '0';
84 *digit = c - 'a' + 10;
86 *digit = c - 'A' + 10;
95 bool CharToDigit(CHAR c, uint8_t* digit) {
96 return BaseCharToDigit<CHAR, BASE, BASE <= 10>::Convert(c, digit);
171 // - a static function, CheckBounds, that determines whether the next digit
173 // - a static function, Increment, that appends the next digit appropriately