• Home
  • Raw
  • Download

Lines Matching refs:PyWeakref_GET_OBJECT

133         PyObject *object = PyWeakref_GET_OBJECT(self);  in weakref_call()
146 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
150 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
159 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()
164 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()
174 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
175 PyWeakref_GET_OBJECT(self), in weakref_repr()
182 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
183 PyWeakref_GET_OBJECT(self)); in weakref_repr()
201 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
202 || PyWeakref_GET_OBJECT(other) == Py_None) { in weakref_richcompare()
211 return PyObject_RichCompare(PyWeakref_GET_OBJECT(self), in weakref_richcompare()
212 PyWeakref_GET_OBJECT(other), op); in weakref_richcompare()
394 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
411 o = PyWeakref_GET_OBJECT(o); \
418 o = PyWeakref_GET_OBJECT(o); \
469 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
470 PyWeakref_GET_OBJECT(proxy)); in WRAP_BINARY()
480 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
531 PyObject *o = PyWeakref_GET_OBJECT(proxy); in WRAP_BINARY()
553 return PySequence_GetSlice(PyWeakref_GET_OBJECT(proxy), i, j); in proxy_slice()
561 return PySequence_SetSlice(PyWeakref_GET_OBJECT(proxy), i, j, value); in proxy_ass_slice()
569 return PySequence_Contains(PyWeakref_GET_OBJECT(proxy), value); in proxy_contains()
580 return PyObject_Length(PyWeakref_GET_OBJECT(proxy)); in proxy_length()
592 return PyObject_DelItem(PyWeakref_GET_OBJECT(proxy), key); in WRAP_BINARY()
594 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
604 return PyObject_GetIter(PyWeakref_GET_OBJECT(proxy)); in proxy_iter()
612 return PyIter_Next(PyWeakref_GET_OBJECT(proxy)); in proxy_iternext()
885 return PyWeakref_GET_OBJECT(ref); in PyWeakref_GetObject()