Home
last modified time | relevance | path

Searched refs:PyMem_RawRealloc (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Parser/
Dmyreadline.c162 wchar_t *tmp = PyMem_RawRealloc(wbuf, wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()
290 pr = (char *)PyMem_RawRealloc(p, n + incr); in PyOS_StdioReadline()
301 pr = (char *)PyMem_RawRealloc(p, n+1); in PyOS_StdioReadline()
/external/python/cpython3/Include/
Dpymem.h17 PyAPI_FUNC(void *) PyMem_RawRealloc(void *ptr, size_t new_size);
/external/python/cpython3/Doc/c-api/
Dmemory.rst133 .. c:function:: void* PyMem_RawRealloc(void *p, size_t n)
143 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or
146 If the request fails, :c:func:`PyMem_RawRealloc` returns *NULL* and *p*
153 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or
396 * :c:func:`PyMem_RawRealloc`
483 :c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
Dveryhigh.rst171 :c:func:`PyMem_RawRealloc`, or *NULL* if an error occurred.
175 :c:func:`PyMem_RawRealloc`, instead of being allocated by
Dinit.rst55 * :c:func:`PyMem_RawRealloc`
/external/python/cpython3/Objects/
Dobmalloc.c533 PyMem_RawRealloc(void *ptr, size_t new_size) in PyMem_RawRealloc() function
1209 arenaobj = (struct arena_object *)PyMem_RawRealloc(arenas, nbytes); in new_arena()
1924 return PyMem_RawRealloc(ptr, nbytes); in _PyObject_Realloc()
Dunicodeobject.c5145 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
/external/python/cpython3/PC/
Dgetpathp.c618 wchar_t *tmp = (wchar_t*)PyMem_RawRealloc(buf, (bufsiz + 1) * in read_pth_file()
/external/python/cpython3/Python/
Dimport.c2327 p = PyMem_RawRealloc(inittab_copy, size); in PyImport_ExtendInittab()
Dast.c4791 expr_ty *tmp = PyMem_RawRealloc(l->p, sizeof(expr_ty) * new_size); in ExprList_Append()
/external/python/cpython3/Modules/
Dmain.c709 wchar_t **list2 = (wchar_t **)PyMem_RawRealloc(*list, size); in wstrlist_append()
D_testcapimodule.c3470 case PYMEM_DOMAIN_RAW: ptr2 = PyMem_RawRealloc(ptr, size2); break; in test_setallocators()
Dposixmodule.c3315 tmpbuf = PyMem_RawRealloc(buf, buflen); in posix_getcwd()
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2506 :c:func:`PyMem_RawRealloc`, or *NULL* if an error occurred, instead of a
/external/python/cpython3/Misc/
DHISTORY3716 now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL