Home
last modified time | relevance | path

Searched refs:PyWeakReference (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Objects/
H A Dweakrefobject.c7 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
11 _PyWeakref_GetWeakrefCount(PyWeakReference *head) in _PyWeakref_GetWeakrefCount()
22 static PyObject *weakref_vectorcall(PyWeakReference *self, PyObject *const *args, size_t nargsf, PyObject *kwnames);
25 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref()
35 static PyWeakReference *
38 PyWeakReference *result; in new_weakref()
40 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()
55 clear_weakref(PyWeakReference *self) in clear_weakref()
60 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()
93 _PyWeakref_ClearRef(PyWeakReference *sel
[all...]
H A Dtypeobject.c1417 PyWeakReference **list = (PyWeakReference **) \ in subtype_dealloc()
/third_party/python/Include/cpython/
H A Dweakrefobject.h5 /* PyWeakReference is the base struct for the Python ReferenceType, ProxyType,
30 PyWeakReference *wr_prev;
31 PyWeakReference *wr_next;
35 PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
37 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);
40 PyWeakReference *ref; in PyWeakref_GET_OBJECT()
43 ref = _Py_CAST(PyWeakReference*, ref_obj); in PyWeakref_GET_OBJECT()
/third_party/python/Modules/
H A D_weakref.c6 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
29 PyWeakReference **list; in _weakref_getweakrefcount_impl()
94 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); in _weakref_getweakrefs()
99 PyWeakReference *current = *list; in _weakref_getweakrefs()
H A Dgcmodule.c758 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs()
774 PyWeakReference **wrlist; in handle_weakrefs()
791 _PyWeakref_ClearRef((PyWeakReference *)op); in handle_weakrefs()
798 wrlist = (PyWeakReference **) in handle_weakrefs()
878 wr = (PyWeakReference *)op; in handle_weakrefs()
/third_party/python/Include/
H A Dweakrefobject.h9 typedef struct _PyWeakReference PyWeakReference; typedef

Completed in 26 milliseconds