Searched refs:PyObject_REALLOC (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Parser/ |
D | grammar.c | 40 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()
|
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() 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()
|
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/cpython2/Modules/ |
D | gcmodule.c | 1544 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 3910 PyObject_REALLOC((char *)v, PyStringObject_SIZE + newsize); in _PyString_Resize()
|
D | unicodeobject.c | 288 unicode->str = PyObject_REALLOC(unicode->str, in unicode_resize()
|