Lines Matching refs:digit
99 // Utility to convert a character to a digit in a given base
106 static bool Convert(CHAR c, uint8* digit) {
108 *digit = c - '0';
118 static bool Convert(CHAR c, uint8* digit) {
120 *digit = c - '0';
122 *digit = c - 'a' + 10;
124 *digit = c - 'A' + 10;
132 template<int BASE, typename CHAR> bool CharToDigit(CHAR c, uint8* digit) {
133 return BaseCharToDigit<CHAR, BASE, BASE <= 10>::Convert(c, digit);
204 // - a static function, CheckBounds, that determines whether the next digit
206 // - a static function, Increment, that appends the next digit appropriately