Searched refs:PyMem_REALLOC (Results 1 – 16 of 16) 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/cpython3/Include/ |
D | pymem.h | 65 #define PyMem_REALLOC(p, n) PyMem_Realloc(p, n) macro 96 (type *) PyMem_REALLOC((p), (n) * sizeof(type)) )
|
/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 | 153 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/cpython3/Parser/ |
D | tokenizer.c | 653 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/ |
D | 2.6b3.rst | 124 PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been
|
D | 2.7.15rc1.rst | 1476 Fix -Wint-in-bool-context warnings in PyMem_MALLOC and PyMem_REALLOC macros
|
/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 | 2354 return PyMem_REALLOC(p, nbytes); in PyMem_Realloc()
|
/external/python/cpython3/Python/ |
D | marshal.c | 674 char *tmp = PyMem_REALLOC(p->buf, n); in r_string()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 262 * ``PyMem_REALLOC(ptr, size)``
|
/external/python/cpython3/Modules/ |
D | _sre.c | 215 stack = PyMem_REALLOC(state->data_stack, cursize); in data_stack_grow()
|
/external/python/cpython2/Modules/ |
D | _sre.c | 276 stack = PyMem_REALLOC(state->data_stack, cursize); in data_stack_grow()
|