Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_sqlite/
Drow.c195 static PyObject* pysqlite_row_richcompare(pysqlite_Row *self, PyObject *_other, int opid) in pysqlite_row_richcompare() argument
197 if (opid != Py_EQ && opid != Py_NE) in pysqlite_row_richcompare()
202 PyObject *res = PyObject_RichCompare(self->description, other->description, opid); in pysqlite_row_richcompare()
203 if ((opid == Py_EQ && res == Py_True) in pysqlite_row_richcompare()
204 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
206 return PyObject_RichCompare(self->data, other->data, opid); in pysqlite_row_richcompare()
/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/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc304 int opid) { in RichCompare() argument
314 if (opid == Py_EQ || opid == Py_NE) { in RichCompare()
330 return PyObject_RichCompare(list.get(), other_list.get(), opid); in RichCompare()
Drepeated_scalar_container.cc564 int opid) { in RichCompare() argument
565 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
590 return PyObject_RichCompare(list.get(), other, opid); in RichCompare()
Ddescriptor_containers.cc419 static PyObject* RichCompare(PyContainer* self, PyObject* other, int opid) { in RichCompare() argument
420 if (opid != Py_EQ && opid != Py_NE) { in RichCompare()
435 if (result ^ (opid == Py_NE)) { in RichCompare()
Dmessage.cc2195 static PyObject* RichCompare(CMessage* self, PyObject* other, int opid) { in CheckAndGetInteger() argument
2197 if (opid != Py_EQ && opid != Py_NE) { in CheckAndGetInteger()
2219 if (equals ^ (opid == Py_EQ)) { in CheckAndGetInteger()
/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/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.dat1742 PyObject_RichCompare:int:opid::
1747 PyObject_RichCompareBool:int:opid::