Searched refs:ig (Results 1 – 4 of 4) sorted by relevance
338 itemgetterobject *ig; in itemgetter_new() local353 ig = PyObject_GC_New(itemgetterobject, &itemgetter_type); in itemgetter_new()354 if (ig == NULL) in itemgetter_new()358 ig->item = item; in itemgetter_new()359 ig->nitems = nitems; in itemgetter_new()361 PyObject_GC_Track(ig); in itemgetter_new()362 return (PyObject *)ig; in itemgetter_new()366 itemgetter_dealloc(itemgetterobject *ig) in itemgetter_dealloc() argument368 PyObject_GC_UnTrack(ig); in itemgetter_dealloc()369 Py_XDECREF(ig->item); in itemgetter_dealloc()[all …]
466 itemgetterobject *ig; in itemgetter_new() local481 ig = PyObject_GC_New(itemgetterobject, &itemgetter_type); in itemgetter_new()482 if (ig == NULL) in itemgetter_new()486 ig->item = item; in itemgetter_new()487 ig->nitems = nitems; in itemgetter_new()489 PyObject_GC_Track(ig); in itemgetter_new()490 return (PyObject *)ig; in itemgetter_new()494 itemgetter_dealloc(itemgetterobject *ig) in itemgetter_dealloc() argument496 PyObject_GC_UnTrack(ig); in itemgetter_dealloc()497 Py_XDECREF(ig->item); in itemgetter_dealloc()[all …]
174 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor() local178 pinToByte(ig), pinToByte(ib)); in rotateColor()
429 for ik, ig in groupby(g, lambda r:r[2]):430 for elem in ig: