Lines Matching refs:keyobject
433 } keyobject; typedef
436 keyobject_dealloc(keyobject *ko) in keyobject_dealloc()
444 keyobject_traverse(keyobject *ko, visitproc visit, void *arg) in keyobject_traverse()
453 keyobject_clear(keyobject *ko) in keyobject_clear()
463 offsetof(keyobject, object), 0,
469 keyobject_call(keyobject *ko, PyObject *args, PyObject *kwds);
477 sizeof(keyobject), /* tp_basicsize */
509 keyobject_call(keyobject *ko, PyObject *args, PyObject *kwds) in keyobject_call()
512 keyobject *result; in keyobject_call()
517 result = PyObject_New(keyobject, &keyobject_type); in keyobject_call()
541 compare = ((keyobject *) ko)->cmp; in keyobject_richcompare()
543 x = ((keyobject *) ko)->object; in keyobject_richcompare()
544 y = ((keyobject *) other)->object; in keyobject_richcompare()
570 keyobject *object; in functools_cmp_to_key()
574 object = PyObject_New(keyobject, &keyobject_type); in functools_cmp_to_key()