Home
last modified time | relevance | path

Searched refs:PyObject_Free (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython3/Include/
Dobjimpl.h102 PyAPI_FUNC(void) PyObject_Free(void *ptr);
108 #define PyObject_FREE PyObject_Free
109 #define PyObject_Del PyObject_Free
110 #define PyObject_DEL PyObject_Free
/external/python/cpython2/Include/
Dobjimpl.h99 PyAPI_FUNC(void) PyObject_Free(void *);
123 #define PyObject_Free _PyObject_DebugFree macro
128 #define PyObject_FREE PyObject_Free
138 #define PyObject_Del PyObject_Free
142 #define _PyObject_Del PyObject_Free
/external/python/cpython2/Misc/
Dvalgrind-python.supp14 # suppressions for PyObject_Free and PyObject_Realloc.
130 ### fun:PyObject_Free
136 ### fun:PyObject_Free
142 ### fun:PyObject_Free
148 ### fun:PyObject_Free
154 ### fun:PyObject_Free
Dpymemcompat.h51 #define PyObject_Free PyMem_Free macro
DREADME.valgrind13 suppress the warnings for PyObject_Free and PyObject_Realloc
50 ==6399== at 0x4A9BDE7E: PyObject_Free (obmalloc.c:711)
/external/python/cpython2/Doc/c-api/
Dmemory.rst198 .. c:function:: void PyObject_Free(void *p)
202 :c:func:`PyObject_Calloc`. Otherwise, or if ``PyObject_Free(p)`` has been called
212 * :c:func:`PyObject_FREE`: alias to :c:func:`PyObject_Free`
213 * :c:func:`PyObject_Del`: alias to :c:func:`PyObject_Free`
215 to :c:func:`PyObject_Free`)
/external/python/cpython2/Python/
Dfuture.c133 PyObject_Free(ff); in PyFuture_FromAST()
Dcompile.c321 PyObject_Free(c->c_future); in compiler_free()
447 PyObject_Free((void *)b->b_instr); in compiler_unit_free()
449 PyObject_Free((void *)b); in compiler_unit_free()
460 PyObject_Free(u); in compiler_unit_free()
3520 PyObject_Free(a->a_postorder); in assemble_free()
/external/python/cpython2/Objects/
Dobmalloc.c991 #undef PyObject_Free
994 PyObject_Free(void *p) in PyObject_Free() function
1275 PyObject_Free(p); in PyObject_Realloc()
1323 PyObject_Free(void *p) in PyObject_Free() function
1532 PyObject_Free(q); in _PyObject_DebugFreeApi()
Dunicodeobject.c1052 PyObject_Free(callresults); in PyUnicode_FromFormatV()
1054 PyObject_Free(abuffer); in PyUnicode_FromFormatV()
1064 PyObject_Free(callresults); in PyUnicode_FromFormatV()
1067 PyObject_Free(abuffer); in PyUnicode_FromFormatV()
/external/python/cpython3/Python/
Dfuture.c139 PyObject_Free(ff); in PyFuture_FromASTObject()
Dcompile.c414 PyObject_Free(c->c_future); in compiler_free()
538 PyObject_Free((void *)b->b_instr); in compiler_unit_free()
540 PyObject_Free((void *)b); in compiler_unit_free()
552 PyObject_Free(u); in compiler_unit_free()
5547 PyObject_Free(stack); in stackdepth()
5581 PyObject_Free(a->a_postorder); in assemble_free()
/external/python/cpython3/Misc/
DREADME.valgrind20 suppress the warnings for PyObject_Free and PyObject_Realloc
61 ==6399== at 0x4A9BDE7E: PyObject_Free (obmalloc.c:711)
/external/python/cpython3/Doc/c-api/
Dmemory.rst322 .. c:function:: void PyObject_Free(void *p)
326 :c:func:`PyObject_Calloc`. Otherwise, or if ``PyObject_Free(p)`` has been called
416 * :c:func:`PyObject_Free`
449 - Detect API violations, ex: :c:func:`PyObject_Free` called on a buffer
/external/python/cpython3/Modules/
Dmathmodule.c2568 PyObject_Free(diffs); in math_dist_impl()
2580 PyObject_Free(diffs); in math_dist_impl()
2621 PyObject_Free(coordinates); in math_hypot()
2627 PyObject_Free(coordinates); in math_hypot()
D_randommodule.c556 {Py_tp_free, PyObject_Free},
D_testcapimodule.c3782 PyObject_Free(ptr); in test_pymem_alloc0()
3789 PyObject_Free(ptr); in test_pymem_alloc0()
3912 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr2); break; in test_setallocators()
3947 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr); break; in test_setallocators()
4695 PyObject_Free(buffer); in pyobject_malloc_without_gil()
D_elementtree.c258 PyObject_Free(extra->children); in dealloc_extra()
260 PyObject_Free(extra); in dealloc_extra()
3058 PyObject_Malloc, PyObject_Realloc, PyObject_Free};
Dpyexpat.c20 PyObject_Malloc, PyObject_Realloc, PyObject_Free};
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c72 PyObject_Free((PyObject *)self); in SndCh_dealloc()
304 PyObject_Free((PyObject *)self); in SPBObj_dealloc()
/external/python/cpython3/Objects/
Dbytearrayobject.c236 PyObject_Free(obj->ob_bytes); in PyByteArray_Resize()
992 PyObject_Free(buffer); in bytearray_repr()
1078 PyObject_Free(self->ob_bytes); in bytearray_dealloc()
/external/python/cpython3/PC/
Dpython3.def464 PyObject_Free=python39.PyObject_Free
/external/python/cpython2/Modules/
D_elementtree.c302 PyObject_Free(self->extra->children); in element_dealloc_extra()
304 PyObject_Free(self->extra); in element_dealloc_extra()
2567 memory_handler.free_fcn = PyObject_Free;
/external/python/cpython2/PC/os2emx/
Dpython27.def498 "PyObject_Free"
/external/python/cffi/c/
D_cffi_backend.c414 PyObject_Free(ct->ct_extra); in ctypedescr_dealloc()
1876 PyObject_Free(view); in cdataowninggc_dealloc()
3087 PyObject_Free(buffer); in cdata_call()
3091 PyObject_Free(cif_descr); in cdata_call()
5624 PyObject_Free(buffer); in fb_prepare_cif()
6896 PyObject_Free(view);

12