Home
last modified time | relevance | path

Searched refs:opid (Results 1 – 16 of 16) 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.c214 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/
Dextension_dict.cc326 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()
Drepeated_composite_container.cc311 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()
Drepeated_scalar_container.cc537 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()
Ddescriptor_containers.cc411 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()
Dmessage.cc2100 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/
Dextension_dict.cc326 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()
Drepeated_composite_container.cc311 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()
Drepeated_scalar_container.cc537 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()
Ddescriptor_containers.cc411 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()
Dmessage.cc2099 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/
Dobject.rst140 .. 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/
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/cpython2/Doc/data/
Drefcounts.dat1023 PyObject_RichCompare:int:opid::
1028 PyObject_RichCompareBool:int:opid::
/external/python/cpython3/Doc/data/
Drefcounts.dat1777 PyObject_RichCompare:int:opid::
1782 PyObject_RichCompareBool:int:opid::