Lines Matching refs:tgtkey
191 PyObject *tgtkey;
222 gbo->tgtkey = NULL;
241 Py_XDECREF(gbo->tgtkey);
252 Py_VISIT(gbo->tgtkey);
295 else if (gbo->tgtkey == NULL)
300 rcmp = PyObject_RichCompareBool(gbo->tgtkey, gbo->currkey, Py_EQ);
311 Py_XSETREF(gbo->tgtkey, gbo->currkey);
313 grouper = _grouper_create(gbo, gbo->tgtkey);
329 if (lz->tgtkey && lz->currkey && lz->currvalue)
331 lz->it, lz->keyfunc, lz->currkey, lz->currvalue, lz->tgtkey);
344 PyObject *currkey, *currvalue, *tgtkey;
349 if (!PyArg_ParseTuple(state, "OOO", &currkey, &currvalue, &tgtkey)) {
356 Py_INCREF(tgtkey);
357 Py_XSETREF(lz->tgtkey, tgtkey);
421 PyObject *tgtkey;
429 tgtkey: object
435 PyObject *tgtkey)
438 return _grouper_create((groupbyobject*) parent, tgtkey);
442 _grouper_create(groupbyobject *parent, PyObject *tgtkey)
451 igo->tgtkey = tgtkey;
452 Py_INCREF(tgtkey);
464 Py_DECREF(igo->tgtkey);
472 Py_VISIT(igo->tgtkey);
491 rcmp = PyObject_RichCompareBool(igo->tgtkey, gbo->currkey, Py_EQ);
509 return Py_BuildValue("O(OO)", Py_TYPE(lz), lz->parent, lz->tgtkey);