/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 196 static PyObject* pysqlite_row_richcompare(pysqlite_Row *self, PyObject *_other, int opid) in pysqlite_row_richcompare() argument 198 if (opid != Py_EQ && opid != Py_NE) { in pysqlite_row_richcompare() 204 PyObject *res = PyObject_RichCompare(self->description, other->description, opid); in pysqlite_row_richcompare() 205 if ((opid == Py_EQ && res == Py_True) in pysqlite_row_richcompare() 206 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare() 208 return PyObject_RichCompare(self->data, other->data, opid); in pysqlite_row_richcompare()
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 214 static PyObject* pysqlite_row_richcompare(pysqlite_Row *self, PyObject *_other, int opid) in pysqlite_row_richcompare() argument 216 if (opid != Py_EQ && opid != Py_NE) in pysqlite_row_richcompare() 226 return PyObject_RichCompare(self->data, other->data, opid); in pysqlite_row_richcompare() 228 return PyBool_FromLong(opid != Py_EQ); in pysqlite_row_richcompare()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 326 static PyObject* RichCompare(ExtensionDict* self, PyObject* other, int opid) { in RichCompare() argument 328 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 336 if (equals ^ (opid == Py_EQ)) { in RichCompare()
|
D | repeated_composite_container.cc | 311 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument 321 if (opid == Py_EQ || opid == Py_NE) { in RichCompare() 337 return PyObject_RichCompare(list.get(), other_list.get(), opid); in RichCompare()
|
D | repeated_scalar_container.cc | 537 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument 538 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 562 return PyObject_RichCompare(list.get(), other, opid); in RichCompare()
|
D | descriptor_containers.cc | 411 static PyObject* RichCompare(PyContainer* self, PyObject* other, int opid) { in RichCompare() argument 412 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 427 if (result ^ (opid == Py_NE)) { in RichCompare()
|
D | message.cc | 2100 static PyObject* RichCompare(CMessage* self, PyObject* other, int opid) { in RichCompare() argument 2102 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 2127 if (equals ^ (opid == Py_EQ)) { in RichCompare()
|
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 326 static PyObject* RichCompare(ExtensionDict* self, PyObject* other, int opid) { in RichCompare() argument 328 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 336 if (equals ^ (opid == Py_EQ)) { in RichCompare()
|
D | repeated_composite_container.cc | 311 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument 321 if (opid == Py_EQ || opid == Py_NE) { in RichCompare() 337 return PyObject_RichCompare(list.get(), other_list.get(), opid); in RichCompare()
|
D | repeated_scalar_container.cc | 537 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument 538 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 562 return PyObject_RichCompare(list.get(), other, opid); in RichCompare()
|
D | descriptor_containers.cc | 411 static PyObject* RichCompare(PyContainer* self, PyObject* other, int opid) { in RichCompare() argument 412 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 427 if (result ^ (opid == Py_NE)) { in RichCompare()
|
D | message.cc | 2099 static PyObject* RichCompare(CMessage* self, PyObject* other, int opid) { in RichCompare() argument 2101 if (opid != Py_EQ && opid != Py_NE) { in RichCompare() 2126 if (equals ^ (opid == Py_EQ)) { in RichCompare()
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 140 .. c:function:: PyObject* PyObject_RichCompare(PyObject *o1, PyObject *o2, int opid) 142 Compare the values of *o1* and *o2* using the operation specified by *opid*, 147 to *opid*. Returns the value of the comparison on success, or ``NULL`` on failure. 150 .. c:function:: int PyObject_RichCompareBool(PyObject *o1, PyObject *o2, int opid) 152 Compare the values of *o1* and *o2* using the operation specified by *opid*, 158 *opid*.
|
/external/python/cpython2/Doc/c-api/ |
D | object.rst | 101 .. c:function:: PyObject* PyObject_RichCompare(PyObject *o1, PyObject *o2, int opid) 103 Compare the values of *o1* and *o2* using the operation specified by *opid*, 108 to *opid*. Returns the value of the comparison on success, or *NULL* on failure. 111 .. c:function:: int PyObject_RichCompareBool(PyObject *o1, PyObject *o2, int opid) 113 Compare the values of *o1* and *o2* using the operation specified by *opid*, 119 *opid*.
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1023 PyObject_RichCompare:int:opid:: 1028 PyObject_RichCompareBool:int:opid::
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1777 PyObject_RichCompare:int:opid:: 1782 PyObject_RichCompareBool:int:opid::
|