Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/stringlib/
Dformatter.h77 int numdigits; in get_integer() local
78 accumulator = numdigits = 0; in get_integer()
79 for (;;(*ptr)++, numdigits++) { in get_integer()
99 return numdigits; in get_integer()
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/
Dgeneric_utils.py368 numdigits = int(np.floor(np.log10(self.target))) + 1
369 barstr = '%%%dd/%d [' % (numdigits, self.target)
/external/python/cpython3/Python/
Dformatter_unicode.c61 int numdigits; in get_integer() local
65 accumulator = numdigits = 0; in get_integer()
66 for (; pos < end; pos++, numdigits++) { in get_integer()
86 return numdigits; in get_integer()
/external/selinux/mcstrans/src/
Dmcstrans.c169 numdigits(unsigned int n) in numdigits() function
190 raw += numdigits(low) + 1; in parse_category()
195 raw += numdigits(high) + 1; in parse_category()
234 raw += numdigits(mls->sens) + 1; in parse_raw()
/external/python/cpython2/Objects/
Dstringobject.c4016 int numdigits; /* len == numnondigits + skipped + numdigits */ in _PyString_FormatLong() local
4079 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()
/external/python/cpython3/Objects/
Dunicodeobject.c14087 int numdigits; /* len == numnondigits + numdigits */ in _PyUnicode_FormatLong() local
14143 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()