Searched refs:PyWeakReference (Results 1 – 12 of 12) sorted by relevance
6 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))10 _PyWeakref_GetWeakrefCount(PyWeakReference *head) in _PyWeakref_GetWeakrefCount()23 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref()31 static PyWeakReference *34 PyWeakReference *result; in new_weakref()36 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()51 clear_weakref(PyWeakReference *self) in clear_weakref()56 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()89 _PyWeakref_ClearRef(PyWeakReference *self) in _PyWeakref_ClearRef()106 clear_weakref((PyWeakReference *) self); in weakref_dealloc()[all …]
676 _PyWeakref_ClearRef((PyWeakReference *) in instance_dealloc()
993 PyWeakReference **list = (PyWeakReference **) \ in subtype_dealloc()
6 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))10 _PyWeakref_GetWeakrefCount(PyWeakReference *head) in _PyWeakref_GetWeakrefCount()23 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref()31 static PyWeakReference *34 PyWeakReference *result; in new_weakref()36 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()51 clear_weakref(PyWeakReference *self) in clear_weakref()56 PyWeakReference **list = GET_WEAKREFS_LISTPTR( in clear_weakref()90 _PyWeakref_ClearRef(PyWeakReference *self) in _PyWeakref_ClearRef()107 clear_weakref((PyWeakReference *) self); in weakref_dealloc()[all …]
666 _PyWeakref_ClearRef((PyWeakReference *) in instance_dealloc()
977 PyWeakReference **list = (PyWeakReference **) \ in subtype_dealloc()
10 typedef struct _PyWeakReference PyWeakReference; typedef37 PyWeakReference *wr_prev;38 PyWeakReference *wr_next;62 PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);64 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);74 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \75 ? ((PyWeakReference *)(ref))->wr_object \
10 typedef struct _PyWeakReference PyWeakReference; typedef37 PyWeakReference *wr_prev;38 PyWeakReference *wr_next;65 PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);67 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);69 #define PyWeakref_GET_OBJECT(ref) (((PyWeakReference *)(ref))->wr_object)
5 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))18 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefcount()39 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefs()44 PyWeakReference *current = *list; in weakref_getweakrefs()
605 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs()621 PyWeakReference **wrlist; in handle_weakrefs()631 wrlist = (PyWeakReference **) in handle_weakrefs()708 wr = (PyWeakReference *)op; in handle_weakrefs()
554 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs()570 PyWeakReference **wrlist; in handle_weakrefs()580 wrlist = (PyWeakReference **) in handle_weakrefs()657 wr = (PyWeakReference *)op; in handle_weakrefs()