Lines Matching refs:PyWeakref_GET_OBJECT
135 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()
148 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
152 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
161 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()
166 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()
176 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
177 PyWeakref_GET_OBJECT(self), in weakref_repr()
184 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
185 PyWeakref_GET_OBJECT(self)); in weakref_repr()
203 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
204 || PyWeakref_GET_OBJECT(other) == Py_None) { in weakref_richcompare()
213 return PyObject_RichCompare(PyWeakref_GET_OBJECT(self), in weakref_richcompare()
214 PyWeakref_GET_OBJECT(other), op); in weakref_richcompare()
396 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
413 o = PyWeakref_GET_OBJECT(o); \
420 o = PyWeakref_GET_OBJECT(o); \
471 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
472 PyWeakref_GET_OBJECT(proxy)); in WRAP_BINARY()
482 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
533 PyObject *o = PyWeakref_GET_OBJECT(proxy); in WRAP_BINARY()
555 return PySequence_GetSlice(PyWeakref_GET_OBJECT(proxy), i, j); in proxy_slice()
563 return PySequence_SetSlice(PyWeakref_GET_OBJECT(proxy), i, j, value); in proxy_ass_slice()
571 return PySequence_Contains(PyWeakref_GET_OBJECT(proxy), value); in proxy_contains()
582 return PyObject_Length(PyWeakref_GET_OBJECT(proxy)); in proxy_length()
594 return PyObject_DelItem(PyWeakref_GET_OBJECT(proxy), key); in WRAP_BINARY()
596 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
606 return PyObject_GetIter(PyWeakref_GET_OBJECT(proxy)); in proxy_iter()
614 return PyIter_Next(PyWeakref_GET_OBJECT(proxy)); in proxy_iternext()
887 return PyWeakref_GET_OBJECT(ref); in PyWeakref_GetObject()