Lines Matching refs:wr_callback
30 self->wr_callback = callback; in init_weakref()
55 PyObject *callback = self->wr_callback; in clear_weakref()
75 self->wr_callback = NULL; in clear_weakref()
98 callback = self->wr_callback; in _PyWeakref_ClearRef()
99 self->wr_callback = NULL; in _PyWeakref_ClearRef()
101 self->wr_callback = callback; in _PyWeakref_ClearRef()
116 Py_VISIT(self->wr_callback); in gc_traverse()
229 if (head != NULL && head->wr_callback == NULL) { in get_basic_refs()
238 && head->wr_callback == NULL in get_basic_refs()
542 if (self->wr_callback != NULL) in proxy_dealloc()
923 if (*list != NULL && (*list)->wr_callback == NULL) { in PyObject_ClearWeakRefs()
925 if (*list != NULL && (*list)->wr_callback == NULL) in PyObject_ClearWeakRefs()
935 PyObject *callback = current->wr_callback; in PyObject_ClearWeakRefs()
937 current->wr_callback = NULL; in PyObject_ClearWeakRefs()
962 PyTuple_SET_ITEM(tuple, i * 2 + 1, current->wr_callback); in PyObject_ClearWeakRefs()
965 Py_DECREF(current->wr_callback); in PyObject_ClearWeakRefs()
967 current->wr_callback = NULL; in PyObject_ClearWeakRefs()