Home
last modified time | relevance | path

Searched refs:PyWeakref_Check (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Include/
Dweakrefobject.h52 #define PyWeakref_Check(op) \ macro
/external/python/cpython3/Include/
Dweakrefobject.h54 #define PyWeakref_Check(op) \ macro
/external/python/cpython3/Modules/
D_weakref.c42 if (!PyWeakref_Check(value)) { in is_dead_weakref()
Dgcmodule.c770 if (PyWeakref_Check(op)) { in handle_weakrefs()
868 _PyObject_ASSERT(op, PyWeakref_Check(op)); in handle_weakrefs()
/external/python/cpython2/Modules/
D_weakref.c11 if (!PyWeakref_Check(value)) { in is_dead_weakref()
Dgcmodule.c707 assert(PyWeakref_Check(op)); in handle_weakrefs()
/external/python/cpython3/Objects/
Dweakrefobject.c97 assert(PyWeakref_Check(self)); in _PyWeakref_ClearRef()
205 !PyWeakref_Check(self) || in weakref_richcompare()
206 !PyWeakref_Check(other)) { in weakref_richcompare()
947 if (ref == NULL || !PyWeakref_Check(ref)) { in PyWeakref_GetObject()
/external/python/cpython2/Doc/c-api/
Dweakref.rst14 .. c:function:: int PyWeakref_Check(ob)
/external/python/cpython3/Doc/c-api/
Dweakref.rst14 .. c:function:: int PyWeakref_Check(ob)
/external/python/cpython2/Objects/
Dweakrefobject.c96 assert(PyWeakref_Check(self)); in _PyWeakref_ClearRef()
883 if (ref == NULL || !PyWeakref_Check(ref)) { in PyWeakref_GetObject()
/external/python/cpython3/Doc/data/
Drefcounts.dat2924 PyWeakref_Check:int:::
2925 PyWeakref_Check:PyObject*:ob::
/external/python/pybind11/include/pybind11/
Dpytypes.h1164 PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) in PYBIND11_OBJECT_DEFAULT() argument