Searched refs:thousands_sep_len (Results 1 – 3 of 3) sorted by relevance
53 Py_ssize_t thousands_sep_len) in fill() argument60 *buffer_end -= thousands_sep_len; in fill()66 for (i = 0; i < thousands_sep_len; ++i) in fill()70 memcpy(*buffer_end, thousands_sep, thousands_sep_len); in fill()131 Py_ssize_t thousands_sep_len = strlen(thousands_sep); in _Py_InsertThousandsGrouping() local152 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _Py_InsertThousandsGrouping()157 use_separator ? thousands_sep : NULL, thousands_sep_len); in _Py_InsertThousandsGrouping()170 min_width -= thousands_sep_len; in _Py_InsertThousandsGrouping()180 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _Py_InsertThousandsGrouping()184 use_separator ? thousands_sep : NULL, thousands_sep_len); in _Py_InsertThousandsGrouping()
49 PyObject *thousands_sep, Py_ssize_t thousands_sep_len, in InsertThousandsGrouping_fill() argument62 *buffer_pos -= thousands_sep_len; in InsertThousandsGrouping_fill()67 thousands_sep_len); in InsertThousandsGrouping_fill()
9603 const Py_ssize_t thousands_sep_len = PyUnicode_GET_LENGTH(thousands_sep); in _PyUnicode_InsertThousandsGrouping() local9607 assert(!(grouping[0] == CHAR_MAX && thousands_sep_len != 0)); in _PyUnicode_InsertThousandsGrouping()9631 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()9638 thousands_sep_len, maxchar); in _PyUnicode_InsertThousandsGrouping()9650 min_width -= thousands_sep_len; in _PyUnicode_InsertThousandsGrouping()9660 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()9667 thousands_sep_len, maxchar); in _PyUnicode_InsertThousandsGrouping()