Searched refs:tp_weaklistoffset (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Include/cpython/ |
D | objimpl.h | 98 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
|
D | object.h | 240 Py_ssize_t tp_weaklistoffset; member
|
/third_party/python/Doc/includes/ |
D | typestruct.h | 50 Py_ssize_t tp_weaklistoffset; member
|
/third_party/python/Include/internal/ |
D | pycore_object.h | 157 Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset; in _PyObject_GET_WEAKREFS_LISTPTR()
|
/third_party/python/Objects/ |
D | typeobject.c | 452 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 …]
|
D | picklebufobject.c | 216 .tp_weaklistoffset = offsetof(PyPickleBufferObject, weakreflist),
|
D | genericaliasobject.c | 650 .tp_weaklistoffset = offsetof(gaobject, weakreflist),
|
/third_party/python/Doc/c-api/ |
D | type.rst | 255 * :c:member:`~PyTypeObject.tp_weaklistoffset`
|
D | typeobj.rst | 99 …| :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),
|
D | structures.rst | 463 :c:member:`~PyTypeObject.tp_weaklistoffset` and
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 580 #. Set the :c:member:`~PyTypeObject.tp_weaklistoffset` type member 597 .tp_weaklistoffset = offsetof(TrivialObject, weakreflist),
|
/third_party/python/Python/ |
D | context.c | 719 .tp_weaklistoffset = offsetof(PyContext, ctx_weakreflist),
|
D | hamt.c | 2907 .tp_weaklistoffset = offsetof(PyHamtObject, h_weakreflist),
|
/third_party/python/Modules/ |
D | _asynciomodule.c | 1543 .tp_weaklistoffset = offsetof(FutureObj, fut_weakreflist), 2500 .tp_weaklistoffset = offsetof(TaskObj, task_weakreflist),
|
D | _zoneinfo.c | 2595 .tp_weaklistoffset = offsetof(PyZoneInfo_ZoneInfo, weakreflist),
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 1179 :c:member:`PyTypeObject.tp_weaklistoffset` member.
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 1382 the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`
|