Home
last modified time | relevance | path

Searched refs:zeropad (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/_decimal/tests/
Dformathelper.py272 for zeropad in ('', '0'):
273 if align != '': zeropad = ''
278 yield ''.join((fill, align, sign, zeropad, width, ',', prec, type))
287 for zeropad in ('', '0'):
288 if align != '': zeropad = ''
291 yield ''.join((fill, align, sign, zeropad, width, prec, 'n'))
/external/python/cpython2/Objects/
Dunicodeobject.c671 makefmt(char *fmt, int longflag, int size_tflag, int zeropad, int width, int precision, char c) in makefmt() argument
675 if (zeropad) in makefmt()
709 int zeropad; in PyUnicode_FromFormatV() local
923 zeropad = (*f == '0'); in PyUnicode_FromFormatV()
951 makefmt(fmt, longflag, size_tflag, zeropad, width, precision, 'd'); in PyUnicode_FromFormatV()
961 makefmt(fmt, longflag, size_tflag, zeropad, width, precision, 'u'); in PyUnicode_FromFormatV()
971 makefmt(fmt, 0, 0, zeropad, width, precision, 'i'); in PyUnicode_FromFormatV()
976 makefmt(fmt, 0, 0, zeropad, width, precision, 'x'); in PyUnicode_FromFormatV()
/external/python/cpython3/Objects/
Dunicodeobject.c2606 int zeropad; in unicode_fromformat_arg() local
2616 zeropad = 0; in unicode_fromformat_arg()
2618 zeropad = 1; in unicode_fromformat_arg()
2753 fillchar = zeropad?'0':' '; in unicode_fromformat_arg()