Home | History | Annotate | Download | only in stringlib

Lines Matching full:maxcount

59                            Py_ssize_t maxcount)

62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
69 while (maxcount-- > 0) {
89 /* Only occurs when maxcount was reached */
108 Py_ssize_t maxcount)
111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
118 while ((j < str_len) && (maxcount-- > 0)) {
151 Py_ssize_t maxcount)
161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount);
163 list = PyList_New(PREALLOC_SIZE(maxcount));
168 while (maxcount-- > 0) {
198 Py_ssize_t maxcount)
201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
208 while (maxcount-- > 0) {
228 /* Only occurs when maxcount was reached */
249 Py_ssize_t maxcount)
252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
259 while ((i >= 0) && (maxcount-- > 0)) {
293 Py_ssize_t maxcount)
303 return stringlib_rsplit_char(str_obj, str, str_len, sep[0], maxcount);
305 list = PyList_New(PREALLOC_SIZE(maxcount));
310 while (maxcount-- > 0) {