/third_party/python/Include/ |
D | pymem.h | 53 PyAPI_FUNC(void *) PyMem_Realloc(void *ptr, size_t new_size); 65 #define PyMem_REALLOC(p, n) PyMem_Realloc(p, n) 93 (type *) PyMem_Realloc((p), (n) * sizeof(type)) )
|
/third_party/python/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`
|
D | veryhigh.rst | 187 :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`.
|
/third_party/python/Parser/pegen/ |
D | parse.c | 15804 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_1_rule() 15870 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_2_rule() 15945 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_4_rule() 16059 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_6_rule() 16173 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_8_rule() 16287 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_10_rule() 16392 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_11_rule() 16472 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_13_rule() 17025 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_22_rule() 17215 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_26_rule() [all …]
|
D | parse_string.c | 945 expr_ty *tmp = PyMem_Realloc(l->p, sizeof(expr_ty) * new_size); in ExprList_Append()
|
D | pegen.c | 556 void *new_items_array = PyMem_Realloc(arr->items, new_size * sizeof(*arr->items)); in growable_comment_array_add() 618 Token **new_tokens = PyMem_Realloc(p->tokens, newsize * sizeof(Token *)); in _PyPegen_fill_token()
|
/third_party/python/Modules/ |
D | atexitmodule.c | 144 r = (atexit_callback**)PyMem_Realloc(modstate->atexit_callbacks, in atexit_register()
|
D | _bz2module.c | 483 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | _localemodule.c | 399 wchar_t * new_buf = PyMem_Realloc(buf, (n2+1)*sizeof(wchar_t)); in PyLocale_strxfrm()
|
D | unicodedata.c | 537 new_output = PyMem_Realloc(output, osize*sizeof(Py_UCS4)); in nfd_nfkd()
|
D | _lzmamodule.c | 951 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | mathmodule.c | 1369 v = PyMem_Realloc(p, sizeof(double) * m); in _fsum_realloc()
|
D | _testbuffer.c | 2257 p = PyMem_Realloc(infobuf, ndbuf->len); in ndarray_memoryview_from_buffer()
|
D | _testcapimodule.c | 3892 case PYMEM_DOMAIN_MEM: ptr2 = PyMem_Realloc(ptr, size2); break; in test_setallocators()
|
D | _pickle.c | 1461 char *input_line = PyMem_Realloc(self->input_line, len + 1); in _Unpickler_CopyLine()
|
/third_party/python/Modules/_io/ |
D | winconsoleio.c | 606 newbuf = (wchar_t*)PyMem_Realloc(buf, maxlen * sizeof(wchar_t)); in read_console_w() 819 wchar_t *tmp = PyMem_Realloc(buf, in _io__WindowsConsoleIO_readall_impl()
|
D | stringio.c | 110 new_buf = (Py_UCS4 *)PyMem_Realloc(self->buf, alloc * sizeof(Py_UCS4)); in resize_buffer()
|
/third_party/python/PC/ |
D | winreg.c | 1205 tmpBuf = (BYTE *)PyMem_Realloc(retDataBuf, bufDataSize); in winreg_EnumValue_impl() 1525 tmp = (wchar_t *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValue_impl() 1595 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValueEx_impl()
|
D | python3.def | 358 PyMem_Realloc=python39.PyMem_Realloc
|
/third_party/python/Objects/ |
D | codeobject.c | 1090 co_extra = PyMem_Realloc( in _PyCode_SetExtra()
|
D | obmalloc.c | 618 PyMem_Realloc(void *ptr, size_t new_size) in PyMem_Realloc() function
|
D | listobject.c | 72 items = (PyObject **)PyMem_Realloc(self->ob_item, num_allocated_bytes); in list_resize()
|
/third_party/python/Modules/_ctypes/ |
D | callproc.c | 1820 void * ptr = PyMem_Realloc(obj->b_ptr, size); in resize()
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 5674 mpd_reallocfunc = PyMem_Realloc; in PyInit__decimal()
|
/third_party/python/Python/ |
D | ast.c | 5317 expr_ty *tmp = PyMem_Realloc(l->p, sizeof(expr_ty) * new_size); in ExprList_Append()
|