Home
last modified time | relevance | path

Searched refs:PyWeakref_GET_OBJECT (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Objects/
Dweakrefobject.c133 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()
146 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
150 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
159 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()
164 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()
174 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
175 PyWeakref_GET_OBJECT(self), in weakref_repr()
182 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
183 PyWeakref_GET_OBJECT(self)); in weakref_repr()
201 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
[all …]
Dtypeobject.c107 ref = PyWeakref_GET_OBJECT(ref); in PyType_Modified()
414 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in mro_subclasses()
2744 ref = PyWeakref_GET_OBJECT(ref); in type_subclasses()
4272 if (PyWeakref_GET_OBJECT(ref) == Py_None)
4295 if (PyWeakref_GET_OBJECT(ref) == (PyObject*)type) {
6455 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref);
/external/python/cpython2/Include/
Dweakrefobject.h73 #define PyWeakref_GET_OBJECT(ref) \ macro
/external/python/cpython2/Doc/c-api/
Dweakref.rst78 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
/external/python/cpython2/Modules/
Dthreadmodule.c577 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
/external/python/cpython2/Doc/data/
Drefcounts.dat1714 PyWeakref_GET_OBJECT:PyObject*::0:
1715 PyWeakref_GET_OBJECT:PyObject*:ref:0:
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c288 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()