Lines Matching refs:PyMem_Malloc
107 For example, :c:func:`PyMem_Free` must be used to free memory allocated using :c:func:`PyMem_Malloc…
130 For example, buffers (non-Python objects) should be allocated using :c:func:`PyMem_Malloc`,
223 .. c:function:: void* PyMem_Malloc(size_t n)
229 if ``PyMem_Malloc(1)`` had been called instead. The memory will not have
251 If *p* is ``NULL``, the call is equivalent to ``PyMem_Malloc(n)``; else if *n*
256 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`.
265 previous call to :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or
277 Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes of
390 Configuration Name PyMem_RawMalloc PyMem_Malloc P…
461 * :c:func:`PyMem_Malloc`,
555 called on a memory block allocated by :c:func:`PyMem_Malloc`.
561 :c:func:`PyMem_Malloc`) domains are called.
646 :c:macro:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and
729 char *buf = (char *) PyMem_Malloc(BUFSIZ); /* for I/O */
735 PyMem_Free(buf); /* allocated with PyMem_Malloc */
759 char *buf3 = (char *) PyMem_Malloc(BUFSIZ);