/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 197 if (opid != Py_EQ && opid != Py_NE) in pysqlite_row_richcompare() 204 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 198 if (opid != Py_EQ && opid != Py_NE) { in pysqlite_row_richcompare() 206 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
|
/external/python/cpython2/Include/ |
D | opcode.h | 163 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, PyCmp_GT=Py_GT, PyCmp_…
|
/external/python/cpython3/Include/ |
D | opcode.h | 138 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE,
|
D | object.h | 941 #define Py_NE 3 macro 954 case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \
|
/external/python/cpython3/Objects/ |
D | classobject.c | 215 if ((op != Py_EQ && op != Py_NE) || in method_richcompare() 512 if ((op != Py_EQ && op != Py_NE) || in instancemethod_richcompare()
|
D | methodobject.c | 228 if ((op != Py_EQ && op != Py_NE) || in meth_richcompare()
|
D | weakrefobject.c | 195 if ((op != Py_EQ && op != Py_NE) || in weakref_richcompare() 203 if (op == Py_NE) in weakref_richcompare()
|
D | codeobject.c | 629 if ((op != Py_EQ && op != Py_NE) || in code_richcompare() 685 if (op == Py_NE) in code_richcompare()
|
D | rangeobject.c | 440 case Py_NE: in range_richcompare() 445 if (op == Py_NE) in range_richcompare()
|
D | object.c | 674 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; 714 case Py_NE: in do_richcompare() 763 else if (op == Py_NE) in PyObject_RichCompareBool()
|
D | bytesobject.c | 1579 if (Py_BytesWarningFlag && (op == Py_EQ || op == Py_NE)) { in bytes_richcompare() 1617 case Py_NE: in bytes_richcompare() 1627 else if (op == Py_EQ || op == Py_NE) { in bytes_richcompare() 1629 eq ^= (op == Py_NE); in bytes_richcompare()
|
D | bytearrayobject.c | 1025 if (Py_BytesWarningFlag && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1047 if (self_size != other_size && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1051 return PyBool_FromLong((op == Py_NE)); in bytearray_richcompare()
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 554 if ((op != Py_EQ && op != Py_NE) || in code_richcompare() 617 if (op == Py_NE) in code_richcompare()
|
D | memoryobject.c | 725 if (op != Py_EQ && op != Py_NE) in memory_richcompare() 744 if ((equal && op == Py_EQ) || (!equal && op == Py_NE)) in memory_richcompare()
|
D | weakrefobject.c | 199 if ((op != Py_EQ && op != Py_NE) || Py_TYPE(self) != Py_TYPE(other)) { in weakref_richcompare() 206 if (op == Py_NE) in weakref_richcompare()
|
D | object.c | 603 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; 885 case Py_NE: c = c != 0; break; in convert_3way_to_object() 910 v->ob_type != w->ob_type && op != Py_EQ && op != Py_NE && in try_3way_to_rich_compare() 1005 else if (op == Py_NE) in PyObject_RichCompareBool()
|
D | tupleobject.c | 611 case Py_NE: cmp = vlen != wlen; break; in tuplerichcompare() 629 if (op == Py_NE) { in tuplerichcompare()
|
D | methodobject.c | 233 if (op != Py_EQ && op != Py_NE) { in meth_richcompare()
|
D | bytesobject.c | 1574 if (Py_BytesWarningFlag && (op == Py_EQ || op == Py_NE)) { in bytes_richcompare() 1612 case Py_NE: in bytes_richcompare() 1622 else if (op == Py_EQ || op == Py_NE) { in bytes_richcompare() 1624 eq ^= (op == Py_NE); in bytes_richcompare()
|
/external/python/cpython3/Python/ |
D | context.c | 467 (op != Py_EQ && op != Py_NE)) in context_tp_richcompare() 478 if (op == Py_NE) { in context_tp_richcompare()
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 143 :const:`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, 153 :const:`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, 161 will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`.
|
/external/python/cpython2/Doc/c-api/ |
D | object.rst | 105 :const:`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, 115 :const:`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, 123 will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`.
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 680 if (Py_SIZE(va) != Py_SIZE(wa) && (op == Py_EQ || op == Py_NE)) { in array_richcompare() 704 case Py_NE: cmp = result != 0; break; in array_richcompare() 746 case Py_NE: assert(vs == ws); cmp = 0; break; in array_richcompare() 764 else if (op == Py_NE) { in array_richcompare()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 624 if (op == Py_EQ || op == Py_NE) { in signaldict_richcompare() 626 res = (SdFlags(v)==SdFlags(w)) ^ (op==Py_NE) ? Py_True : Py_False; in signaldict_richcompare() 640 res = (SdFlags(v)==flags) ^ (op==Py_NE) ? Py_True : Py_False; in signaldict_richcompare() 2869 if (op != Py_EQ && op != Py_NE && in convert_op_cmp() 2878 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp() 4274 if (a_issnan || b_issnan || (op != Py_EQ && op != Py_NE)) { in dec_richcompare() 4281 return (op == Py_NE) ? incr_true() : incr_false(); in dec_richcompare() 4288 case Py_NE: in dec_richcompare()
|