Home
last modified time | relevance | path

Searched refs:numdigits (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Python/
Dformatter_unicode.c63 int numdigits; in get_integer() local
67 accumulator = numdigits = 0; in get_integer()
68 for (; pos < end; pos++, numdigits++) { in get_integer()
88 return numdigits; in get_integer()
/third_party/python/Objects/
Dunicodeobject.c14760 int numdigits; /* len == numnondigits + numdigits */ in _PyUnicode_FormatLong() local
14816 numdigits = len - numnondigits; in _PyUnicode_FormatLong()
14817 assert(numdigits > 0); in _PyUnicode_FormatLong()
14830 assert(len == numnondigits + numdigits); in _PyUnicode_FormatLong()
14831 assert(numdigits > 0); in _PyUnicode_FormatLong()
14835 if (prec > numdigits) { in _PyUnicode_FormatLong()
14846 for (i = 0; i < prec - numdigits; i++) in _PyUnicode_FormatLong()
14848 for (i = 0; i < numdigits; i++) in _PyUnicode_FormatLong()