Searched refs:numdigits (Results 1 – 6 of 6) sorted by relevance
77 int numdigits; in get_integer() local78 accumulator = numdigits = 0; in get_integer()79 for (;;(*ptr)++, numdigits++) { in get_integer()99 return numdigits; in get_integer()
368 numdigits = int(np.floor(np.log10(self.target))) + 1369 barstr = '%%%dd/%d [' % (numdigits, self.target)
61 int numdigits; in get_integer() local65 accumulator = numdigits = 0; in get_integer()66 for (; pos < end; pos++, numdigits++) { in get_integer()86 return numdigits; in get_integer()
169 numdigits(unsigned int n) in numdigits() function190 raw += numdigits(low) + 1; in parse_category()195 raw += numdigits(high) + 1; in parse_category()234 raw += numdigits(mls->sens) + 1; in parse_raw()
4016 int numdigits; /* len == numnondigits + skipped + numdigits */ in _PyString_FormatLong() local4079 numdigits = len - numnondigits - skipped; in _PyString_FormatLong()4080 if (numdigits <= 0) in _PyString_FormatLong()4083 filled = prec - numdigits; in _PyString_FormatLong()4086 len = numnondigits + filled + numdigits; in _PyString_FormatLong()4115 buf += numdigits; in _PyString_FormatLong()4118 for (i = 0; i < numdigits; i++) in _PyString_FormatLong()
14087 int numdigits; /* len == numnondigits + numdigits */ in _PyUnicode_FormatLong() local14143 numdigits = len - numnondigits; in _PyUnicode_FormatLong()14144 assert(numdigits > 0); in _PyUnicode_FormatLong()14157 assert(len == numnondigits + numdigits); in _PyUnicode_FormatLong()14158 assert(numdigits > 0); in _PyUnicode_FormatLong()14162 if (prec > numdigits) { in _PyUnicode_FormatLong()14173 for (i = 0; i < prec - numdigits; i++) in _PyUnicode_FormatLong()14175 for (i = 0; i < numdigits; i++) in _PyUnicode_FormatLong()