Lines Matching refs:PyWeakref_GET_OBJECT

55     if (PyWeakref_GET_OBJECT(self) != Py_None) {  in clear_weakref()
57 PyWeakref_GET_OBJECT(self)); in clear_weakref()
134 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()
147 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
151 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
160 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()
165 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()
175 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
176 PyWeakref_GET_OBJECT(self), in weakref_repr()
194 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
195 || PyWeakref_GET_OBJECT(other) == Py_None) { in weakref_richcompare()
200 return PyObject_RichCompare(PyWeakref_GET_OBJECT(self), in weakref_richcompare()
201 PyWeakref_GET_OBJECT(other), op); in weakref_richcompare()
381 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
398 o = PyWeakref_GET_OBJECT(o); \
405 o = PyWeakref_GET_OBJECT(o); \
456 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
457 PyWeakref_GET_OBJECT(proxy)); in WRAP_BINARY()
467 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
518 PyObject *o = PyWeakref_GET_OBJECT(proxy); in WRAP_BINARY()
540 return PySequence_GetSlice(PyWeakref_GET_OBJECT(proxy), i, j); in proxy_slice()
548 return PySequence_SetSlice(PyWeakref_GET_OBJECT(proxy), i, j, value); in proxy_ass_slice()
556 return PySequence_Contains(PyWeakref_GET_OBJECT(proxy), value); in proxy_contains()
567 return PyObject_Length(PyWeakref_GET_OBJECT(proxy)); in proxy_length()
579 return PyObject_DelItem(PyWeakref_GET_OBJECT(proxy), key); in WRAP_BINARY()
581 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
591 return PyObject_GetIter(PyWeakref_GET_OBJECT(proxy)); in proxy_iter()
599 return PyIter_Next(PyWeakref_GET_OBJECT(proxy)); in proxy_iternext()
872 return PyWeakref_GET_OBJECT(ref); in PyWeakref_GetObject()