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()
163 if (PyWeakref_GET_OBJECT(self) == Py_None) in weakref_repr()
166 name = _PyObject_GetAttrId(PyWeakref_GET_OBJECT(self), &PyId___name__); in weakref_repr()
173 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
174 PyWeakref_GET_OBJECT(self)); in weakref_repr()
180 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
181 PyWeakref_GET_OBJECT(self), in weakref_repr()
200 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
201 || PyWeakref_GET_OBJECT(other) == Py_None) { in weakref_richcompare()
210 return PyObject_RichCompare(PyWeakref_GET_OBJECT(self), in weakref_richcompare()
211 PyWeakref_GET_OBJECT(other), op); in weakref_richcompare()
398 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
415 o = PyWeakref_GET_OBJECT(o); \
422 o = PyWeakref_GET_OBJECT(o); \
474 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
475 PyWeakref_GET_OBJECT(proxy)); in WRAP_BINARY()
484 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
532 PyObject *o = PyWeakref_GET_OBJECT(proxy); in WRAP_BINARY()
554 return PySequence_Contains(PyWeakref_GET_OBJECT(proxy), value); in proxy_contains()
565 return PyObject_Length(PyWeakref_GET_OBJECT(proxy)); in proxy_length()
577 return PyObject_DelItem(PyWeakref_GET_OBJECT(proxy), key); in WRAP_BINARY()
579 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
589 return PyObject_GetIter(PyWeakref_GET_OBJECT(proxy)); in proxy_iter()
597 return PyIter_Next(PyWeakref_GET_OBJECT(proxy)); in proxy_iternext()
863 return PyWeakref_GET_OBJECT(ref); in PyWeakref_GetObject()