Home
last modified time | relevance | path

Searched refs:PyMem_RESIZE (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Modules/
Darraymodule.c79 PyMem_RESIZE(items, char, (_new_size * self->ob_descr->itemsize)); in array_resize()
753 PyMem_RESIZE(item, char, Py_SIZE(a)*a->ob_descr->itemsize); in array_ass_slice()
759 PyMem_RESIZE(item, char, in array_ass_slice()
843 PyMem_RESIZE(self->ob_item, char, size*self->ob_descr->itemsize); in array_do_extend()
900 PyMem_RESIZE(items, char, n * size); in array_inplace_repeat()
1237 PyMem_RESIZE(item, char, newbytes); in array_fromfile()
1250 PyMem_RESIZE(item, char, Py_SIZE(self)*itemsize); in array_fromfile()
1338 PyMem_RESIZE(item, char, (Py_SIZE(self) + n) * itemsize); in array_fromlist()
1354 PyMem_RESIZE(item, char, in array_fromlist()
1422 PyMem_RESIZE(item, char, (Py_SIZE(self) + n) * itemsize); in array_fromstring()
[all …]
Dselectmodule.c337 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); in update_ufd_array()
Dalmodule.c1638 PyMem_RESIZE(return_set, ALvalue, setsize); in al_QueryValues()
/external/python/cpython2/Include/
Dpymem.h108 #define PyMem_RESIZE(p, type, n) \ macro
/external/python/cpython2/Doc/c-api/
Dmemory.rst155 :c:func:`PyMem_NEW`, :c:func:`PyMem_RESIZE`, :c:func:`PyMem_DEL`.
/external/python/cpython2/Objects/
Dlistobject.c62 PyMem_RESIZE(items, PyObject *, new_allocated); in list_resize()
/external/python/cpython2/Python/
Dimport.c3472 PyMem_RESIZE(p, struct _inittab, i+n+1); in PyImport_ExtendInittab()
/external/python/cpython2/Misc/
DNEWS9346 modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have