| /external/python/pybind11/tests/ |
| D | valgrind-numpy-scipy.supp | 8 fun:PyObject_Malloc 23 fun:PyObject_Malloc 36 fun:PyObject_Malloc 57 fun:PyObject_Malloc 74 fun:PyObject_Malloc
|
| /external/python/cpython3/Include/ |
| D | objimpl.h | 97 PyAPI_FUNC(void *) PyObject_Malloc(size_t size); 108 #define PyObject_MALLOC PyObject_Malloc
|
| /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/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()
|
| /external/python/cpython3/Doc/c-api/ |
| D | memory.rst | 108 by :c:func:`PyObject_Malloc` for allocating memory for buffers. 321 .. c:function:: void* PyObject_Malloc(size_t n) 327 if ``PyObject_Malloc(1)`` had been called instead. The memory will not have 349 If *p* is ``NULL``, the call is equivalent to ``PyObject_Malloc(n)``; else if *n* 354 :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:`PyObject_Calloc`. 363 previous call to :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or 378 … Name PyMem_RawMalloc PyMem_Malloc PyObject_Malloc 454 * :c:func:`PyObject_Malloc` 517 :c:func:`PyObject_Malloc`) and :c:data:`PYMEM_DOMAIN_MEM` (ex: 603 :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains.
|
| /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 | 123 ff = (PyFutureFeatures *)PyObject_Malloc(sizeof(PyFutureFeatures)); in _PyFuture_FromAST()
|
| /external/python/cffi/cffi/ |
| D | _cffi_include.h | 328 struct _cffi_freeme_s *fp = (struct _cffi_freeme_s *)PyObject_Malloc( in _cffi_convert_array_argument()
|
| /external/python/cpython3/Objects/ |
| D | bytesobject.c | 70 PyBytesObject *op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE); in bytes_create_empty_string_singleton() 126 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize() 202 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in PyBytes_FromString() 1466 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + nbytes); in bytes_repeat()
|
| D | bytearrayobject.c | 132 new->ob_bytes = PyObject_Malloc(alloc); in PyByteArray_FromStringAndSize() 221 sval = PyObject_Malloc(alloc); in PyByteArray_Resize() 931 buffer = PyObject_Malloc(newsize); in bytearray_repr()
|
| D | object.c | 183 PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp)); in _PyObject_New() 196 op = (PyVarObject *) PyObject_Malloc(size); in _PyObject_NewVar()
|
| D | complexobject.c | 229 PyComplexObject *op = PyObject_Malloc(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
|
| D | unicodeobject.c | 1266 _PyUnicode_WSTR(unicode) = (Py_UNICODE*) PyObject_Malloc(new_size); in _PyUnicode_New() 1463 obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size); in PyUnicode_New() 1845 _PyUnicode_DATA_ANY(unicode) = PyObject_Malloc(_PyUnicode_WSTR_LENGTH(unicode) + 1); in _PyUnicode_Ready() 1886 _PyUnicode_DATA_ANY(unicode) = PyObject_Malloc( in _PyUnicode_Ready() 1915 _PyUnicode_DATA_ANY(unicode) = PyObject_Malloc(4 * (length_wo_surrogates + 1)); in _PyUnicode_Ready() 4286 w = (wchar_t *) PyObject_Malloc(sizeof(wchar_t) * (wlen + 1)); in PyUnicode_AsUnicodeAndSize() 5704 char *cache = PyObject_Malloc(len + 1); in unicode_fill_utf8() 8670 result = PyObject_Malloc(sizeof(struct encoding_map) + in PyUnicode_BuildEncodingMap() 15694 data = PyObject_Malloc((length + 1) * char_size); in unicode_subtype_new()
|
| /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 | mathmodule.c | 2665 diffs = (double *) PyObject_Malloc(n * sizeof(double)); in math_dist_impl() 2720 coordinates = (double *) PyObject_Malloc(nargs * sizeof(double)); in math_hypot()
|
| D | _testcapimodule.c | 3944 ptr = PyObject_Malloc(0); in test_pymem_alloc0() 4034 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Malloc(size); break; in test_setallocators() 4821 PyObject *op = (PyObject *)PyObject_Malloc(sizeof(PyObject)); in check_pyobject_uninitialized_is_freed() 4836 PyObject *op = (PyObject *)PyObject_Malloc(offsetof(PyObject, ob_type)); in check_pyobject_forbidden_bytes_is_freed() 4876 buffer = PyObject_Malloc(10); in pyobject_malloc_without_gil()
|
| D | _elementtree.c | 228 self->extra = PyObject_Malloc(sizeof(ElementObjectExtra)); in create_extra() 481 children = PyObject_Malloc(size * sizeof(PyObject*)); in element_resize() 3055 PyObject_Malloc, PyObject_Realloc, PyObject_Free};
|
| /external/python/cpython2/PC/os2emx/ |
| D | python27.def | 497 "PyObject_Malloc"
|
| /external/python/cffi/c/ |
| D | _cffi_backend.c | 1053 scd = (CDataObject_own_length *)PyObject_Malloc( in new_sized_cdata() 3127 buffer = PyObject_Malloc(cif_descr->exchange_size); in cdata_call() 3160 struct freeme_s *fp = (struct freeme_s *)PyObject_Malloc( in cdata_call() 4007 CDataObject *cd = (CDataObject *)PyObject_Malloc(dataoffset + ct->ct_size); in _new_casted_primitive() 5871 buffer = PyObject_Malloc(funcbuffer.nb_bytes); in fb_prepare_cif() 7215 view = PyObject_Malloc(sizeof(Py_buffer)); in direct_from_buffer()
|
| /external/python/cpython3/PC/ |
| D | python3dll.c | 465 EXPORT_FUNC(PyObject_Malloc)
|
| D | winreg.c | 462 PyHKEYObject *op = (PyHKEYObject *) PyObject_Malloc(sizeof(PyHKEYObject)); in PyHKEY_FromHKEY()
|
| /external/python/cpython3/Doc/data/ |
| D | stable_abi.dat | 509 function,PyObject_Malloc,3.2,
|