Home
last modified time | relevance | path

Searched refs:tp_basicsize (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Include/cpython/
Dobjimpl.h5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize )
22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
Dobject.h194 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
297 ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
/third_party/python/Doc/includes/
Dcustom.c13 .tp_basicsize = sizeof(CustomObject),
Dtypestruct.h4 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
Dsublist.c35 .tp_basicsize = sizeof(SubListObject),
Dcustom2.c102 .tp_basicsize = sizeof(CustomObject),
Dcustom3.c152 .tp_basicsize = sizeof(CustomObject),
Dcustom4.c164 .tp_basicsize = sizeof(CustomObject),
/third_party/python/Objects/
Dpicklebufobject.c210 .tp_basicsize = sizeof(PyPickleBufferObject),
Dtypeobject.c448 {"__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 …]
Dunionobject.c453 .tp_basicsize = sizeof(unionobject),
Dmethodobject.c376 .tp_basicsize = sizeof(PyCMethodObject),
Dstructseq.c486 type->tp_basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in _PyStructSequence_InitType()
Dgenericaliasobject.c639 .tp_basicsize = sizeof(gaobject),
Dexceptions.c2956 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/
Dallocation.rst35 the memory allocation is determined from the :c:member:`~PyTypeObject.tp_basicsize` field of
Dtypeobj.rst46 …| :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 …]
Dtype.rst212 :c:member:`PyTypeObject.tp_basicsize` and
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c708 tp_basicsize: sizeof(struct pymelem),
889 tp_basicsize: sizeof(struct pymixer),
/third_party/python/Doc/extending/
Dnewtypes_tutorial.rst94 .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
Dnewtypes.rst37 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */
/third_party/python/Modules/
D_asynciomodule.c1762 .tp_basicsize = sizeof(futureiterobject),
1879 .tp_basicsize = sizeof(TaskStepMethWrapper),
D_zoneinfo.c2594 .tp_basicsize = sizeof(PyZoneInfo_ZoneInfo),
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst1156 :c:member:`PyTypeObject.tp_basicsize` member.
/third_party/python/Python/
Dhamt.c2599 .tp_basicsize = sizeof(PyHamtIterator), \

12