Home
last modified time | relevance | path

Searched refs:PREALLOC_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dsplit.h20 #define PREALLOC_SIZE(maxsplit) \ macro
62 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()
/external/python/cpython3/Objects/stringlib/
Dsplit.h17 #define PREALLOC_SIZE(maxsplit) \ macro
59 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()