Searched refs:numfree (Results 1 – 9 of 9) sorted by relevance
86 int numfree; member106 int numfree[PyTuple_MAXSAVESIZE]; member117 int numfree; member127 int numfree; member135 int numfree; member157 int numfree; member
45 _PyDebugAllocatorStats(out, buf, state->numfree[i], in _PyTuple_DebugMallocStats()77 assert(state->numfree[0] != -1); in tuple_alloc()82 state->numfree[size]--; in tuple_alloc()119 state->numfree[0]++; in tuple_create_empty_tuple_singleton()121 assert(state->numfree[0] == 1); in tuple_create_empty_tuple_singleton()137 assert(state->numfree[0] != -1); in tuple_get_empty()282 assert(state->numfree[0] != -1); in tupledealloc()285 && state->numfree[len] < PyTuple_MAXFREELIST in tupledealloc()289 state->numfree[len]++; in tupledealloc()1018 state->numfree[i] = 0; in _PyTuple_ClearFreeList()[all …]
611 assert(state->numfree != -1); in frame_dealloc()613 if (state->numfree < PyFrame_MAXFREELIST) { in frame_dealloc()614 ++state->numfree; in frame_dealloc()802 assert(state->numfree != -1); in frame_alloc()804 assert(state->numfree > 0); in frame_alloc()805 --state->numfree; in frame_alloc()1134 --state->numfree; in _PyFrame_ClearFreeList()1136 assert(state->numfree == 0); in _PyFrame_ClearFreeList()1145 state->numfree = -1; in _PyFrame_Fini()1156 state->numfree, sizeof(PyFrameObject)); in _PyFrame_DebugMallocStats()
131 assert(state->numfree != -1); in PyFloat_FromDouble()134 state->numfree--; in PyFloat_FromDouble()237 assert(state->numfree != -1); in float_dealloc()239 if (state->numfree >= PyFloat_MAXFREELIST) { in float_dealloc()243 state->numfree++; in float_dealloc()2044 state->numfree = 0; in _PyFloat_ClearFreeList()2053 state->numfree = -1; in _PyFloat_Fini()2064 state->numfree, sizeof(PyFloatObject)); in _PyFloat_DebugMallocStats()
112 while (state->numfree) { in _PyList_ClearFreeList()113 PyListObject *op = state->free_list[--state->numfree]; in _PyList_ClearFreeList()125 state->numfree = -1; in _PyList_Fini()136 state->numfree, sizeof(PyListObject)); in _PyList_DebugMallocStats()151 assert(state->numfree != -1); in PyList_New()153 if (state->numfree) { in PyList_New()154 state->numfree--; in PyList_New()155 op = state->free_list[state->numfree]; in PyList_New()350 assert(state->numfree != -1); in list_dealloc()352 if (state->numfree < PyList_MAXFREELIST && PyList_CheckExact(op)) { in list_dealloc()[all …]
266 while (state->numfree) { in _PyDict_ClearFreeList()267 PyDictObject *op = state->free_list[--state->numfree]; in _PyDict_ClearFreeList()283 state->numfree = -1; in _PyDict_Fini()295 state->numfree, sizeof(PyDictObject)); in _PyDict_DebugMallocStats()654 assert(state->numfree != -1); in new_dict()656 if (state->numfree) { in new_dict()657 mp = state->free_list[--state->numfree]; in new_dict()2081 assert(state->numfree != -1); in dict_dealloc()2083 if (state->numfree < PyDict_MAXFREELIST && Py_IS_TYPE(mp, &PyDict_Type)) { in dict_dealloc()2084 state->free_list[state->numfree++] = mp; in dict_dealloc()
347 assert(state->numfree != -1); in _context_alloc()349 if (state->numfree) { in _context_alloc()350 state->numfree--; in _context_alloc()475 assert(state->numfree != -1); in context_tp_dealloc()477 if (state->numfree < CONTEXT_FREELIST_MAXLEN) { in context_tp_dealloc()478 state->numfree++; in context_tp_dealloc()1293 for (; state->numfree; state->numfree--) { in _PyContext_ClearFreeList()1311 state->numfree = -1; in _PyContext_Fini()
90 Objects/dictobject.c:numfree static int numfree94 Objects/floatobject.c:numfree static int numfree96 Objects/frameobject.c:numfree static int numfree102 Objects/listobject.c:numfree static int numfree104 Objects/tupleobject.c:numfree static int numfree[PyTuple_MAXSAVE…
3078 ``numfree``, and a macro ``Py<typename>_MAXFREELIST`` is