Lines Matching refs:PyObject_RichCompareBool

193     cmp_result = PyObject_RichCompareBool(step, _PyLong_Zero, Py_GT);  in compute_range_length()
210 cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE); in compute_range_length()
278 cmp_result = PyObject_RichCompareBool(arg, _PyLong_Zero, Py_LT); in compute_range_item()
297 cmp_result = PyObject_RichCompareBool(i, _PyLong_Zero, Py_LT); in compute_range_item()
299 cmp_result = PyObject_RichCompareBool(i, r->length, Py_GE); in compute_range_item()
379 cmp1 = PyObject_RichCompareBool(r->step, _PyLong_Zero, Py_GT); in range_contains_long()
383 cmp2 = PyObject_RichCompareBool(r->start, ob, Py_LE); in range_contains_long()
384 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long()
387 cmp2 = PyObject_RichCompareBool(ob, r->start, Py_LE); in range_contains_long()
388 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long()
406 result = PyObject_RichCompareBool(tmp2, _PyLong_Zero, Py_EQ); in range_contains_long()
445 cmp_result = PyObject_RichCompareBool(r0->length, r1->length, Py_EQ); in range_equals()
453 cmp_result = PyObject_RichCompareBool(r0->start, r1->start, Py_EQ); in range_equals()
457 cmp_result = PyObject_RichCompareBool(r0->length, _PyLong_One, Py_EQ); in range_equals()
461 return PyObject_RichCompareBool(r0->step, r1->step, Py_EQ); in range_equals()
526 cmp_result = PyObject_RichCompareBool(r->length, _PyLong_One, Py_EQ); in range_hash()
968 cmp = PyObject_RichCompareBool(state, _PyLong_Zero, Py_LT); in longrangeiter_setstate()
975 cmp = PyObject_RichCompareBool(r->len, state, Py_LT); in longrangeiter_setstate()
1010 if (PyObject_RichCompareBool(r->index, r->len, Py_LT) != 1) in longrangeiter_next()