Home
last modified time | relevance | path

Searched refs:PyObject_REALLOC (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Parser/
Dgrammar.c58 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()
Dpgen.c52 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()
Dnode.c98 n = (node *) PyObject_REALLOC(n, in PyNode_AddChild()
Dfirstsets.c76 sym = (int *)PyObject_REALLOC(sym, in calcfirstset()
/external/python/cpython2/Include/
Dobjimpl.h120 #define PyObject_REALLOC _PyObject_DebugRealloc macro
127 #define PyObject_REALLOC PyObject_Realloc macro
133 #define PyObject_REALLOC PyMem_REALLOC macro
/external/python/cpython3/Include/
Dobjimpl.h107 #define PyObject_REALLOC PyObject_Realloc macro
/external/python/cpython3/Parser/
Dnode.c121 n = (node *) PyObject_REALLOC(n, in PyNode_AddChild()
/external/python/cpython2/Doc/c-api/
Dmemory.rst211 * :c:func:`PyObject_REALLOC`: alias to :c:func:`PyObject_Realloc`
/external/python/cpython2/Modules/
Dgcmodule.c1545 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
/external/python/cpython3/Modules/
Dgcmodule.c2297 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
/external/python/cpython2/Objects/
Dbytesobject.c2974 PyObject_REALLOC(v, PyBytesObject_SIZE + newsize); in _PyBytes_Resize()
Dstringobject.c3907 PyObject_REALLOC((char *)v, PyStringObject_SIZE + newsize); in _PyString_Resize()
Dunicodeobject.c288 unicode->str = PyObject_REALLOC(unicode->str, in unicode_resize()
/external/python/cpython3/Objects/
Dbytesobject.c3036 PyObject_REALLOC(v, PyBytesObject_SIZE + newsize); in _PyBytes_Resize()
Dunicodeobject.c1079 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()