Searched refs:tp_richcompare (Results 1 - 13 of 13) sorted by relevance
/third_party/python/Doc/includes/ |
H A D | typestruct.h | 47 richcmpfunc tp_richcompare; member
|
/third_party/python/Objects/ |
H A D | classobject.c | 339 .tp_richcompare = method_richcompare, 540 .tp_richcompare = instancemethod_richcompare,
|
H A D | unionobject.c | 386 .tp_richcompare = union_richcompare,
|
H A D | object.c | 629 longer be used. Use tp_richcompare instead. 633 tp_richcompare gets called with a first argument of the appropriate type 637 The tp_richcompare slot should return an object, as follows: 671 (f = Py_TYPE(w)->tp_richcompare) != NULL) { in do_richcompare() 678 if ((f = Py_TYPE(v)->tp_richcompare) != NULL) { in do_richcompare() 684 if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) { in do_richcompare() 1710 0, /*tp_richcompare */ 1811 0, /*tp_richcompare */
|
H A D | typeobject.c | 4421 0, /* tp_richcompare */ 4643 if (Py_TYPE(self)->tp_richcompare == NULL) { in object_richcompare() 4648 res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ); in object_richcompare() 5633 object_richcompare, /* tp_richcompare */ 5970 /* tp_hash see tp_richcompare */ in inherit_slots() 5991 if (type->tp_richcompare == NULL && in inherit_slots() 5999 type->tp_richcompare = base->tp_richcompare; in inherit_slots() 7983 __ne__ etc. all map to tp_richcompare) and one name may map to multiple slots 8061 TPSLOT("__lt__", tp_richcompare, slot_tp_richcompar [all...] |
H A D | genericaliasobject.c | 949 .tp_richcompare = ga_richcompare,
|
H A D | weakrefobject.c | 382 .tp_richcompare = (richcmpfunc)weakref_richcompare, 744 proxy_richcompare, /* tp_richcompare */ 778 proxy_richcompare, /* tp_richcompare */
|
H A D | listobject.c | 1228 * In the pre-sort check it is set equal to Py_TYPE(key)->tp_richcompare */ 2097 * (ms->key_richcompare is set to ob_type->tp_richcompare in the 2106 if (Py_TYPE(v)->tp_richcompare != ms->key_richcompare) in unsafe_object_compare() 2403 else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) { in list_sort_impl() 3125 list_richcompare, /* tp_richcompare */ 3196 0, /* tp_richcompare */ 3344 0, /* tp_richcompare */
|
H A D | odictobject.c | 271 tp_richcompare __eq__ object_richcompare dict_richcompare 371 tp_richcompare odict_richcompare 1470 /* tp_richcompare */ 1483 cmp = PyDict_Type.tp_richcompare(v, w, op); in odict_richcompare() 1567 (richcmpfunc)odict_richcompare, /* tp_richcompare */ 1843 0, /* tp_richcompare */ 1937 0, /* tp_richcompare */ 2004 0, /* tp_richcompare */ 2071 0, /* tp_richcompare */
|
/third_party/python/Include/cpython/ |
H A D | object.h | 194 richcmpfunc tp_richcompare; member
|
/third_party/python/Python/ |
H A D | context.c | 723 .tp_richcompare = context_tp_richcompare,
|
H A D | specialize.c | 1883 if (Py_TYPE(lhs)->tp_richcompare == PyBaseObject_Type.tp_richcompare) { in compare_op_fail_kind()
|
H A D | hamt.c | 2912 .tp_richcompare = hamt_tp_richcompare,
|
Completed in 32 milliseconds