Home
last modified time | relevance | path

Searched refs:PyWeakReference (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Objects/
Dweakrefobject.c7 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
11 _PyWeakref_GetWeakrefCount(PyWeakReference *head) in _PyWeakref_GetWeakrefCount()
24 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref()
34 static PyWeakReference *
37 PyWeakReference *result; in new_weakref()
39 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()
54 clear_weakref(PyWeakReference *self) in clear_weakref()
59 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()
92 _PyWeakref_ClearRef(PyWeakReference *self) in _PyWeakref_ClearRef()
109 clear_weakref((PyWeakReference *) self); in weakref_dealloc()
[all …]
Dtypeobject.c1414 PyWeakReference **list = (PyWeakReference **) \ in subtype_dealloc()
/third_party/python/Include/
Dweakrefobject.h10 typedef struct _PyWeakReference PyWeakReference; typedef
38 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 \
/third_party/python/Modules/
D_weakref.c6 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
29 PyWeakReference **list; in _weakref_getweakrefcount_impl()
89 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in weakref_getweakrefs()
94 PyWeakReference *current = *list; in weakref_getweakrefs()
Dgcmodule.c762 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs()
778 PyWeakReference **wrlist; in handle_weakrefs()
795 _PyWeakref_ClearRef((PyWeakReference *)op); in handle_weakrefs()
802 wrlist = (PyWeakReference **) in handle_weakrefs()
882 wr = (PyWeakReference *)op; in handle_weakrefs()
/third_party/python/Doc/data/
Dstable_abi.dat765 type,PyWeakReference,3.2,
/third_party/python/Misc/
Dstable_abi.txt45 struct PyWeakReference