Lines Matching refs:n_chars
52 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep, in fill() argument
74 *buffer_end -= n_chars; in fill()
75 *digits_end -= n_chars; in fill()
76 memcpy(*buffer_end, *digits_end, n_chars * sizeof(STRINGLIB_CHAR)); in fill()
130 Py_ssize_t n_chars; in _Py_InsertThousandsGrouping() local
147 n_chars = MAX(0, MIN(remaining, l)); 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()
163 remaining -= n_chars; in _Py_InsertThousandsGrouping()
177 n_chars = MAX(0, MIN(remaining, l)); 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()