/external/python/cpython3/Doc/includes/ |
D | custom.c | 13 .tp_itemsize = 0,
|
D | sublist.c | 35 .tp_itemsize = 0,
|
D | typestruct.h | 4 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
|
D | custom2.c | 102 .tp_itemsize = 0,
|
D | custom3.c | 152 .tp_itemsize = 0,
|
D | custom4.c | 164 .tp_itemsize = 0,
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 4 int tp_basicsize, tp_itemsize; /* For allocation */ member
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 365 {"__itemsize__", T_PYSSIZET, offsetof(PyTypeObject, tp_itemsize), READONLY}, 982 if (type->tp_itemsize == 0) in PyType_GenericAlloc() 2068 if (type->tp_itemsize || base->tp_itemsize) { in extra_ivars() 2071 type->tp_itemsize != base->tp_itemsize; in extra_ivars() 2453 may_add_weak = base->tp_weaklistoffset == 0 && base->tp_itemsize == 0; in type_new() 2476 if (nslots > 0 && base->tp_itemsize != 0) { in type_new() 2743 if (base->tp_itemsize) in type_new() 2750 assert(!base->tp_itemsize); in type_new() 2755 type->tp_itemsize = base->tp_itemsize; in type_new() 2921 type->tp_itemsize = spec->itemsize; in PyType_FromSpecWithBases() [all …]
|
D | exceptions.c | 2745 caught_type->tp_itemsize != _PyExc_BaseException.tp_itemsize) { in _PyErr_TrySetFromCause()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 212 {"__itemsize__", T_PYSSIZET, offsetof(PyTypeObject, tp_itemsize), READONLY}, 793 if (type->tp_itemsize == 0) in PyType_GenericAlloc() 1789 if (type->tp_itemsize || base->tp_itemsize) { in extra_ivars() 1792 type->tp_itemsize != base->tp_itemsize; in extra_ivars() 2191 may_add_weak = base->tp_weaklistoffset == 0 && base->tp_itemsize == 0; in type_new() 2216 if (nslots > 0 && base->tp_itemsize != 0) { in type_new() 2466 if (base->tp_itemsize) in type_new() 2473 assert(!base->tp_itemsize); in type_new() 2478 type->tp_itemsize = base->tp_itemsize; in type_new() 2501 type->tp_itemsize == 0)) in type_new() [all …]
|
D | structseq.c | 502 type->tp_itemsize = 0; in PyStructSequence_InitType()
|
/external/python/cpython3/Doc/c-api/ |
D | allocation.rst | 44 plus *size* fields of the size given by the :c:member:`~PyTypeObject.tp_itemsize` field of
|
D | typeobj.rst | 38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e. 126 Py_ssize_t PyTypeObject.tp_itemsize 131 :c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length instances have a non-zero 132 :c:member:`~PyTypeObject.tp_itemsize` field. For a type with fixed-length instances, all 137 times :c:member:`~PyTypeObject.tp_itemsize`, where N is the "length" of the object. The value of 155 non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is generally not safe to set 156 :c:member:`~PyTypeObject.tp_itemsize` to a different non-zero value in a subtype (though this 161 suppose a type implements an array of ``double``. :c:member:`~PyTypeObject.tp_itemsize` is 822 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset 826 …where :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:… [all …]
|
/external/python/cpython3/Include/ |
D | objimpl.h | 166 (nitems)*(typeobj)->tp_itemsize, \
|
D | object.h | 349 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
|
/external/python/cpython2/Include/ |
D | objimpl.h | 187 (nitems)*(typeobj)->tp_itemsize + \
|
D | object.h | 327 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e. 132 Py_ssize_t PyTypeObject.tp_itemsize 137 :c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length instances have a non-zero 138 :c:member:`~PyTypeObject.tp_itemsize` field. For a type with fixed-length instances, all 143 times :c:member:`~PyTypeObject.tp_itemsize`, where N is the "length" of the object. The value of 162 non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is generally not safe to set 163 :c:member:`~PyTypeObject.tp_itemsize` to a different non-zero value in a subtype (though this 168 suppose a type implements an array of ``double``. :c:member:`~PyTypeObject.tp_itemsize` is 907 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset 911 …where :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:… [all …]
|
D | allocation.rst | 55 plus *size* fields of the size given by the :c:member:`~PyTypeObject.tp_itemsize` field of
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1636 .tp_itemsize = 0, 1752 .tp_itemsize = 0, 1827 .tp_itemsize = 0,
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 94 .tp_itemsize = 0, 134 .tp_itemsize = 0, 137 new :class:`Custom` instances. :c:member:`~PyTypeObject.tp_itemsize` is
|
D | newtypes.rst | 35 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ 39 structures (think: strings, tuples) which is where the :c:member:`~PyTypeObject.tp_itemsize` field
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 899 if (base_class_type->tp_itemsize != 0) { in TFE_Py_InitEagerTensor()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 85 0, /* tp_itemsize */ 158 0, /* tp_itemsize */ 940 int tp_basicsize, tp_itemsize; /* For allocation */ 944 structures (think: strings, lists) which is where the :c:member:`~PyTypeObject.tp_itemsize` field
|
/external/python/cpython3/Python/ |
D | hamt.c | 2618 .tp_itemsize = 0, \
|