Home
last modified time | relevance | path

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

123

/external/python/cpython3/Modules/
D_heapqmodule.c41 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown()
89 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup()
276 cmp = PyObject_RichCompareBool(top, item, Py_LT); in _heapq_heappushpop_impl()
435 cmp = PyObject_RichCompareBool(parent, newitem, Py_LT); in siftdown_max()
483 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup_max()
D_bisectmodule.c42 res = PyObject_RichCompareBool(item, litem, Py_LT); in internal_bisect_right()
143 res = PyObject_RichCompareBool(litem, item, Py_LT); in internal_bisect_left()
Dmathmodule.c1832 a_too_large = PyObject_RichCompareBool(n, b, Py_LT); in math_isqrt()
3169 cmp = PyObject_RichCompareBool(n, k, Py_LT); in math_perm_impl()
3302 cmp = PyObject_RichCompareBool(temp, k, Py_LT); in math_comb_impl()
Darraymodule.c706 case Py_LT: cmp = result < 0; break; in array_richcompare()
746 case Py_LT: cmp = vs < ws; break; in array_richcompare()
D_operator.c600 return PyObject_RichCompare(a, b, Py_LT); in _operator_lt_impl()
/external/python/cpython3/Objects/
Drangeobject.c278 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()
384 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long()
388 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long()
485 case Py_LT: in range_richcompare()
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()
Dsliceobject.c435 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices()
474 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices()
Dlistobject.c2005 return PyObject_RichCompareBool(v, w, Py_LT); in safe_object_compare()
2019 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare()
2022 res_obj = (*(ms->key_richcompare))(v, w, Py_LT); in unsafe_object_compare()
2026 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare()
2067 assert(res == PyObject_RichCompareBool(v, w, Py_LT));; in unsafe_latin_compare()
2095 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_long_compare()
2110 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_float_compare()
2153 return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT); in unsafe_tuple_compare()
Dobject.c650 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
713 assert(Py_LT <= op && op <= Py_GE); in PyObject_RichCompare()
/external/python/cpython2/Modules/
D_bisectmodule.c31 res = PyObject_RichCompareBool(item, litem, Py_LT); in internal_bisect_right()
137 res = PyObject_RichCompareBool(litem, item, Py_LT); in internal_bisect_left()
D_heapqmodule.c28 return PyObject_RichCompareBool(x, y, Py_LT); in cmp_lt()
Doperator.c133 spamrc(op_lt , Py_LT) in spami()
/external/python/cpython2/Include/
Dopcode.h163 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, PyCmp_GT=Py_GT, PyCmp_…
Dobject.h887 #define Py_LT 0 macro
/external/python/cpython3/Include/
Dobject.h534 #define Py_LT 0 macro
551 case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \
/external/python/cffi/c/
Dminibuffer.h222 case Py_LT: cmp = cmp < 0; break; in mb_richcompare()
/external/python/cpython2/Objects/
Dobject.c603 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
680 {Py_LT, -1}, in try_rich_to_3way_compare()
882 case Py_LT: c = c < 0; break; in convert_3way_to_object()
953 assert(Py_LT <= op && op <= Py_GE); in PyObject_RichCompare()
Dtupleobject.c608 case Py_LT: cmp = vlen < wlen; break; in tuplerichcompare()
Dlistobject.c1030 PyObject_RichCompareBool(X, Y, Py_LT) : \
2409 case Py_LT: cmp = vs < ws; break; in list_richcompare()
Ddictobject.c1816 cmp = PyObject_RichCompareBool(akey, thiskey, Py_LT); in characterize()
2975 case Py_LT: in dictview_richcompare()
/external/python/cpython3/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`,
/external/python/cpython3/Python/
Dbltinmodule.c1590 const char *name = op == Py_LT ? "min" : "max"; in min_max()
1608 (op == Py_LT) ? "|$OO:min" : "|$OO:max", in min_max()
1699 return min_max(args, kwds, Py_LT); in builtin_min()
/external/python/cpython2/Doc/c-api/
Dobject.rst104 which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`,
114 which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`,
/external/python/cpython3/Doc/extending/
Dnewtypes.rst380 ``Py_LT`` or ``Py_GT``. It should compare the two objects with respect to the
402 case Py_LT: c = size1 < size2; break;
/external/python/cpython2/Python/
Dbltinmodule.c1361 const char *name = op == Py_LT ? "min" : "max"; in min_max()
1449 return min_max(args, kwds, Py_LT); in builtin_min()

123