Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h52 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep, in fill() argument
78 *buffer_end -= n_zeros; in fill()
79 STRINGLIB_FILL(*buffer_end, '0', n_zeros); in fill()
122 Py_ssize_t n_zeros; in _Py_InsertThousandsGrouping() local
146 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
152 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _Py_InsertThousandsGrouping()
156 fill(&digits_end, &buffer_end, n_chars, n_zeros, in _Py_InsertThousandsGrouping()
176 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
180 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _Py_InsertThousandsGrouping()
183 fill(&digits_end, &buffer_end, n_chars, n_zeros, in _Py_InsertThousandsGrouping()
/external/python/cpython3/Objects/stringlib/
Dlocaleutil.h48 Py_ssize_t n_chars, Py_ssize_t n_zeros, in InsertThousandsGrouping_fill() argument
76 if (n_zeros) { in InsertThousandsGrouping_fill()
77 *buffer_pos -= n_zeros; in InsertThousandsGrouping_fill()
80 unicode_fill(kind, data, '0', *buffer_pos, n_zeros); in InsertThousandsGrouping_fill()
/external/python/cpython3/Objects/
Dunicodeobject.c9588 Py_ssize_t n_zeros; in _PyUnicode_InsertThousandsGrouping() local
9625 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping()
9631 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()
9636 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()
9656 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping()
9660 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()
9665 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()