Home
last modified time | relevance | path

Searched refs:wr_object (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Include/
Dweakrefobject.h22 PyObject *wr_object; member
74 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \
75 ? ((PyWeakReference *)(ref))->wr_object \
/external/python/cpython3/Include/
Dweakrefobject.h23 PyObject *wr_object; member
78 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \
79 ? ((PyWeakReference *)(ref))->wr_object \
/external/python/cpython2/Objects/
Dweakrefobject.c26 self->wr_object = ob; in init_weakref()
57 if (self->wr_object != Py_None) { in clear_weakref()
58 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()
65 self->wr_object = Py_None; in clear_weakref()
/external/python/cpython3/Objects/
Dweakrefobject.c26 self->wr_object = ob; in init_weakref()
57 if (self->wr_object != Py_None) { in clear_weakref()
58 PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object); in clear_weakref()
65 self->wr_object = Py_None; in clear_weakref()
/external/python/cpython2/Modules/
Dgcmodule.c645 assert(wr->wr_object == op); in handle_weakrefs()
647 assert(wr->wr_object == Py_None); in handle_weakrefs()
/external/python/cpython3/Modules/
Dgcmodule.c541 assert(wr->wr_object == op); in handle_weakrefs()
543 assert(wr->wr_object == Py_None); in handle_weakrefs()