Searched refs:numdigits (Results 1 – 6 of 6) sorted by relevance
394 numdigits = int(np.log10(self.target)) + 1395 bar = ('%' + str(numdigits) + 'd/%d [') % (current, self.target)459 numdigits = int(np.log10(self.target)) + 1460 count = ('%' + str(numdigits) + 'd/%d') % (current, self.target)
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()
62 int numdigits; in get_integer() local66 accumulator = numdigits = 0; in get_integer()67 for (; pos < end; pos++, numdigits++) { in get_integer()87 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()
4013 int numdigits; /* len == numnondigits + skipped + numdigits */ in _PyString_FormatLong() local4076 numdigits = len - numnondigits - skipped; in _PyString_FormatLong()4077 if (numdigits <= 0) in _PyString_FormatLong()4080 filled = prec - numdigits; in _PyString_FormatLong()4083 len = numnondigits + filled + numdigits; in _PyString_FormatLong()4112 buf += numdigits; in _PyString_FormatLong()4115 for (i = 0; i < numdigits; i++) in _PyString_FormatLong()
14154 int numdigits; /* len == numnondigits + numdigits */ in _PyUnicode_FormatLong() local14210 numdigits = len - numnondigits; in _PyUnicode_FormatLong()14211 assert(numdigits > 0); in _PyUnicode_FormatLong()14224 assert(len == numnondigits + numdigits); in _PyUnicode_FormatLong()14225 assert(numdigits > 0); in _PyUnicode_FormatLong()14229 if (prec > numdigits) { in _PyUnicode_FormatLong()14240 for (i = 0; i < prec - numdigits; i++) in _PyUnicode_FormatLong()14242 for (i = 0; i < numdigits; i++) in _PyUnicode_FormatLong()