Home
last modified time | relevance | path

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

/third_party/python/Parser/
Dmyreadline.c180 wchar_t *tmp = PyMem_RawRealloc(wbuf, wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()
309 pr = (char *)PyMem_RawRealloc(p, n + incr); in PyOS_StdioReadline()
331 pr = (char *)PyMem_RawRealloc(p, n+1); in PyOS_StdioReadline()
/third_party/python/Modules/
Dgrpmodule.c135 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrgid_impl()
216 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrnam_impl()
Dpwdmodule.c157 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwuid()
240 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwnam_impl()
D_testcapimodule.c4058 case PYMEM_DOMAIN_RAW: ptr2 = PyMem_RawRealloc(ptr, size2); break; in test_setallocators()
Dposixmodule.c3814 newbuf = PyMem_RawRealloc(buf, buflen); in posix_getcwd()
/third_party/python/Include/cpython/
Dpymem.h7 PyAPI_FUNC(void *) PyMem_RawRealloc(void *ptr, size_t new_size);
/third_party/python/Doc/c-api/
Dmemory.rst165 .. c:function:: void* PyMem_RawRealloc(void *p, size_t n)
175 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or
178 If the request fails, :c:func:`PyMem_RawRealloc` returns ``NULL`` and *p*
185 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or
437 * :c:func:`PyMem_RawRealloc`
599 :c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
Dveryhigh.rst181 :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred.
185 :c:func:`PyMem_RawRealloc`, instead of being allocated by
Dinit.rst58 * :c:func:`PyMem_RawRealloc`
/third_party/python/Objects/
Dobmalloc.c585 PyMem_RawRealloc(void *ptr, size_t new_size) in PyMem_RawRealloc() function
1563 arenaobj = (struct arena_object *)PyMem_RawRealloc(arenas, nbytes); in new_arena()
2327 return PyMem_RawRealloc(ptr, nbytes); in _PyObject_Realloc()
Dunicodeobject.c5591 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
/third_party/python/PC/
Dgetpathp.c613 wchar_t *tmp = (wchar_t*)PyMem_RawRealloc(buf, (bufsiz + 1) * in read_pth_file()
/third_party/python/Python/
Dimport.c2262 p = PyMem_RawRealloc(inittab_copy, size); in PyImport_ExtendInittab()
Dinitconfig.c383 wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size); in PyWideStringList_Insert()
/third_party/python/Doc/whatsnew/
D3.4.rst2506 :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a
/third_party/python/Misc/
DHISTORY3716 now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL