• Home
  • Raw
  • Download

Lines Matching refs:PyWeakReference

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()
112 gc_traverse(PyWeakReference *self, visitproc visit, void *arg) in gc_traverse()
120 gc_clear(PyWeakReference *self) in gc_clear()
128 weakref_call(PyWeakReference *self, PyObject *args, PyObject *kw) in weakref_call()
142 weakref_hash(PyWeakReference *self) in weakref_hash()
156 weakref_repr(PyWeakReference *self) in weakref_repr()
195 weakref_richcompare(PyWeakReference* self, PyWeakReference* other, int op) in weakref_richcompare()
221 get_basic_refs(PyWeakReference *head, in get_basic_refs()
222 PyWeakReference **refp, PyWeakReference **proxyp) in get_basic_refs()
246 insert_after(PyWeakReference *newref, PyWeakReference *prev) in insert_after()
259 insert_head(PyWeakReference *newref, PyWeakReference **list) in insert_head()
261 PyWeakReference *next = *list; in insert_head()
280 PyWeakReference *self = NULL; in weakref___new__()
284 PyWeakReference *ref, *proxy; in weakref___new__()
285 PyWeakReference **list; in weakref___new__()
310 self = (PyWeakReference *) (type->tp_alloc(type, 0)); in weakref___new__()
317 PyWeakReference *prev; in weakref___new__()
350 sizeof(PyWeakReference),
392 proxy_checkref(PyWeakReference *proxy) in proxy_checkref()
409 if (!proxy_checkref((PyWeakReference *)o)) \
416 if (!proxy_checkref((PyWeakReference *)o)) \
464 proxy_repr(PyWeakReference *proxy) in WRAP_BINARY()
476 proxy_setattr(PyWeakReference *proxy, PyObject *name, PyObject *value) in proxy_setattr()
529 proxy_nonzero(PyWeakReference *proxy) in WRAP_BINARY()
538 proxy_dealloc(PyWeakReference *self) in proxy_dealloc()
549 proxy_slice(PyWeakReference *proxy, Py_ssize_t i, Py_ssize_t j) in proxy_slice()
557 proxy_ass_slice(PyWeakReference *proxy, Py_ssize_t i, Py_ssize_t j, PyObject *value) in proxy_ass_slice()
565 proxy_contains(PyWeakReference *proxy, PyObject *value) in proxy_contains()
576 proxy_length(PyWeakReference *proxy) in proxy_length()
586 proxy_setitem(PyWeakReference *proxy, PyObject *key, PyObject *value) in WRAP_BINARY()
600 proxy_iter(PyWeakReference *proxy) in proxy_iter()
608 proxy_iternext(PyWeakReference *proxy) in proxy_iternext()
689 sizeof(PyWeakReference),
724 sizeof(PyWeakReference),
758 PyWeakReference *result = NULL; in PyWeakref_NewRef()
759 PyWeakReference **list; in PyWeakref_NewRef()
760 PyWeakReference *ref, *proxy; in PyWeakref_NewRef()
800 PyWeakReference *prev; in PyWeakref_NewRef()
817 PyWeakReference *result = NULL; in PyWeakref_NewProxy()
818 PyWeakReference **list; in PyWeakref_NewProxy()
819 PyWeakReference *ref, *proxy; in PyWeakref_NewProxy()
844 PyWeakReference *prev; in PyWeakref_NewProxy()
892 handle_callback(PyWeakReference *ref, PyObject *callback) in handle_callback()
911 PyWeakReference **list; in PyObject_ClearWeakRefs()
927 PyWeakReference *current = *list; in PyObject_ClearWeakRefs()
954 PyWeakReference *next = current->wr_next; in PyObject_ClearWeakRefs()
975 handle_callback((PyWeakReference *)item, callback); in PyObject_ClearWeakRefs()