Searched refs:PyMem_RawRealloc (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Parser/ |
D | myreadline.c | 180 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/ |
D | pymem.h | 11 PyAPI_FUNC(void *) PyMem_RawRealloc(void *ptr, size_t new_size);
|
/external/python/cpython3/Modules/ |
D | pwdmodule.c | 159 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwuid() 242 buf2 = PyMem_RawRealloc(buf, bufsize); in pwd_getpwnam_impl()
|
D | grpmodule.c | 152 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrgid_impl() 233 buf2 = PyMem_RawRealloc(buf, bufsize); in grp_getgrnam_impl()
|
D | _testcapimodule.c | 3891 case PYMEM_DOMAIN_RAW: ptr2 = PyMem_RawRealloc(ptr, size2); break; in test_setallocators()
|
D | posixmodule.c | 3734 newbuf = PyMem_RawRealloc(buf, buflen); in posix_getcwd()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 133 .. 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.
|
D | veryhigh.rst | 182 :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred. 186 :c:func:`PyMem_RawRealloc`, instead of being allocated by
|
D | init.rst | 58 * :c:func:`PyMem_RawRealloc`
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 585 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()
|
D | unicodeobject.c | 5393 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
|
/external/python/cpython3/PC/ |
D | getpathp.c | 614 wchar_t *tmp = (wchar_t*)PyMem_RawRealloc(buf, (bufsiz + 1) * in read_pth_file()
|
/external/python/cpython3/Python/ |
D | import.c | 2468 p = PyMem_RawRealloc(inittab_copy, size); in PyImport_ExtendInittab()
|
D | initconfig.c | 360 wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size); in PyWideStringList_Insert()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2506 :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3716 now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL
|