Home
last modified time | relevance | path

Searched refs:tp_allocs (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Objects/
Dobject.c109 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
133 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
176 tp->tp_allocs++; in inc_count()
177 if (tp->tp_allocs - tp->tp_frees > tp->tp_maxalloc) in inc_count()
178 tp->tp_maxalloc = tp->tp_allocs - tp->tp_frees; in inc_count()
185 tp->tp_allocs == tp->tp_frees) { in dec_count()
333 --Py_TYPE(self)->tp_allocs; in PyObject_CallFinalizerFromDealloc()
/external/python/cpython2/Objects/
Dobject.c98 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
122 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
165 tp->tp_allocs++; in inc_count()
166 if (tp->tp_allocs - tp->tp_frees > tp->tp_maxalloc) in inc_count()
167 tp->tp_maxalloc = tp->tp_allocs - tp->tp_frees; in inc_count()
174 tp->tp_allocs == tp->tp_frees) { in dec_count()
Dgenobject.c207 --self->ob_type->tp_allocs; in gen_del()
Dclassobject.c702 --Py_TYPE(inst)->tp_allocs; in instance_dealloc()
Dtypeobject.c5974 --Py_TYPE(self)->tp_allocs;
/external/python/cpython3/Misc/
DSpecialBuilds.txt171 int tp_allocs;
176 /* Highwater mark: the maximum value of tp_allocs - tp_frees so
205 (tp_name, tp_allocs, tp_frees, tp_maxalloc)
/external/python/cpython2/Misc/
DSpecialBuilds.txt167 int tp_allocs;
172 /* Highwater mark: the maximum value of tp_allocs - tp_frees so
201 (tp_name, tp_allocs, tp_frees, tp_maxalloc)
/external/python/cpython2/Modules/_io/
Diobase.c260 --Py_TYPE(self)->tp_allocs; in _PyIOBase_finalize()
/external/python/cpython3/Include/
Dobject.h429 Py_ssize_t tp_allocs; member
/external/python/cpython2/Include/
Dobject.h405 Py_ssize_t tp_allocs; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1050 .. c:member:: Py_ssize_t PyTypeObject.tp_allocs
1067 Pointer to the next type object with a non-zero :c:member:`~PyTypeObject.tp_allocs` field.
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1107 .. c:member:: Py_ssize_t PyTypeObject.tp_allocs
1124 Pointer to the next type object with a non-zero :c:member:`~PyTypeObject.tp_allocs` field.
/external/python/cpython3/Modules/
D_testcapimodule.c3232 --Py_TYPE(self)->tp_allocs; in slot_tp_del()