Home
last modified time | relevance | path

Searched refs:PyMem_Realloc (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Include/
Dpymem.h54 PyAPI_FUNC(void *) PyMem_Realloc(void *ptr, size_t new_size);
79 (type *) PyMem_Realloc((p), (n) * sizeof(type)) )
87 #define PyMem_REALLOC(p, n) PyMem_Realloc(p, n)
/third_party/python/Modules/
Datexitmodule.c158 r = (atexit_callback**)PyMem_Realloc(state->callbacks, size); in atexit_register()
D_bz2module.c519 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
D_localemodule.c423 wchar_t * new_buf = PyMem_Realloc(buf, (n2+1)*sizeof(wchar_t)); in _locale_strxfrm_impl()
Dunicodedata.c543 new_output = PyMem_Realloc(output, osize*sizeof(Py_UCS4)); in nfd_nfkd()
D_lzmamodule.c1013 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
Dmathmodule.c1379 v = PyMem_Realloc(p, sizeof(double) * m); in _fsum_realloc()
D_sre.c217 stack = PyMem_Realloc(state->data_stack, cursize); in data_stack_grow()
D_testbuffer.c2257 p = PyMem_Realloc(infobuf, ndbuf->len); in ndarray_memoryview_from_buffer()
/third_party/python/Doc/c-api/
Dmemory.rst236 .. c:function:: void* PyMem_Realloc(void *p, size_t n)
246 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`.
248 If the request fails, :c:func:`PyMem_Realloc` returns ``NULL`` and *p* remains
255 previous call to :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or
274 Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n *
446 * :c:func:`PyMem_Realloc`
Dveryhigh.rst186 :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`.
/third_party/python/Parser/
Dparser.c21962 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_1_rule()
22031 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_2_rule()
22109 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_4_rule()
22229 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_6_rule()
22349 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_8_rule()
22469 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_10_rule()
22580 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_11_rule()
22663 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_13_rule()
23246 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop1_22_rule()
23445 void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *)); in _loop0_26_rule()
[all …]
Dtokenizer.c333 new_str = PyMem_Realloc(new_str, current_size + line_size + 1); in tok_concatenate_interactive_new_line()
377 newbuf = (char *)PyMem_Realloc(newbuf, newsize); in tok_reserve_buf()
631 char* result = PyMem_Realloc(buf, final_length); in translate_newlines()
Dstring_parser.c936 expr_ty *tmp = PyMem_Realloc(l->p, sizeof(expr_ty) * new_size); in ExprList_Append()
Dpegen.c659 void *new_items_array = PyMem_Realloc(arr->items, new_size * sizeof(*arr->items)); in growable_comment_array_add()
722 Token **new_tokens = PyMem_Realloc(p->tokens, newsize * sizeof(Token *)); in _resize_tokens_array()
/third_party/python/PC/
Dwinreg.c1215 tmpBuf = (BYTE *)PyMem_Realloc(retDataBuf, bufDataSize); in winreg_EnumValue_impl()
1535 tmp = (wchar_t *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValue_impl()
1605 tmp = (char *) PyMem_Realloc(retBuf, bufSize); in winreg_QueryValueEx_impl()
Dpython3dll.c357 EXPORT_FUNC(PyMem_Realloc)
/third_party/python/Modules/_io/
Dwinconsoleio.c589 newbuf = (wchar_t*)PyMem_Realloc(buf, maxlen * sizeof(wchar_t)); in read_console_w()
811 wchar_t *tmp = PyMem_Realloc(buf, in _io__WindowsConsoleIO_readall_impl()
Dstringio.c110 new_buf = (Py_UCS4 *)PyMem_Realloc(self->buf, alloc * sizeof(Py_UCS4)); in resize_buffer()
/third_party/python/Doc/data/
Dstable_abi.dat374 function,PyMem_Realloc,3.2,
/third_party/python/Objects/
Dcodeobject.c1333 co_extra = PyMem_Realloc( in _PyCode_SetExtra()
Dobmalloc.c618 PyMem_Realloc(void *ptr, size_t new_size) in PyMem_Realloc() function
/third_party/python/Modules/_ctypes/
Dcallproc.c1839 void * ptr = PyMem_Realloc(obj->b_ptr, size); in resize()
/third_party/python/Python/
Dmarshal.c653 char *tmp = PyMem_Realloc(p->buf, n); in r_string()
/third_party/python/Misc/
Dstable_abi.txt898 function PyMem_Realloc

12