Home
last modified time | relevance | path

Searched refs:PyMem_RESIZE (Results 1 – 13 of 13) 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/cpython3/Include/
Dpymem.h157 #define PyMem_RESIZE(p, type, n) \ macro
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst124 PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been
/external/python/cpython2/Doc/c-api/
Dmemory.rst155 :c:func:`PyMem_NEW`, :c:func:`PyMem_RESIZE`, :c:func:`PyMem_DEL`.
/external/python/cpython3/Doc/c-api/
Dmemory.rst263 * ``PyMem_RESIZE(ptr, type, size)``
/external/python/cpython3/Modules/
Dselectmodule.c361 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); in update_ufd_array()
D_pickle.c497 PyMem_RESIZE(data, PyObject *, new_allocated); in Pdata_grow()
1383 PyMem_RESIZE(memo_new, PyObject *, new_size); in _Unpickler_ResizeMemoList()
6306 PyMem_RESIZE(self->marks, Py_ssize_t, alloc); in load_mark()
Darraymodule.c160 PyMem_RESIZE(items, char, (_new_size * self->ob_descr->itemsize)); in array_resize()
/external/python/cpython2/Python/
Dimport.c3494 PyMem_RESIZE(p, struct _inittab, i+n+1); in PyImport_ExtendInittab()
/external/python/cpython2/Objects/
Dlistobject.c62 PyMem_RESIZE(items, PyObject *, new_allocated); in list_resize()