Home
last modified time | relevance | path

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

/third_party/python/Doc/includes/
Dtypestruct.h48 Py_ssize_t tp_weaklistoffset; member
/third_party/python/Include/cpython/
Dobjimpl.h139 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
Dobject.h242 Py_ssize_t tp_weaklistoffset; member
/third_party/python/Include/internal/
Dpycore_object.h95 Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset; in _PyObject_GET_WEAKREFS_LISTPTR()
/third_party/python/Objects/
Dtypeobject.c416 offsetof(PyTypeObject, tp_weaklistoffset), READONLY},
1280 if (type->tp_weaklistoffset && !base->tp_weaklistoffset) in subtype_dealloc()
1297 if (type->tp_weaklistoffset && !base->tp_weaklistoffset) { in subtype_dealloc()
2098 if (type->tp_weaklistoffset && base->tp_weaklistoffset == 0 && in extra_ivars()
2099 type->tp_weaklistoffset + sizeof(PyObject *) == t_size && in extra_ivars()
2238 if (type->tp_weaklistoffset == 0) { in subtype_getweakref()
2244 type->tp_weaklistoffset > 0); in subtype_getweakref()
2246 ((type->tp_weaklistoffset + sizeof(PyObject *)) in subtype_getweakref()
2248 weaklistptr = (PyObject **)((char *)obj + type->tp_weaklistoffset); in subtype_getweakref()
2457 may_add_weak = base->tp_weaklistoffset == 0 && base->tp_itemsize == 0; in type_new()
[all …]
Dpicklebufobject.c216 .tp_weaklistoffset = offsetof(PyPickleBufferObject, weakreflist),
Dgenericaliasobject.c631 .tp_weaklistoffset = offsetof(gaobject, weakreflist),
/third_party/python/Doc/c-api/
Dtype.rst240 * :c:member:`~PyTypeObject.tp_weaklistoffset`
Dtypeobj.rst99 …| :c:member:`~PyTypeObject.tp_weaklistoffset` | Py_ssize_t | …
1383 .. c:member:: Py_ssize_t PyTypeObject.tp_weaklistoffset
1400 :c:member:`~PyTypeObject.tp_weaklistoffset`, this should not be a problem.
1405 and setting the :c:member:`~PyTypeObject.tp_weaklistoffset` of that slot's offset.
1410 :c:member:`~PyTypeObject.tp_weaklistoffset`.
1413 :attr:`__weakref__`, the type inherits its :c:member:`~PyTypeObject.tp_weaklistoffset` from its
2500 0, /* tp_weaklistoffset */
2530 .tp_weaklistoffset = offsetof(MyObject, weakreflist),
Dstructures.rst430 :c:member:`~PyTypeObject.tp_weaklistoffset` and
/third_party/python/Python/
Dcontext.c703 .tp_weaklistoffset = offsetof(PyContext, ctx_weakreflist),
Dhamt.c2926 .tp_weaklistoffset = offsetof(PyHamtObject, h_weakreflist),
/third_party/python/Doc/extending/
Dnewtypes.rst563 #. Set the :c:member:`~PyTypeObject.tp_weaklistoffset` type member
580 .tp_weaklistoffset = offsetof(TrivialObject, weakreflist),
/third_party/python/Modules/
D_asynciomodule.c1540 .tp_weaklistoffset = offsetof(FutureObj, fut_weakreflist),
2542 .tp_weaklistoffset = offsetof(TaskObj, task_weakreflist),
D_zoneinfo.c2600 .tp_weaklistoffset = offsetof(PyZoneInfo_ZoneInfo, weakreflist),
/third_party/python/Doc/whatsnew/
D3.9.rst1375 the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`
/third_party/python/Misc/
DNEWS2336 the :c:member:`PyTypeObject.tp_weaklistoffset` member.