Home
last modified time | relevance | path

Searched refs:RICHCOMPARE (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Objects/
Dobject.c594 #define RICHCOMPARE(t) (PyType_HasFeature((t), Py_TPFLAGS_HAVE_RICHCOMPARE) \ macro
615 (f = RICHCOMPARE(w->ob_type)) != NULL) { in try_rich_compare()
621 if ((f = RICHCOMPARE(v->ob_type)) != NULL) { in try_rich_compare()
627 if ((f = RICHCOMPARE(w->ob_type)) != NULL) { in try_rich_compare()
648 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL) in try_rich_compare_bool()
680 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL) in try_rich_to_3way_compare()
956 richcmpfunc frich = RICHCOMPARE(v->ob_type); in PyObject_RichCompare()
1121 if (tp->tp_compare == NULL && RICHCOMPARE(tp) == NULL) { in PyObject_Hash()