Searched refs:PyWeakReference (Results 1 – 11 of 11) 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()33 static PyWeakReference *36 PyWeakReference *result; in new_weakref()38 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()53 clear_weakref(PyWeakReference *self) in clear_weakref()58 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()91 _PyWeakref_ClearRef(PyWeakReference *self) in _PyWeakref_ClearRef()108 clear_weakref((PyWeakReference *) self); in weakref_dealloc()[all …]
675 _PyWeakref_ClearRef((PyWeakReference *) in instance_dealloc()
1013 PyWeakReference **list = (PyWeakReference **) \ in subtype_dealloc()
1219 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; typedef38 PyWeakReference *wr_prev;39 PyWeakReference *wr_next;65 PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);67 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);78 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \79 ? ((PyWeakReference *)(ref))->wr_object \
5 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))28 PyWeakReference **list; in _weakref_getweakrefcount_impl()88 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefs()93 PyWeakReference *current = *list; in weakref_getweakrefs()
501 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs()517 PyWeakReference **wrlist; in handle_weakrefs()527 wrlist = (PyWeakReference **) in handle_weakrefs()604 wr = (PyWeakReference *)op; in handle_weakrefs()
5 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))55 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefcount()76 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefs()81 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()