Searched refs:tp_weaklistoffset (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Doc/includes/ |
D | typestruct.h | 48 Py_ssize_t tp_weaklistoffset; member
|
/third_party/python/Include/cpython/ |
D | objimpl.h | 139 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
|
D | object.h | 242 Py_ssize_t tp_weaklistoffset; member
|
/third_party/python/Include/internal/ |
D | pycore_object.h | 95 Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset; in _PyObject_GET_WEAKREFS_LISTPTR()
|
/third_party/python/Objects/ |
D | typeobject.c | 416 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 …]
|
D | picklebufobject.c | 216 .tp_weaklistoffset = offsetof(PyPickleBufferObject, weakreflist),
|
D | genericaliasobject.c | 631 .tp_weaklistoffset = offsetof(gaobject, weakreflist),
|
/third_party/python/Doc/c-api/ |
D | type.rst | 240 * :c:member:`~PyTypeObject.tp_weaklistoffset`
|
D | typeobj.rst | 99 …| :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),
|
D | structures.rst | 430 :c:member:`~PyTypeObject.tp_weaklistoffset` and
|
/third_party/python/Python/ |
D | context.c | 703 .tp_weaklistoffset = offsetof(PyContext, ctx_weakreflist),
|
D | hamt.c | 2926 .tp_weaklistoffset = offsetof(PyHamtObject, h_weakreflist),
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 563 #. Set the :c:member:`~PyTypeObject.tp_weaklistoffset` type member 580 .tp_weaklistoffset = offsetof(TrivialObject, weakreflist),
|
/third_party/python/Modules/ |
D | _asynciomodule.c | 1540 .tp_weaklistoffset = offsetof(FutureObj, fut_weakreflist), 2542 .tp_weaklistoffset = offsetof(TaskObj, task_weakreflist),
|
D | _zoneinfo.c | 2600 .tp_weaklistoffset = offsetof(PyZoneInfo_ZoneInfo, weakreflist),
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 1375 the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset`
|
/third_party/python/Misc/ |
D | NEWS | 2336 the :c:member:`PyTypeObject.tp_weaklistoffset` member.
|