Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dweakrefobject.c135 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()
148 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
152 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
161 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()
166 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()
176 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
177 PyWeakref_GET_OBJECT(self), in weakref_repr()
184 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
185 PyWeakref_GET_OBJECT(self)); in weakref_repr()
203 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()
2784 ref = PyWeakref_GET_OBJECT(ref); in type_subclasses()
4335 if (PyWeakref_GET_OBJECT(ref) == Py_None)
4358 if (PyWeakref_GET_OBJECT(ref) == (PyObject*)type) {
6520 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref);
/external/python/cpython3/Objects/
Dweakrefobject.c135 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()
148 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()
152 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
163 if (PyWeakref_GET_OBJECT(self) == Py_None) in weakref_repr()
166 name = _PyObject_GetAttrId(PyWeakref_GET_OBJECT(self), &PyId___name__); in weakref_repr()
173 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
174 PyWeakref_GET_OBJECT(self)); in weakref_repr()
180 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
181 PyWeakref_GET_OBJECT(self), in weakref_repr()
200 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
[all …]
Dtypeobject.c266 ref = PyWeakref_GET_OBJECT(ref); in PyType_Modified()
3330 ref = PyWeakref_GET_OBJECT(ref); in type___subclasses___impl()
7357 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in recurse_down_subclasses()
/external/python/cpython2/Include/
Dweakrefobject.h73 #define PyWeakref_GET_OBJECT(ref) \ macro
/external/python/cpython3/Include/
Dweakrefobject.h77 #define PyWeakref_GET_OBJECT(ref) \ macro
/external/python/cpython3/Modules/
D_weakref.c45 return PyWeakref_GET_OBJECT(value) == Py_None; in is_dead_weakref()
D_threadmodule.c951 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
1181 PyObject *obj = PyWeakref_GET_OBJECT(wr); in release_sentinel()
D_abc.c116 set = PyWeakref_GET_OBJECT(setweakref); in _destroy()
/external/python/cpython2/Modules/
D_weakref.c15 return PyWeakref_GET_OBJECT(value) == Py_None; in is_dead_weakref()
Dthreadmodule.c577 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
/external/python/cpython3/Doc/c-api/
Dweakref.rst66 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
/external/python/cpython2/Doc/c-api/
Dweakref.rst78 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
/external/python/cpython3/Modules/_io/
D_iomodule.c565 mod = PyWeakref_GET_OBJECT(state->locale_module); in _PyIO_get_locale_module()
/external/python/cpython2/Doc/data/
Drefcounts.dat1714 PyWeakref_GET_OBJECT:PyObject*::0:
1715 PyWeakref_GET_OBJECT:PyObject*:ref:0:
/external/python/cpython3/Python/
Dimport.c548 PyObject *mod = PyWeakref_GET_OBJECT(PyTuple_GET_ITEM(tup, 1)); in PyImport_Cleanup()
/external/python/cpython3/Doc/data/
Drefcounts.dat2892 PyWeakref_GET_OBJECT:PyObject*::0:
2893 PyWeakref_GET_OBJECT:PyObject*:ref:0:
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c245 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c294 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()