/external/python/cpython3/Include/ |
D | pymem.h | 50 PyAPI_FUNC(void *) PyMem_Realloc(void *ptr, size_t new_size); 75 (type *) PyMem_Realloc((p), (n) * sizeof(type)) ) 83 #define PyMem_REALLOC(p, n) PyMem_Realloc((p), (n))
|
/external/python/cpython3/Parser/lexer/ |
D | buffer.c | 61 newbuf = (char *)PyMem_Realloc(newbuf, newsize); in _PyLexer_tok_reserve_buf()
|
D | lexer.c | 188 char *new_buffer = PyMem_Realloc( in _PyLexer_update_fstring_expr()
|
/external/python/cpython3/Modules/ |
D | atexitmodule.c | 199 r = (atexit_py_callback**)PyMem_Realloc(state->callbacks, size); in atexit_register()
|
D | _localemodule.c | 415 wchar_t * new_buf = PyMem_Realloc(buf, (n2+1)*sizeof(wchar_t)); in _locale_strxfrm_impl()
|
D | _bz2module.c | 513 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | unicodedata.c | 536 new_output = PyMem_Realloc(output, osize*sizeof(Py_UCS4)); in nfd_nfkd()
|
D | _lzmamodule.c | 1023 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
|
D | zlibmodule.c | 1570 tmp = PyMem_Realloc(self->input_buffer, new_size); in decompress()
|
D | timemodule.c | 825 *outbuf = (time_char *)PyMem_Realloc(*outbuf, in time_strftime1()
|
D | pyexpat.c | 25 PyMem_Malloc, PyMem_Realloc, PyMem_Free};
|
/external/python/cpython3/Parser/ |
D | parser.c | 25488 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_1_rule() 25555 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_2_rule() 25622 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_3_rule() 25703 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_5_rule() 26275 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_14_rule() 26516 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_19_rule() 26633 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_21_rule() 26844 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_24_rule() 26911 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_25_rule() 26992 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_27_rule() [all …]
|
D | pegen.c | 136 void *new_items_array = PyMem_Realloc(arr->items, new_size * sizeof(*arr->items)); in growable_comment_array_add() 221 Token **new_tokens = PyMem_Realloc(p->tokens, newsize * sizeof(Token *)); in _resize_tokens_array()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 246 .. c:function:: void* PyMem_Realloc(void *p, size_t n) 256 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`. 258 If the request fails, :c:func:`PyMem_Realloc` returns ``NULL`` and *p* remains 265 previous call to :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or 284 Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * 462 * :c:func:`PyMem_Realloc`
|
D | veryhigh.rst | 168 :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`.
|
/external/python/cpython3/PC/ |
D | winreg.c | 1227 tmpBuf = (BYTE *)PyMem_Realloc(retDataBuf, bufDataSize); in winreg_EnumValue_impl() 1560 void *tmp = PyMem_Realloc(pbuf != buf ? pbuf : NULL, size); in winreg_QueryValue_impl() 1648 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValueEx_impl()
|
D | python3dll.c | 387 EXPORT_FUNC(PyMem_Realloc)
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 671 newbuf = (wchar_t*)PyMem_Realloc(buf, maxlen * sizeof(wchar_t)); in read_console_w() 901 wchar_t *tmp = PyMem_Realloc(buf, in _io__WindowsConsoleIO_readall_impl()
|
D | stringio.c | 113 new_buf = (Py_UCS4 *)PyMem_Realloc(self->buf, alloc * sizeof(Py_UCS4)); in resize_buffer()
|
/external/python/cpython3/Parser/tokenizer/ |
D | file_tokenizer.c | 32 new_str = PyMem_Realloc(new_str, current_size + line_size + 1); in tok_concatenate_interactive_new_line()
|
D | helpers.c | 242 char* result = PyMem_Realloc(buf, final_length); in _PyTokenizer_translate_newlines()
|
/external/python/cpython3/Modules/_testcapi/ |
D | mem.c | 241 ptr2 = PyMem_Realloc(ptr, size2); in test_setallocators()
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 402 func,PyMem_Realloc,3.2,,
|
/external/python/cpython3/Modules/_ctypes/ |
D | callproc.c | 1924 void * ptr = PyMem_Realloc(obj->b_ptr, size); in resize()
|
/external/python/cpython3/Python/ |
D | optimizer.c | 69 _PyExecutorArray *new = PyMem_Realloc( in get_index_for_executor()
|