Searched refs:PyObject_REALLOC (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Parser/ |
D | grammar.c | 58 g->g_dfa = (dfa *)PyObject_REALLOC(g->g_dfa, in adddfa() 77 d->d_state = (state *)PyObject_REALLOC(d->d_state, in addstate() 101 s->s_arc = (arc *)PyObject_REALLOC(s->s_arc, sizeof(arc) * (s->s_narcs + 1)); in addarc() 120 ll->ll_label = (label *)PyObject_REALLOC(ll->ll_label, in addlabel()
|
D | pgen.c | 52 nf->nf_state = (nfastate *)PyObject_REALLOC(nf->nf_state, in addnfastate() 69 st->st_arc = (nfaarc *)PyObject_REALLOC(st->st_arc, in addnfaarc() 137 gr->gr_nfa = (nfa **)PyObject_REALLOC(gr->gr_nfa, in addnfa() 452 yy->ss_arc = (ss_arc *)PyObject_REALLOC( in makedfa() 476 xx_state = (ss_state *)PyObject_REALLOC(xx_state, in makedfa()
|
D | node.c | 98 n = (node *) PyObject_REALLOC(n, in PyNode_AddChild()
|
D | firstsets.c | 76 sym = (int *)PyObject_REALLOC(sym, in calcfirstset()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 120 #define PyObject_REALLOC _PyObject_DebugRealloc macro 127 #define PyObject_REALLOC PyObject_Realloc macro 133 #define PyObject_REALLOC PyMem_REALLOC macro
|
/external/python/cpython3/Include/ |
D | objimpl.h | 107 #define PyObject_REALLOC PyObject_Realloc macro
|
/external/python/cpython3/Parser/ |
D | node.c | 121 n = (node *) PyObject_REALLOC(n, in PyNode_AddChild()
|
/external/python/cpython2/Doc/c-api/ |
D | memory.rst | 211 * :c:func:`PyObject_REALLOC`: alias to :c:func:`PyObject_Realloc`
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 1545 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 2297 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2974 PyObject_REALLOC(v, PyBytesObject_SIZE + newsize); in _PyBytes_Resize()
|
D | stringobject.c | 3907 PyObject_REALLOC((char *)v, PyStringObject_SIZE + newsize); in _PyString_Resize()
|
D | unicodeobject.c | 288 unicode->str = PyObject_REALLOC(unicode->str, in unicode_resize()
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 3036 PyObject_REALLOC(v, PyBytesObject_SIZE + newsize); in _PyBytes_Resize()
|
D | unicodeobject.c | 1079 new_unicode = (PyObject *)PyObject_REALLOC(unicode, new_size); in resize_compact() 1143 data = (PyObject *)PyObject_REALLOC(data, new_size); in resize_inplace() 1176 wstr = PyObject_REALLOC(wstr, new_size); in resize_inplace()
|