Home
last modified time | relevance | path

Searched refs:PyMem_REALLOC (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Include/
Dpymem.h63 #define PyMem_REALLOC _PyMem_DebugRealloc macro
76 #define PyMem_REALLOC(p, n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL \ macro
110 (type *) PyMem_REALLOC((p), (n) * sizeof(type)) )
Dobjimpl.h133 #define PyObject_REALLOC PyMem_REALLOC
/external/python/cpython3/Include/
Dpymem.h65 #define PyMem_REALLOC(p, n) PyMem_Realloc(p, n) macro
96 (type *) PyMem_REALLOC((p), (n) * sizeof(type)) )
/external/python/cpython2/Parser/
Dmyreadline.c143 p = (char *)PyMem_REALLOC(p, n + incr); in PyOS_StdioReadline()
153 return (char *)PyMem_REALLOC(p, n+1); in PyOS_StdioReadline()
Dpgenmain.c153 return (char *)PyMem_REALLOC(p, n+1); in PyOS_Readline()
Dtokenizer.c661 buf = PyMem_REALLOC(buf, final_length); in translate_newlines()
902 buf = (char *)PyMem_REALLOC(buf, newlen+1); in tok_nextc()
974 newbuf = (char *)PyMem_REALLOC(newbuf, in tok_nextc()
/external/python/cpython3/Parser/
Dtokenizer.c653 char* result = PyMem_REALLOC(buf, final_length); in translate_newlines()
890 buf = (char *)PyMem_REALLOC(buf, newlen+1); in tok_nextc()
963 newbuf = (char *)PyMem_REALLOC(newbuf, in tok_nextc()
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst124 PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been
D2.7.15rc1.rst1476 Fix -Wint-in-bool-context warnings in PyMem_MALLOC and PyMem_REALLOC macros
/external/python/cpython2/Doc/c-api/
Dmemory.rst153 :c:func:`PyMem_MALLOC`, :c:func:`PyMem_REALLOC`, :c:func:`PyMem_FREE`.
/external/python/cpython2/Objects/
Dobmalloc.c1319 return PyMem_REALLOC(p, n); in PyObject_Realloc()
Dobject.c2354 return PyMem_REALLOC(p, nbytes); in PyMem_Realloc()
/external/python/cpython3/Python/
Dmarshal.c674 char *tmp = PyMem_REALLOC(p->buf, n); in r_string()
/external/python/cpython3/Doc/c-api/
Dmemory.rst262 * ``PyMem_REALLOC(ptr, size)``
/external/python/cpython3/Modules/
D_sre.c215 stack = PyMem_REALLOC(state->data_stack, cursize); in data_stack_grow()
/external/python/cpython2/Modules/
D_sre.c276 stack = PyMem_REALLOC(state->data_stack, cursize); in data_stack_grow()