Home
last modified time | relevance | path

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

12

/aosp_15_r20/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);
/aosp_15_r20/external/python/cpython3/Objects/
Dweakrefobject.c142 return Py_NewRef(PyWeakref_GET_OBJECT(self)); in weakref_vectorcall()
150 PyObject* obj = PyWeakref_GET_OBJECT(self); in weakref_hash()
166 PyObject* obj = PyWeakref_GET_OBJECT(self); in weakref_repr()
178 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
185 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
206 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()
207 || PyWeakref_GET_OBJECT(other) == Py_None) { in weakref_richcompare()
216 PyObject* obj = PyWeakref_GET_OBJECT(self); in weakref_richcompare()
217 PyObject* other_obj = PyWeakref_GET_OBJECT(other); in weakref_richcompare()
395 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
[all …]
Dtypeobject.c313 PyObject *obj = PyWeakref_GET_OBJECT(ref); in PyType_Modified()
4147 PyObject *obj = PyWeakref_GET_OBJECT(ref); // borrowed ref in _PyType_GetSubclasses()
8673 PyObject *obj = PyWeakref_GET_OBJECT(ref); in recurse_down_subclasses()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dweakrefobject.h39 static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { in PyWeakref_GET_OBJECT() function
57 # define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dweakrefobject.h39 static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { in PyWeakref_GET_OBJECT() function
57 # define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dweakrefobject.h39 static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { in PyWeakref_GET_OBJECT() function
57 # define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref)) macro
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dweakrefobject.h39 static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { in PyWeakref_GET_OBJECT() function
57 # define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref)) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dweakrefobject.h39 static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) { in PyWeakref_GET_OBJECT() function
57 # define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref)) macro
/aosp_15_r20/external/python/cpython2/Include/
Dweakrefobject.h73 #define PyWeakref_GET_OBJECT(ref) \ macro
/aosp_15_r20/external/python/cpython3/Modules/
D_weakref.c46 return PyWeakref_GET_OBJECT(value) == Py_None; in is_dead_weakref()
D_threadmodule.c1032 PyObject *obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
1302 PyObject *obj = PyWeakref_GET_OBJECT(wr); in release_sentinel()
D_abc.c153 set = PyWeakref_GET_OBJECT(setweakref); in _destroy()
/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dweakref.rst78 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dweakref.rst67 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/
H A Dweakref_lru_cache.cc98 PyObject* obj = PyWeakref_GET_OBJECT(lhs.weakref.ptr()); in operator ()()
/aosp_15_r20/external/python/cpython2/Doc/data/
Drefcounts.dat1714 PyWeakref_GET_OBJECT:PyObject*::0:
1715 PyWeakref_GET_OBJECT:PyObject*:ref:0:
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat2832 PyWeakref_GET_OBJECT:PyObject*::0:
2833 PyWeakref_GET_OBJECT:PyObject*:ref:0:
/aosp_15_r20/external/python/cpython3/Python/
Dpylifecycle.c1486 PyObject *mod = PyWeakref_GET_OBJECT(PyTuple_GET_ITEM(tup, 1)); in finalize_modules_clear_weaklist()
/aosp_15_r20/external/python/cpython3/Misc/NEWS.d/
D3.11.0a2.rst1191 Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never
/aosp_15_r20/external/webp/swig/
H A Dlibwebp_python_wrap.c2275 pyobj = PyWeakref_GET_OBJECT(pyobj); in SWIG_Python_GetSwigThis()
2296 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); in SWIG_Python_GetSwigThis()
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/
D_ctypes.c261 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dpywrap_tfe_src.cc4085 PyObject* py_context = PyWeakref_GET_OBJECT(global_py_eager_context);

12