Home
last modified time | relevance | path

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

/external/python/cpython2/Parser/
Dgrammar.c40 g->g_dfa = (dfa *)PyObject_REALLOC(g->g_dfa, in adddfa()
59 d->d_state = (state *)PyObject_REALLOC(d->d_state, in addstate()
83 s->s_arc = (arc *)PyObject_REALLOC(s->s_arc, sizeof(arc) * (s->s_narcs + 1)); in addarc()
102 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()
126 gr->gr_nfa = (nfa **)PyObject_REALLOC(gr->gr_nfa, in addnfa()
440 yy->ss_arc = (ss_arc *)PyObject_REALLOC( in makedfa()
464 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/cpython2/Modules/
Dgcmodule.c1544 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
/external/python/cpython2/Objects/
Dstringobject.c3910 PyObject_REALLOC((char *)v, PyStringObject_SIZE + newsize); in _PyString_Resize()
Dunicodeobject.c288 unicode->str = PyObject_REALLOC(unicode->str, in unicode_resize()