/external/python/cpython2/Include/ |
D | objimpl.h | 97 PyAPI_FUNC(void *) PyObject_Malloc(size_t); 119 #define PyObject_Malloc _PyObject_DebugMalloc macro 126 #define PyObject_MALLOC PyObject_Malloc
|
/external/python/cpython2/Doc/c-api/ |
D | memory.rst | 172 .. c:function:: void* PyObject_Malloc(size_t n) 178 if ``PyObject_Malloc(1)`` had been called instead. The memory will not have 187 If *p* is *NULL*, the call is equivalent to ``PyObject_Malloc(n)``; else if *n* 192 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:`PyObject_Calloc`. 201 previous call to :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or 210 * :c:func:`PyObject_MALLOC`: alias to :c:func:`PyObject_Malloc` 228 *pymalloc* is the default allocator of :c:func:`PyObject_Malloc`.
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 49 #define PyObject_Malloc PyMem_Malloc macro
|
/external/python/cpython3/Include/ |
D | objimpl.h | 97 PyAPI_FUNC(void *) PyObject_Malloc(size_t size); 117 #define PyObject_MALLOC PyObject_Malloc
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 283 .. c:function:: void* PyObject_Malloc(size_t n) 289 if ``PyObject_Malloc(1)`` had been called instead. The memory will not have 311 If *p* is *NULL*, the call is equivalent to ``PyObject_Malloc(n)``; else if *n* 316 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:`PyObject_Calloc`. 325 previous call to :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or 340 … Name PyMem_RawMalloc PyMem_Malloc PyObject_Malloc 413 * :c:func:`PyObject_Malloc` 454 :c:func:`PyObject_Malloc`) and :c:data:`PYMEM_DOMAIN_MEM` (ex: 487 :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains.
|
/external/python/cpython2/Objects/ |
D | obmalloc.c | 788 #undef PyObject_Malloc 790 PyObject_Malloc(size_t nbytes) in PyObject_Malloc() function 1235 return PyObject_Malloc(nbytes); in PyObject_Realloc() 1272 bp = PyObject_Malloc(nbytes); in PyObject_Realloc() 1311 PyObject_Malloc(size_t n) in PyObject_Malloc() function 1494 p = (uchar *)PyObject_Malloc(total); in _PyObject_DebugMallocApi()
|
D | bytesobject.c | 85 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize()
|
D | unicodeobject.c | 749 callresults = PyObject_Malloc(sizeof(PyObject *)*callcount); in PyUnicode_FromFormatV() 898 abuffer = PyObject_Malloc(abuffersize + 1); in PyUnicode_FromFormatV()
|
/external/python/cpython2/Python/ |
D | future.c | 124 ff = (PyFutureFeatures *)PyObject_Malloc(sizeof(PyFutureFeatures)); in PyFuture_FromAST()
|
D | compile.c | 469 u = (struct compiler_unit *)PyObject_Malloc(sizeof( in compiler_enter_scope() 572 b = (basicblock *)PyObject_Malloc(sizeof(basicblock)); in compiler_new_block() 624 b->b_instr = (struct instr *)PyObject_Malloc( in compiler_next_instr() 3505 a->a_postorder = (basicblock **)PyObject_Malloc( in assemble_init()
|
/external/python/cpython3/Python/ |
D | future.c | 134 ff = (PyFutureFeatures *)PyObject_Malloc(sizeof(PyFutureFeatures)); in PyFuture_FromASTObject()
|
D | compile.c | 546 u = (struct compiler_unit *)PyObject_Malloc(sizeof( in compiler_enter_scope() 761 b = (basicblock *)PyObject_Malloc(sizeof(basicblock)); in compiler_new_block() 803 b->b_instr = (struct instr *)PyObject_Malloc( in compiler_next_instr() 5014 stack = (basicblock **)PyObject_Malloc(sizeof(basicblock *) * nblocks); in stackdepth() 5094 a->a_postorder = (basicblock **)PyObject_Malloc( in assemble_init()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 153 new->ob_bytes = PyObject_Malloc(alloc); in PyByteArray_FromStringAndSize() 242 sval = PyObject_Malloc(alloc); in PyByteArray_Resize() 937 buffer = PyObject_Malloc(newsize); in bytearray_repr()
|
D | obmalloc.c | 628 PyObject_Malloc(size_t size) in PyObject_Malloc() function
|
D | bytesobject.c | 85 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize()
|
/external/python/cpython3/PC/ |
D | python3.def | 483 PyObject_Malloc=python37.PyObject_Malloc
|
/external/python/cpython2/Modules/ |
D | _elementtree.c | 274 self->extra = PyObject_Malloc(sizeof(ElementObjectExtra)); in element_new_extra() 389 children = PyObject_Malloc(size * sizeof(PyObject*)); in element_resize() 2565 memory_handler.malloc_fcn = PyObject_Malloc;
|
/external/python/cpython3/Modules/ |
D | _elementtree.c | 216 self->extra = PyObject_Malloc(sizeof(ElementObjectExtra)); in create_extra() 471 children = PyObject_Malloc(size * sizeof(PyObject*)); in element_resize() 2792 PyObject_Malloc, PyObject_Realloc, PyObject_Free};
|
D | gcmodule.c | 1696 g = (PyGC_Head *)PyObject_Malloc(size); in _PyObject_GC_Alloc()
|
D | _testcapimodule.c | 3356 ptr = PyObject_Malloc(0); in test_pymem_alloc0() 3446 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Malloc(size); break; in test_setallocators() 4234 buffer = PyObject_Malloc(10); in pyobject_malloc_without_gil()
|
D | pyexpat.c | 19 PyObject_Malloc, PyObject_Realloc, PyObject_Free};
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 497 "PyObject_Malloc"
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 653 functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and 1877 functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and
|
D | 2.3.rst | 1831 :c:func:`PyObject_Malloc`, it has to be freed using :c:func:`PyObject_Free`, not 1847 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc`, and :c:func:`PyObject_Free`.
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 1831 :c:func:`PyObject_Malloc`, it has to be freed using :c:func:`PyObject_Free`, not 1847 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc`, and :c:func:`PyObject_Free`.
|