Searched refs:n_zeros (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | localeutil.h | 52 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/ |
D | localeutil.h | 48 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 FILL(kind, data, '0', *buffer_pos, n_zeros); in InsertThousandsGrouping_fill()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 9388 Py_ssize_t n_zeros; in _PyUnicode_InsertThousandsGrouping() local 9425 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping() 9431 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9436 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping() 9456 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping() 9460 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9465 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()
|