Lines Matching refs:currkey
18 PyObject *currkey; member
41 gbo->currkey = NULL; in groupby_new()
60 Py_XDECREF(gbo->currkey); in groupby_dealloc()
71 Py_VISIT(gbo->currkey); in groupby_traverse()
98 Py_XSETREF(gbo->currkey, newkey); in groupby_step()
111 if (gbo->currkey == NULL) in groupby_next()
118 rcmp = PyObject_RichCompareBool(gbo->tgtkey, gbo->currkey, Py_EQ); in groupby_next()
128 Py_INCREF(gbo->currkey); in groupby_next()
129 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next()
135 r = PyTuple_Pack(2, gbo->currkey, grouper); in groupby_next()
147 if (lz->tgtkey && lz->currkey && lz->currvalue) in groupby_reduce()
149 lz->it, lz->keyfunc, lz->currkey, lz->currvalue, lz->tgtkey); in groupby_reduce()
162 PyObject *currkey, *currvalue, *tgtkey; in groupby_setstate() local
167 if (!PyArg_ParseTuple(state, "OOO", &currkey, &currvalue, &tgtkey)) { in groupby_setstate()
170 Py_INCREF(currkey); in groupby_setstate()
171 Py_XSETREF(lz->currkey, currkey); in groupby_setstate()
309 assert(gbo->currkey != NULL); in _grouper_next()
310 rcmp = PyObject_RichCompareBool(igo->tgtkey, gbo->currkey, Py_EQ); in _grouper_next()
317 Py_CLEAR(gbo->currkey); in _grouper_next()