Lines Matching refs:igo
263 _grouperobject *igo; in _grouper_create() local
265 igo = PyObject_GC_New(_grouperobject, &_grouper_type); in _grouper_create()
266 if (igo == NULL) in _grouper_create()
268 igo->parent = (PyObject *)parent; in _grouper_create()
270 igo->tgtkey = tgtkey; in _grouper_create()
272 parent->currgrouper = igo; /* borrowed reference */ in _grouper_create()
274 PyObject_GC_Track(igo); in _grouper_create()
275 return (PyObject *)igo; in _grouper_create()
279 _grouper_dealloc(_grouperobject *igo) in _grouper_dealloc() argument
281 PyObject_GC_UnTrack(igo); in _grouper_dealloc()
282 Py_DECREF(igo->parent); in _grouper_dealloc()
283 Py_DECREF(igo->tgtkey); in _grouper_dealloc()
284 PyObject_GC_Del(igo); in _grouper_dealloc()
288 _grouper_traverse(_grouperobject *igo, visitproc visit, void *arg) in _grouper_traverse() argument
290 Py_VISIT(igo->parent); in _grouper_traverse()
291 Py_VISIT(igo->tgtkey); in _grouper_traverse()
296 _grouper_next(_grouperobject *igo) in _grouper_next() argument
298 groupbyobject *gbo = (groupbyobject *)igo->parent; in _grouper_next()
302 if (gbo->currgrouper != igo) in _grouper_next()
310 rcmp = PyObject_RichCompareBool(igo->tgtkey, gbo->currkey, Py_EQ); in _grouper_next()