Searched refs:PREALLOC_SIZE (Results 1 – 2 of 2) sorted by relevance
20 #define PREALLOC_SIZE(maxsplit) \ macro62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_whitespace()111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_char()163 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split()201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit_whitespace()252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit_char()305 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit()
17 #define PREALLOC_SIZE(maxsplit) \ macro59 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()108 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()160 list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()198 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()249 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()302 list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()