Lines Matching refs:PyMem_Malloc
126 :c:func:`PyMem_Free` must be used to free memory allocated using :c:func:`PyMem_Malloc`.
213 .. c:function:: void* PyMem_Malloc(size_t n)
219 if ``PyMem_Malloc(1)`` had been called instead. The memory will not have
241 If *p* is ``NULL``, the call is equivalent to ``PyMem_Malloc(n)``; else if *n*
246 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`.
255 previous call to :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or
267 Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes of
378 Configuration Name PyMem_RawMalloc PyMem_Malloc P…
445 * :c:func:`PyMem_Malloc`,
512 called on a memory block allocated by :c:func:`PyMem_Malloc`.
518 :c:func:`PyMem_Malloc`) domains are called.
602 :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and
675 char *buf = (char *) PyMem_Malloc(BUFSIZ); /* for I/O */
681 PyMem_Free(buf); /* allocated with PyMem_Malloc */
705 char *buf3 = (char *) PyMem_Malloc(BUFSIZ);