Home
last modified time | relevance | path

Searched refs:opid (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Modules/_sqlite/
Drow.c196 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/
Drow.c190 static PyObject* pysqlite_row_richcompare(pysqlite_Row *self, PyObject *_other, int opid) in pysqlite_row_richcompare() argument
192 if (opid != Py_EQ && opid != Py_NE) in pysqlite_row_richcompare()
202 return PyObject_RichCompare(self->data, other->data, opid); in pysqlite_row_richcompare()
204 return PyBool_FromLong(opid != Py_EQ); in pysqlite_row_richcompare()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc324 static PyObject* RichCompare(ExtensionDict* self, PyObject* other, int opid) { in RichCompare() argument
326 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
334 if (equals ^ (opid == Py_EQ)) { in RichCompare()
Drepeated_composite_container.cc327 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in Subscript() argument
337 if (opid == Py_EQ || opid == Py_NE) { in Subscript()
353 return PyObject_RichCompare(list.get(), other_list.get(), opid); in Subscript()
Drepeated_scalar_container.cc563 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in Subscript() argument
564 if (opid != Py_EQ && opid != Py_NE) { in Subscript()
588 return PyObject_RichCompare(list.get(), other, opid); in Subscript()
Ddescriptor_containers.cc421 static PyObject* RichCompare(PyContainer* self, PyObject* other, int opid) { in RichCompare() argument
422 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
437 if (result ^ (opid == Py_NE)) { in RichCompare()
Dmessage.cc2138 static PyObject* RichCompare(CMessage* self, PyObject* other, int opid) { in RichCompare() argument
2140 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
2163 if (equals ^ (opid == Py_EQ)) { in RichCompare()
/external/python/cpython2/Doc/c-api/
Dobject.rst101 .. 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/cpython3/Doc/c-api/
Dobject.rst139 .. c:function:: PyObject* PyObject_RichCompare(PyObject *o1, PyObject *o2, int opid)
141 Compare the values of *o1* and *o2* using the operation specified by *opid*,
146 to *opid*. Returns the value of the comparison on success, or ``NULL`` on failure.
149 .. c:function:: int PyObject_RichCompareBool(PyObject *o1, PyObject *o2, int opid)
151 Compare the values of *o1* and *o2* using the operation specified by *opid*,
157 *opid*.
/external/python/cpython2/Doc/data/
Drefcounts.dat1023 PyObject_RichCompare:int:opid::
1028 PyObject_RichCompareBool:int:opid::
/external/python/cpython3/Doc/data/
Drefcounts.dat1770 PyObject_RichCompare:int:opid::
1775 PyObject_RichCompareBool:int:opid::