Searched refs:cdigit (Results 1 – 7 of 7) sorted by relevance
1219 char cdigit = (char)(mod < 0 ? -mod : mod); in _PyInt_Format() local1220 cdigit += (cdigit < 10) ? '0' : 'a'-10; in _PyInt_Format()1221 *--p = cdigit; in _PyInt_Format()
1518 char cdigit = (char)(accum & (base - 1)); in _PyLong_Format() local1519 cdigit += (cdigit < 10) ? '0' : 'a'-10; in _PyLong_Format()1521 *--p = cdigit; in _PyLong_Format()
51 inline static unsigned getDigit(char cdigit, uint8_t radix) { in getDigit() argument55 r = cdigit - '0'; in getDigit()59 r = cdigit - 'A'; in getDigit()63 r = cdigit - 'a'; in getDigit()70 r = cdigit - '0'; in getDigit()
49 inline static unsigned getDigit(char cdigit, uint8_t radix) { in getDigit() argument53 r = cdigit - '0'; in getDigit()57 r = cdigit - 'A'; in getDigit()61 r = cdigit - 'a'; in getDigit()68 r = cdigit - '0'; in getDigit()
48 inline static unsigned getDigit(char cdigit, uint8_t radix) { in getDigit() argument52 r = cdigit - '0'; in getDigit()56 r = cdigit - 'A'; in getDigit()60 r = cdigit - 'a'; in getDigit()67 r = cdigit - '0'; in getDigit()
1866 char cdigit; \ in long_format_binary()1867 cdigit = (char)(accum & (base - 1)); \ in long_format_binary()1868 cdigit += (cdigit < 10) ? '0' : 'a'-10; \ in long_format_binary()1869 *--p = cdigit; \ in long_format_binary()