Home
last modified time | relevance | path

Searched refs:PyObject_Calloc (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Doc/c-api/
Dmemory.rst293 .. c:function:: void* PyObject_Calloc(size_t nelem, size_t elsize)
300 non-*NULL* pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been called
316 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:`PyObject_Calloc`.
326 :c:func:`PyObject_Calloc`. Otherwise, or if ``PyObject_Free(p)`` has been called
415 * :c:func:`PyObject_Calloc`
/external/python/cpython3/Include/
Dobjimpl.h99 PyAPI_FUNC(void *) PyObject_Calloc(size_t nelem, size_t elsize);
/external/python/cpython2/Doc/c-api/
Dmemory.rst192 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:`PyObject_Calloc`.
202 :c:func:`PyObject_Calloc`. Otherwise, or if ``PyObject_Free(p)`` has been called
/external/python/cpython3/PC/
Dpython3.def455 PyObject_Calloc=python37.PyObject_Calloc
/external/python/cpython3/Modules/
Dgcmodule.c1694 g = (PyGC_Head *)PyObject_Calloc(1, size); in _PyObject_GC_Alloc()
D_testcapimodule.c3363 ptr = PyObject_Calloc(0, 0); in test_pymem_alloc0()
3507 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Calloc(nelem, elsize); break; in test_setallocators()
/external/python/cpython3/Objects/
Dobmalloc.c637 PyObject_Calloc(size_t nelem, size_t elsize) in PyObject_Calloc() function
Dbytesobject.c83 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize()
/external/python/cpython2/Objects/
Dbytesobject.c83 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2179 * :c:func:`PyObject_Calloc`.
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst5170 Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(),