Home
last modified time | relevance | path

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

/external/python/cpython3/Parser/
Dmyreadline.c180 wchar_t *tmp = PyMem_RawRealloc(wbuf, wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()
311 pr = (char *)PyMem_RawRealloc(p, n + incr); in PyOS_StdioReadline()
333 pr = (char *)PyMem_RawRealloc(p, n+1); in PyOS_StdioReadline()
/external/python/cpython3/Include/cpython/
Dpymem.h11 PyAPI_FUNC(void *) PyMem_RawRealloc(void *ptr, size_t new_size);
/external/python/cpython3/Modules/
Dpwdmodule.c159 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwuid()
242 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwnam_impl()
Dgrpmodule.c152 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrgid_impl()
233 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrnam_impl()
D_testcapimodule.c3891 case PYMEM_DOMAIN_RAW: ptr2 = PyMem_RawRealloc(ptr, size2); break; in test_setallocators()
Dposixmodule.c3734 newbuf = PyMem_RawRealloc(buf, buflen); in posix_getcwd()
/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`
490 :c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
Dveryhigh.rst182 :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred.
186 :c:func:`PyMem_RawRealloc`, instead of being allocated by
Dinit.rst58 * :c:func:`PyMem_RawRealloc`
/external/python/cpython3/Objects/
Dobmalloc.c585 PyMem_RawRealloc(void *ptr, size_t new_size) in PyMem_RawRealloc() function
1273 arenaobj = (struct arena_object *)PyMem_RawRealloc(arenas, nbytes); in new_arena()
2011 return PyMem_RawRealloc(ptr, nbytes); in _PyObject_Realloc()
Dunicodeobject.c5393 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
/external/python/cpython3/PC/
Dgetpathp.c614 wchar_t *tmp = (wchar_t*)PyMem_RawRealloc(buf, (bufsiz + 1) * in read_pth_file()
/external/python/cpython3/Python/
Dimport.c2468 p = PyMem_RawRealloc(inittab_copy, size); in PyImport_ExtendInittab()
Dinitconfig.c360 wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size); in PyWideStringList_Insert()
/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