Lines Matching defs:obj
150 PyObject* obj = PyWeakref_GET_OBJECT(self);
151 if (obj == Py_None) {
155 Py_INCREF(obj);
156 self->hash = PyObject_Hash(obj);
157 Py_DECREF(obj);
166 PyObject* obj = PyWeakref_GET_OBJECT(self);
168 if (obj == Py_None) {
172 Py_INCREF(obj);
173 name = _PyObject_LookupSpecial(obj, &_Py_ID(__name__));
179 obj);
186 obj,
189 Py_DECREF(obj);
216 PyObject* obj = PyWeakref_GET_OBJECT(self);
218 Py_INCREF(obj);
220 PyObject* res = PyObject_RichCompare(obj, other_obj, op);
221 Py_DECREF(obj);
491 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
492 Py_INCREF(obj);
493 int res = PyObject_SetAttr(obj, name, value);
494 Py_DECREF(obj);
573 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
574 Py_INCREF(obj);
575 int res = PySequence_Contains(obj, value);
576 Py_DECREF(obj);
588 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
589 Py_INCREF(obj);
590 Py_ssize_t res = PyObject_Length(obj);
591 Py_DECREF(obj);
603 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
604 Py_INCREF(obj);
607 res = PyObject_DelItem(obj, key);
609 res = PyObject_SetItem(obj, key, value);
611 Py_DECREF(obj);
622 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
623 Py_INCREF(obj);
624 PyObject* res = PyObject_GetIter(obj);
625 Py_DECREF(obj);
635 PyObject *obj = PyWeakref_GET_OBJECT(proxy);
636 if (!PyIter_Check(obj)) {
639 Py_TYPE(obj)->tp_name);
642 Py_INCREF(obj);
643 PyObject* res = PyIter_Next(obj);
644 Py_DECREF(obj);