Home
last modified time | relevance | path

Searched refs:tp_weaklistoffset (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Include/cpython/
Dobjimpl.h98 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
Dobject.h240 Py_ssize_t tp_weaklistoffset; member
/third_party/python/Doc/includes/
Dtypestruct.h50 Py_ssize_t tp_weaklistoffset; member
/third_party/python/Include/internal/
Dpycore_object.h157 Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset; in _PyObject_GET_WEAKREFS_LISTPTR()
/third_party/python/Objects/
Dtypeobject.c452 offsetof(PyTypeObject, tp_weaklistoffset), READONLY},
1395 if (type->tp_weaklistoffset && !base->tp_weaklistoffset) in subtype_dealloc()
1412 if (type->tp_weaklistoffset && !base->tp_weaklistoffset) { in subtype_dealloc()
2227 if (type->tp_weaklistoffset && base->tp_weaklistoffset == 0 && in extra_ivars()
2228 type->tp_weaklistoffset + sizeof(PyObject *) == t_size && in extra_ivars()
2367 if (type->tp_weaklistoffset == 0) { in subtype_getweakref()
2373 type->tp_weaklistoffset > 0); in subtype_getweakref()
2375 ((type->tp_weaklistoffset + sizeof(PyObject *)) in subtype_getweakref()
2377 weaklistptr = (PyObject **)((char *)obj + type->tp_weaklistoffset); in subtype_getweakref()
2659 type->tp_weaklistoffset != 0) in type_new_slots_bases()
[all …]
Dpicklebufobject.c216 .tp_weaklistoffset = offsetof(PyPickleBufferObject, weakreflist),
Dgenericaliasobject.c650 .tp_weaklistoffset = offsetof(gaobject, weakreflist),
/third_party/python/Doc/c-api/
Dtype.rst255 * :c:member:`~PyTypeObject.tp_weaklistoffset`
Dtypeobj.rst99 …| :c:member:`~PyTypeObject.tp_weaklistoffset` | Py_ssize_t | …
1487 .. c:member:: Py_ssize_t PyTypeObject.tp_weaklistoffset
1504 :c:member:`~PyTypeObject.tp_weaklistoffset`, this should not be a problem.
1509 and setting the :c:member:`~PyTypeObject.tp_weaklistoffset` of that slot's offset.
1514 :c:member:`~PyTypeObject.tp_weaklistoffset`.
1517 :attr:`__weakref__`, the type inherits its :c:member:`~PyTypeObject.tp_weaklistoffset` from its
2632 0, /* tp_weaklistoffset */
2662 .tp_weaklistoffset = offsetof(MyObject, weakreflist),
Dstructures.rst463 :c:member:`~PyTypeObject.tp_weaklistoffset` and
/third_party/python/Doc/extending/
Dnewtypes.rst580 #. Set the :c:member:`~PyTypeObject.tp_weaklistoffset` type member
597 .tp_weaklistoffset = offsetof(TrivialObject, weakreflist),
/third_party/python/Python/
Dcontext.c719 .tp_weaklistoffset = offsetof(PyContext, ctx_weakreflist),
Dhamt.c2907 .tp_weaklistoffset = offsetof(PyHamtObject, h_weakreflist),
/third_party/python/Modules/
D_asynciomodule.c1543 .tp_weaklistoffset = offsetof(FutureObj, fut_weakreflist),
2500 .tp_weaklistoffset = offsetof(TaskObj, task_weakreflist),
D_zoneinfo.c2595 .tp_weaklistoffset = offsetof(PyZoneInfo_ZoneInfo, weakreflist),
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst1179 :c:member:`PyTypeObject.tp_weaklistoffset` member.
/third_party/python/Doc/whatsnew/
D3.9.rst1382 the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`