Searched refs:PyWeakref_GET_OBJECT (Results 1 – 19 of 19) sorted by relevance
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()[all …]
107 ref = PyWeakref_GET_OBJECT(ref); in PyType_Modified()414 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in mro_subclasses()2784 ref = PyWeakref_GET_OBJECT(ref); in type_subclasses()4335 if (PyWeakref_GET_OBJECT(ref) == Py_None)4358 if (PyWeakref_GET_OBJECT(ref) == (PyObject*)type) {6520 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref);
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()[all …]
266 ref = PyWeakref_GET_OBJECT(ref); in PyType_Modified()3330 ref = PyWeakref_GET_OBJECT(ref); in type___subclasses___impl()7357 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in recurse_down_subclasses()
73 #define PyWeakref_GET_OBJECT(ref) \ macro
77 #define PyWeakref_GET_OBJECT(ref) \ macro
45 return PyWeakref_GET_OBJECT(value) == Py_None; in is_dead_weakref()
951 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()1181 PyObject *obj = PyWeakref_GET_OBJECT(wr); in release_sentinel()
116 set = PyWeakref_GET_OBJECT(setweakref); in _destroy()
15 return PyWeakref_GET_OBJECT(value) == Py_None; in is_dead_weakref()
577 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
66 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
78 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
565 mod = PyWeakref_GET_OBJECT(state->locale_module); in _PyIO_get_locale_module()
1714 PyWeakref_GET_OBJECT:PyObject*::0:1715 PyWeakref_GET_OBJECT:PyObject*:ref:0:
548 PyObject *mod = PyWeakref_GET_OBJECT(PyTuple_GET_ITEM(tup, 1)); in PyImport_Cleanup()
2892 PyWeakref_GET_OBJECT:PyObject*::0:2893 PyWeakref_GET_OBJECT:PyObject*:ref:0:
245 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()
294 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()