/third_party/python/Objects/ |
D | interpreteridobject.c | 176 if (op != Py_EQ && op != Py_NE) { in interpid_richcompare() 212 if ((op == Py_EQ && equal) || (op == Py_NE && !equal)) { in interpid_richcompare()
|
D | classobject.c | 252 if ((op != Py_EQ && op != Py_NE) || in method_richcompare() 486 if ((op != Py_EQ && op != Py_NE) || in instancemethod_richcompare()
|
D | genericaliasobject.c | 433 (op != Py_EQ && op != Py_NE)) in ga_richcompare() 438 if (op == Py_NE) { in ga_richcompare()
|
D | object.c | 599 ret = PyObject_RichCompareBool(module, builtinsname, Py_NE); in _PyObject_FunctionStr() 650 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; 690 case Py_NE: in do_richcompare() 741 else if (op == Py_NE) in PyObject_RichCompareBool()
|
D | weakrefobject.c | 204 if ((op != Py_EQ && op != Py_NE) || in weakref_richcompare() 212 if (op == Py_NE) in weakref_richcompare()
|
D | codeobject.c | 836 if ((op != Py_EQ && op != Py_NE) || in code_richcompare() 894 if (op == Py_NE) in code_richcompare()
|
D | rangeobject.c | 472 case Py_NE: in range_richcompare() 477 if (op == Py_NE) in range_richcompare()
|
D | methodobject.c | 301 if ((op != Py_EQ && op != Py_NE) || in meth_richcompare()
|
D | bytesobject.c | 1501 if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) { in bytes_richcompare() 1538 case Py_NE: in bytes_richcompare() 1547 else if (op == Py_EQ || op == Py_NE) { in bytes_richcompare() 1549 eq ^= (op == Py_NE); in bytes_richcompare()
|
D | bytearrayobject.c | 1024 if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1046 if (self_size != other_size && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1050 return PyBool_FromLong((op == Py_NE)); in bytearray_richcompare()
|
D | odictobject.c | 1533 if (op == Py_EQ || op == Py_NE) { in odict_richcompare() 1544 if (op == Py_NE && cmp == Py_True) in odict_richcompare()
|
D | tupleobject.c | 673 if (op == Py_NE) { in tuplerichcompare()
|
D | complexobject.c | 620 if (op != Py_EQ && op != Py_NE) { in complex_richcompare()
|
/third_party/boost/libs/python/src/ |
D | object_operators.cpp | 25 BOOST_PYTHON_COMPARE_OP(!=, Py_NE)
|
/third_party/python/Include/ |
D | object.h | 537 #define Py_NE 3 macro 550 case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \
|
/third_party/python/Modules/_sqlite/ |
D | row.c | 192 if (opid != Py_EQ && opid != Py_NE) in pysqlite_row_richcompare()
|
/third_party/python/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`.
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 330 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
|
D | repeated_composite_container.cc | 337 if (opid == Py_EQ || opid == Py_NE) { in Subscript()
|
D | descriptor_containers.cc | 424 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 439 if (result ^ (opid == Py_NE)) { in RichCompare()
|
D | repeated_scalar_container.cc | 564 if (opid != Py_EQ && opid != Py_NE) { in Subscript()
|
/third_party/python/Python/ |
D | context.c | 481 (op != Py_EQ && op != Py_NE)) in context_tp_richcompare() 492 if (op == Py_NE) { in context_tp_richcompare()
|
/third_party/python/Modules/ |
D | arraymodule.c | 685 if (Py_SIZE(va) != Py_SIZE(wa) && (op == Py_EQ || op == Py_NE)) { in array_richcompare() 709 case Py_NE: cmp = result != 0; break; in array_richcompare() 751 case Py_NE: assert(vs == ws); cmp = 0; break; in array_richcompare() 769 else if (op == Py_NE) { in array_richcompare()
|
D | _datetimemodule.c | 3883 if (op != Py_EQ && op != Py_NE) in timezone_richcompare() 4474 else if (op == Py_NE) { in time_richcompare() 5710 if (op == Py_NE) in datetime_richcompare() 5739 if ((op == Py_EQ || op == Py_NE) && diff == 0) { in datetime_richcompare() 5761 if ((op == Py_EQ || op == Py_NE) && diff == 0) { in datetime_richcompare() 5774 else if (op == Py_NE) { in datetime_richcompare()
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 634 if (op == Py_EQ || op == Py_NE) { in signaldict_richcompare() 636 res = (SdFlags(v)==SdFlags(w)) ^ (op==Py_NE) ? Py_True : Py_False; in signaldict_richcompare() 650 res = (SdFlags(v)==flags) ^ (op==Py_NE) ? Py_True : Py_False; in signaldict_richcompare() 3014 if (op != Py_EQ && op != Py_NE && in convert_op_cmp() 3023 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp() 4419 if (a_issnan || b_issnan || (op != Py_EQ && op != Py_NE)) { in dec_richcompare() 4426 return (op == Py_NE) ? incr_true() : incr_false(); in dec_richcompare() 4433 case Py_NE: in dec_richcompare()
|