Searched refs:PyMem_Realloc (Results 1 – 25 of 47) sorted by relevance
12
/external/python/cpython3/Include/ |
D | pymem.h | 105 PyAPI_FUNC(void *) PyMem_Realloc(void *ptr, size_t new_size); 128 #define PyMem_REALLOC(p, n) PyMem_Realloc(p, n) 156 (type *) PyMem_Realloc((p), (n) * sizeof(type)) )
|
/external/python/cpython2/Include/ |
D | pymem.h | 53 PyAPI_FUNC(void *) PyMem_Realloc(void *, size_t); 107 (type *) PyMem_Realloc((p), (n) * sizeof(type)) )
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 50 #define PyObject_Realloc PyMem_Realloc
|
/external/python/cpython2/Doc/c-api/ |
D | memory.rst | 105 .. c:function:: void* PyMem_Realloc(void *p, size_t n) 112 to :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`. If the request fails, 113 :c:func:`PyMem_Realloc` returns *NULL* and *p* remains a valid pointer to the 120 previous call to :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`. Otherwise, or 137 Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n *
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 204 .. c:function:: void* PyMem_Realloc(void *p, size_t n) 214 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`. 216 If the request fails, :c:func:`PyMem_Realloc` returns *NULL* and *p* remains 223 previous call to :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or 242 Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * 405 * :c:func:`PyMem_Realloc`
|
/external/python/cpython3/Modules/ |
D | atexitmodule.c | 138 r = (atexit_callback**)PyMem_Realloc(modstate->atexit_callbacks, in atexit_register()
|
D | _bz2module.c | 494 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | _localemodule.c | 369 wchar_t * new_buf = PyMem_Realloc(buf, (n2+1)*sizeof(wchar_t)); in PyLocale_strxfrm()
|
D | unicodedata.c | 530 new_output = PyMem_Realloc(output, osize*sizeof(Py_UCS4)); in nfd_nfkd()
|
D | _lzmamodule.c | 960 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | mathmodule.c | 1247 v = PyMem_Realloc(p, sizeof(double) * m); in _fsum_realloc()
|
/external/python/cpython3/PC/ |
D | winreg.c | 1148 tmpBuf = (BYTE *)PyMem_Realloc(retDataBuf, bufDataSize); in winreg_EnumValue_impl() 1441 tmp = (wchar_t *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValue_impl() 1507 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValueEx_impl()
|
D | python3.def | 353 PyMem_Realloc=python37.PyMem_Realloc
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 260 PyMem_Realloc
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 605 newbuf = (wchar_t*)PyMem_Realloc(buf, maxlen * sizeof(wchar_t)); in read_console_w() 818 wchar_t *tmp = PyMem_Realloc(buf, in _io__WindowsConsoleIO_readall_impl()
|
D | stringio.c | 109 new_buf = (Py_UCS4 *)PyMem_Realloc(self->buf, alloc * sizeof(Py_UCS4)); in resize_buffer()
|
/external/python/cpython2/PC/ |
D | _winreg.c | 1244 tmpBuf = (char *)PyMem_Realloc(retDataBuf, bufDataSize); in PyEnumValue() 1439 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in PyQueryValue() 1501 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in PyQueryValueEx()
|
/external/python/cpython2/Modules/ |
D | _randommodule.c | 296 key = (unsigned long *)PyMem_Realloc(key, in random_seed()
|
D | _csv.c | 578 field_new = (char *)PyMem_Realloc(self->field, field_size_new); in parse_grow_buff() 1101 rec_new = (char *)PyMem_Realloc(self->rec, rec_size_new); in join_check_rec_size()
|
D | _localemodule.c | 373 buf = PyMem_Realloc(buf, n2); in PyLocale_strxfrm()
|
D | mathmodule.c | 920 v = PyMem_Realloc(p, sizeof(double) * m); in _fsum_realloc()
|
/external/python/cpython2/Modules/_io/ |
D | bytesio.c | 92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char)); in resize_buffer()
|
D | stringio.c | 89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf, in resize_buffer()
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 880 co_extra = PyMem_Realloc( in _PyCode_SetExtra()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 462 "PyMem_Realloc"
|
12