Home
last modified time | relevance | path

Searched refs:Py_LT (Results 1 – 25 of 27) sorted by relevance

12

/third_party/python/Modules/
D_heapqmodule.c43 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown()
91 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup()
258 cmp = PyObject_RichCompareBool(top, item, Py_LT); in _heapq_heappushpop_impl()
412 cmp = PyObject_RichCompareBool(parent, newitem, Py_LT); in siftdown_max()
460 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup_max()
D_bisectmodule.c51 res = PyObject_RichCompareBool(item, litem, Py_LT); in internal_bisect_right()
176 res = PyObject_RichCompareBool(litem, item, Py_LT); in internal_bisect_left()
Dmathmodule.c1842 a_too_large = PyObject_RichCompareBool(n, b, Py_LT); in math_isqrt()
3267 cmp = PyObject_RichCompareBool(n, k, Py_LT); in math_perm_impl()
3387 cmp = PyObject_RichCompareBool(temp, k, Py_LT); in math_comb_impl()
Darraymodule.c722 case Py_LT: cmp = result < 0; break; in array_richcompare()
762 case Py_LT: cmp = vs < ws; break; in array_richcompare()
D_operator.c613 return PyObject_RichCompare(a, b, Py_LT); in _operator_lt_impl()
D_collectionsmodule.c1466 case Py_LT: cmp = y != NULL; break; /* if w was longer */ in deque_richcompare()
D_ssl.c4950 case Py_LT: in PySSLSession_richcompare()
/third_party/python/Objects/
Drangeobject.c291 cmp_result = PyObject_RichCompareBool(arg, zero, Py_LT); in compute_range_item()
310 cmp_result = PyObject_RichCompareBool(i, zero, Py_LT); in compute_range_item()
398 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long()
402 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long()
499 case Py_LT: in range_richcompare()
981 cmp = PyObject_RichCompareBool(state, zero, Py_LT); in longrangeiter_setstate()
988 cmp = PyObject_RichCompareBool(r->len, state, Py_LT); in longrangeiter_setstate()
1023 if (PyObject_RichCompareBool(r->index, r->len, Py_LT) != 1) in longrangeiter_next()
Dsliceobject.c444 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices()
483 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices()
Dlistobject.c2024 return PyObject_RichCompareBool(v, w, Py_LT); in safe_object_compare()
2038 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare()
2041 res_obj = (*(ms->key_richcompare))(v, w, Py_LT); in unsafe_object_compare()
2045 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare()
2086 assert(res == PyObject_RichCompareBool(v, w, Py_LT));; in unsafe_latin_compare()
2114 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_long_compare()
2129 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_float_compare()
2172 return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT); in unsafe_tuple_compare()
Dobject.c670 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
733 assert(Py_LT <= op && op <= Py_GE); in PyObject_RichCompare()
Dfloatobject.c543 case Py_LT: in float_richcompare()
Dsetobject.c1786 case Py_LT: in set_richcompare()
Dbytesobject.c1554 case Py_LT: in bytes_richcompare()
Ddictobject.c4319 case Py_LT: in dictview_richcompare()
Dtypeobject.c6868 RICHCMP_WRAPPER(lt, Py_LT) in RICHCMP_WRAPPER() argument
/third_party/python/Include/
Dobject.h626 #define Py_LT 0 macro
652 case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \
/third_party/python/Doc/c-api/
Dobject.rst142 which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`,
152 which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`,
Dunicode.rst1694 :const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.
Dtypeobj.rst1440 | :const:`Py_LT` | ``<`` |
/third_party/python/Python/
Dbltinmodule.c1708 const char *name = op == Py_LT ? "min" : "max"; in min_max()
1726 (op == Py_LT) ? "|$OO:min" : "|$OO:max", in min_max()
1817 return min_max(args, kwds, Py_LT); in builtin_min()
Dcompile.c2611 cmp = Py_LT; in compiler_addcompare()
/third_party/python/Doc/extending/
Dnewtypes.rst397 ``Py_LT`` or ``Py_GT``. It should compare the two objects with respect to the
419 case Py_LT: c = size1 < size2; break;
/third_party/python/Modules/_io/
Dtextio.c2544 cmp = PyObject_RichCompareBool(cookieObj, zero, Py_LT); in _io_TextIOWrapper_seek_impl()
/third_party/python/Modules/_decimal/
D_decimal.c4454 case Py_LT: in dec_richcompare()

12