Searched refs:tp_basicsize (Results 1 – 25 of 33) sorted by relevance
12
/third_party/python/Include/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
D | object.h | 194 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member 297 ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
|
/third_party/python/Doc/includes/ |
D | custom.c | 13 .tp_basicsize = sizeof(CustomObject),
|
D | typestruct.h | 4 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
|
D | sublist.c | 35 .tp_basicsize = sizeof(SubListObject),
|
D | custom2.c | 102 .tp_basicsize = sizeof(CustomObject),
|
D | custom3.c | 152 .tp_basicsize = sizeof(CustomObject),
|
D | custom4.c | 164 .tp_basicsize = sizeof(CustomObject),
|
/third_party/python/Objects/ |
D | picklebufobject.c | 210 .tp_basicsize = sizeof(PyPickleBufferObject),
|
D | typeobject.c | 448 {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY}, 2218 size_t t_size = type->tp_basicsize; in extra_ivars() 2219 size_t b_size = base->tp_basicsize; in extra_ivars() 2376 <= (size_t)(type->tp_basicsize))); in subtype_getweakref() 2955 Py_ssize_t slotoffset = ctx->base->tp_basicsize; in type_new_descriptors() 2992 type->tp_basicsize = slotoffset; in type_new_descriptors() 3499 type->tp_basicsize = spec->basicsize; in PyType_FromModuleAndSpec() 4613 child->tp_basicsize == parent->tp_basicsize && in compatible_with_tp_base() 4631 size = base->tp_basicsize; in same_slots_added() 4649 return size == a->tp_basicsize && size == b->tp_basicsize; in same_slots_added() [all …]
|
D | unionobject.c | 453 .tp_basicsize = sizeof(unionobject),
|
D | methodobject.c | 376 .tp_basicsize = sizeof(PyCMethodObject),
|
D | structseq.c | 486 type->tp_basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in _PyStructSequence_InitType()
|
D | genericaliasobject.c | 639 .tp_basicsize = sizeof(gaobject),
|
D | exceptions.c | 2956 caught_type_size = caught_type->tp_basicsize; in _PyErr_TrySetFromCause() 2957 base_exc_size = _PyExc_BaseException.tp_basicsize; in _PyErr_TrySetFromCause()
|
/third_party/python/Doc/c-api/ |
D | allocation.rst | 35 the memory allocation is determined from the :c:member:`~PyTypeObject.tp_basicsize` field of
|
D | typeobj.rst | 46 …| :c:member:`~PyTypeObject.tp_basicsize` | Py_ssize_t | … 602 .. c:member:: Py_ssize_t PyTypeObject.tp_basicsize 610 instances have the same size, given in :c:member:`~PyTypeObject.tp_basicsize`. 613 :attr:`ob_size` field, and the instance size is :c:member:`~PyTypeObject.tp_basicsize` plus N 627 way to get an initializer for the :c:member:`~PyTypeObject.tp_basicsize` is to use the 632 this should be taken care of by the value of :c:member:`~PyTypeObject.tp_basicsize`. Example: 635 :c:member:`~PyTypeObject.tp_basicsize` is a multiple of ``sizeof(double)`` (assuming this is the 1711 that the :c:member:`~PyTypeObject.tp_basicsize` field should account for the dictionary added to 1720 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset 1724 …where :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:… [all …]
|
D | type.rst | 212 :c:member:`PyTypeObject.tp_basicsize` and
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 708 tp_basicsize: sizeof(struct pymelem), 889 tp_basicsize: sizeof(struct pymixer),
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 94 .tp_basicsize = sizeof(CustomObject), 135 .tp_basicsize = sizeof(CustomObject), 145 :c:member:`~PyTypeObject.tp_basicsize` as its base type, you may have problems with multiple 149 ensuring that your type has a larger value for :c:member:`~PyTypeObject.tp_basicsize` than its
|
D | newtypes.rst | 37 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */
|
/third_party/python/Modules/ |
D | _asynciomodule.c | 1762 .tp_basicsize = sizeof(futureiterobject), 1879 .tp_basicsize = sizeof(TaskStepMethWrapper),
|
D | _zoneinfo.c | 2594 .tp_basicsize = sizeof(PyZoneInfo_ZoneInfo),
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 1156 :c:member:`PyTypeObject.tp_basicsize` member.
|
/third_party/python/Python/ |
D | hamt.c | 2599 .tp_basicsize = sizeof(PyHamtIterator), \
|
12