Searched refs:PyWeakReference (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Objects/ |
D | weakrefobject.c | 38 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o)) 50 PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj); in _PyWeakref_GetWeakrefCount() 62 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref() 79 clear_weakref_lock_held(PyWeakReference *self, PyObject **callback) in clear_weakref_lock_held() 82 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref_lock_held() 107 clear_weakref(PyWeakReference *self) in clear_weakref() 131 _PyWeakref_ClearRef(PyWeakReference *self) in _PyWeakref_ClearRef() 142 clear_weakref((PyWeakReference *) self); in weakref_dealloc() 148 gc_traverse(PyWeakReference *self, visitproc visit, void *arg) in gc_traverse() 156 gc_clear(PyWeakReference *self) in gc_clear() [all …]
|
/external/python/cpython3/Include/cpython/ |
D | weakrefobject.h | 30 PyWeakReference *wr_prev; 31 PyWeakReference *wr_next; 43 PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self); 47 PyWeakReference *ref; in PyWeakref_GET_OBJECT() 50 ref = _Py_CAST(PyWeakReference*, ref_obj); in PyWeakref_GET_OBJECT()
|
/external/python/cpython3/Include/internal/ |
D | pycore_weakref.h | 61 PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj); in _PyWeakref_GET_REF() 89 PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj); in _PyWeakref_IS_DEAD()
|
D | pycore_object.h | 641 static inline PyWeakReference ** 647 return (PyWeakReference **)((char *)op + offset); in _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET()
|
/external/python/cpython3/Modules/ |
D | _weakref.c | 7 ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o)) 88 PyWeakReference *current = *GET_WEAKREFS_LISTPTR(object); in _weakref_getweakrefs()
|
/external/pytorch/torch/csrc/utils/ |
D | python_compat.h | 38 extern void _PyWeakref_ClearRef(PyWeakReference* self);
|
/external/python/cpython3/Include/ |
D | weakrefobject.h | 9 typedef struct _PyWeakReference PyWeakReference; typedef
|
/external/python/cpython3/Python/ |
D | gc_free_threading.c | 683 _PyWeakref_ClearRef((PyWeakReference *)op); in clear_weakrefs() 692 PyWeakReference **wrlist = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(op); in clear_weakrefs() 697 for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) { in clear_weakrefs() 732 PyWeakReference *wr = (PyWeakReference *)op; in call_weakref_callbacks()
|
D | gc.c | 754 PyWeakReference *wr; /* generally a cast of op */ in handle_weakrefs() 770 PyWeakReference **wrlist; in handle_weakrefs() 787 _PyWeakref_ClearRef((PyWeakReference *)op); in handle_weakrefs() 877 wr = (PyWeakReference *)op; in handle_weakrefs()
|
/external/pytorch/torch/csrc/ |
D | Storage.cpp | 254 PyWeakReference** list = in THPStorage_subclass_dealloc() 255 (PyWeakReference**)PyObject_GET_WEAKREFS_LISTPTR(self); in THPStorage_subclass_dealloc()
|
/external/pytorch/torch/csrc/autograd/ |
D | python_variable.cpp | 1954 PyWeakReference** list = in THPVariable_subclass_dealloc() 1955 (PyWeakReference**)PyObject_GET_WEAKREFS_LISTPTR(self); in THPVariable_subclass_dealloc()
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 816 type,PyWeakReference,3.2,,opaque
|
D | python3.13.abi | 10719 …<typedef-decl name='PyWeakReference' type-id='type-id-548' filepath='./Include/weakrefobject.h' li…
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.11.0a2.rst | 1192 worked since the :c:type:`!PyWeakReference` structure is opaque in the
|
/external/python/cpython3/Misc/ |
D | stable_abi.toml | 136 [struct.PyWeakReference]
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.11.rst | 2677 worked since the :c:type:`!PyWeakReference` structure is opaque in the
|