Home
last modified time | relevance | path

Searched refs:PyObject_Malloc (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Include/
Dobjimpl.h97 PyAPI_FUNC(void *) PyObject_Malloc(size_t);
119 #define PyObject_Malloc _PyObject_DebugMalloc macro
126 #define PyObject_MALLOC PyObject_Malloc
/external/python/cpython2/Misc/
Dpymemcompat.h49 #define PyObject_Malloc PyMem_Malloc macro
/external/python/cpython2/Objects/
Dobmalloc.c788 #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()
Dunicodeobject.c749 callresults = PyObject_Malloc(sizeof(PyObject *)*callcount); in PyUnicode_FromFormatV()
898 abuffer = PyObject_Malloc(abuffersize + 1); in PyUnicode_FromFormatV()
/external/python/cpython2/Python/
Dfuture.c124 ff = (PyFutureFeatures *)PyObject_Malloc(sizeof(PyFutureFeatures)); in PyFuture_FromAST()
Dcompile.c469 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()
3504 a->a_postorder = (basicblock **)PyObject_Malloc( in assemble_init()
/external/python/cpython2/Modules/
D_elementtree.c264 self->extra = PyObject_Malloc(sizeof(ElementObjectExtra)); in element_new_extra()
379 children = PyObject_Malloc(size * sizeof(PyObject*)); in element_resize()
2510 memory_handler.malloc_fcn = PyObject_Malloc;
/external/python/cpython2/PC/os2emx/
Dpython27.def497 "PyObject_Malloc"
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1831 :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`.
D2.5.rst2147 raw memory, while :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc`, and