Searched refs:PyMem_REALLOC (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Include/ |
D | pymem.h | 63 #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)) )
|
D | objimpl.h | 133 #define PyObject_REALLOC PyMem_REALLOC
|
/external/python/cpython2/Parser/ |
D | myreadline.c | 143 p = (char *)PyMem_REALLOC(p, n + incr); in PyOS_StdioReadline() 153 return (char *)PyMem_REALLOC(p, n+1); in PyOS_StdioReadline()
|
D | pgenmain.c | 152 return (char *)PyMem_REALLOC(p, n+1); in PyOS_Readline()
|
D | tokenizer.c | 661 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/cpython2/Doc/c-api/ |
D | memory.rst | 153 :c:func:`PyMem_MALLOC`, :c:func:`PyMem_REALLOC`, :c:func:`PyMem_FREE`.
|
/external/python/cpython2/Objects/ |
D | obmalloc.c | 1319 return PyMem_REALLOC(p, n); in PyObject_Realloc()
|
D | object.c | 2349 return PyMem_REALLOC(p, nbytes); in PyMem_Realloc()
|
/external/python/cpython2/Modules/ |
D | _sre.c | 276 stack = PyMem_REALLOC(state->data_stack, cursize); in data_stack_grow()
|
/external/python/cpython2/Misc/ |
D | NEWS | 9346 modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
|