/third_party/python/Objects/ |
D | interpreteridobject.c | 182 if (op != Py_EQ && op != Py_NE) { in interpid_richcompare() 218 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 | 447 (op != Py_EQ && op != Py_NE)) in ga_richcompare() 452 if (op == Py_NE) { in ga_richcompare()
|
D | object.c | 619 ret = PyObject_RichCompareBool(module, builtinsname, Py_NE); in _PyObject_FunctionStr() 670 int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE}; 710 case Py_NE: in do_richcompare() 761 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 | rangeobject.c | 486 case Py_NE: in range_richcompare() 491 if (op == Py_NE) in range_richcompare()
|
D | unionobject.c | 121 if (!_PyUnion_Check(b) || (op != Py_EQ && op != Py_NE)) { in union_richcompare()
|
D | bytesobject.c | 1532 if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) { in bytes_richcompare() 1553 case Py_NE: in bytes_richcompare() 1562 else if (op == Py_EQ || op == Py_NE) { in bytes_richcompare() 1564 eq ^= (op == Py_NE); in bytes_richcompare()
|
D | methodobject.c | 305 if ((op != Py_EQ && op != Py_NE) || in meth_richcompare()
|
D | bytearrayobject.c | 1013 if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1036 if (self_size != other_size && (op == Py_EQ || op == Py_NE)) { in bytearray_richcompare() 1040 return PyBool_FromLong((op == Py_NE)); in bytearray_richcompare()
|
D | codeobject.c | 921 if ((op != Py_EQ && op != Py_NE) || in code_richcompare() 979 if (op == Py_NE) in code_richcompare()
|
D | odictobject.c | 1531 if (op == Py_EQ || op == Py_NE) { in odict_richcompare() 1542 if (op == Py_NE && cmp == Py_True) in odict_richcompare()
|
/third_party/python/Modules/_ssl/ |
D | cert.c | 203 if ((op != Py_EQ) && (op != Py_NE)) { in certificate_richcompare() 207 if (((op == Py_EQ) && (cmp == 0)) || ((op == Py_NE) && (cmp != 0))) { in certificate_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 | 629 #define Py_NE 3 macro 651 case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE; \
|
/third_party/python/Modules/_sqlite/ |
D | row.c | 216 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 | 497 (op != Py_EQ && op != Py_NE)) in context_tp_richcompare() 508 if (op == Py_NE) { in context_tp_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() 3013 if (op != Py_EQ && op != Py_NE && in convert_op_cmp() 3022 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp() 4431 if (a_issnan || b_issnan || (op != Py_EQ && op != Py_NE)) { in dec_richcompare() 4438 return (op == Py_NE) ? incr_true() : incr_false(); in dec_richcompare() 4445 case Py_NE: in dec_richcompare()
|
/third_party/python/Modules/ |
D | arraymodule.c | 701 if (Py_SIZE(va) != Py_SIZE(wa) && (op == Py_EQ || op == Py_NE)) { in array_richcompare() 725 case Py_NE: cmp = result != 0; break; in array_richcompare() 767 case Py_NE: assert(vs == ws); cmp = 0; break; in array_richcompare() 785 else if (op == Py_NE) { in array_richcompare()
|
D | _datetimemodule.c | 3874 if (op != Py_EQ && op != Py_NE) in timezone_richcompare() 4465 else if (op == Py_NE) { in time_richcompare() 5701 if (op == Py_NE) in datetime_richcompare() 5730 if ((op == Py_EQ || op == Py_NE) && diff == 0) { in datetime_richcompare() 5752 if ((op == Py_EQ || op == Py_NE) && diff == 0) { in datetime_richcompare() 5765 else if (op == Py_NE) { in datetime_richcompare()
|