Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py394 numdigits = int(np.log10(self.target)) + 1
395 bar = ('%' + str(numdigits) + 'd/%d [') % (current, self.target)
459 numdigits = int(np.log10(self.target)) + 1
460 count = ('%' + str(numdigits) + 'd/%d') % (current, self.target)
/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/python/cpython3/Python/
Dformatter_unicode.c62 int numdigits; in get_integer() local
66 accumulator = numdigits = 0; in get_integer()
67 for (; pos < end; pos++, numdigits++) { in get_integer()
87 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.c4013 int numdigits; /* len == numnondigits + skipped + numdigits */ in _PyString_FormatLong() local
4076 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()
/external/python/cpython3/Objects/
Dunicodeobject.c14154 int numdigits; /* len == numnondigits + numdigits */ in _PyUnicode_FormatLong() local
14210 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()