/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | objimpl.h | 5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 22 _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + \
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | objimpl.h | 168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) 186 ( ( (typeobj)->tp_basicsize + \
|
D | object.h | 327 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member 433 ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
|
/aosp_15_r20/external/tensorflow/tensorflow/python/util/ |
H A D | fast_module_type.cc | 48 DCHECK_EQ(PY_MODULE_TYPE_TP_BASIC_SIZE, PyModule_Type.tp_basicsize); in FastModule_init() 236 obj.tp_basicsize = sizeof(FastModuleObject); in __anon529087110102()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | typeobject.c | 211 {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY}, 1785 size_t t_size = type->tp_basicsize; in extra_ivars() 1786 size_t b_size = base->tp_basicsize; in extra_ivars() 1960 (size_t)(Py_TYPE(obj)->tp_basicsize)); in subtype_getweakref() 2450 slotoffset = base->tp_basicsize; in type_new() 2477 type->tp_basicsize = slotoffset; in type_new() 2500 if (!(type->tp_basicsize == sizeof(PyObject) && in type_new() 3138 a->tp_basicsize == b->tp_basicsize && in equiv_structs() 3154 size = base->tp_basicsize; in same_slots_added() 3168 return size == a->tp_basicsize && size == b->tp_basicsize; in same_slots_added() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/ |
H A D | sharded_device_array.cc | 175 type->tp_basicsize = sizeof(ShardedDeviceArrayBaseObject); in RegisterTypes() 201 type->tp_basicsize = sizeof(ShardedDeviceArrayObject); in RegisterTypes()
|
H A D | py_buffer.cc | 505 type->tp_basicsize = sizeof(PyBufferBasePyObject); in RegisterTypes() 531 type->tp_basicsize = sizeof(PyBufferPyObject); in RegisterTypes()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | typeobject.c | 413 {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY}, 2235 size_t t_size = type->tp_basicsize; in extra_ivars() 2236 size_t b_size = base->tp_basicsize; in extra_ivars() 2397 <= (size_t)(type->tp_basicsize))); in subtype_getweakref() 2968 Py_ssize_t slotoffset = ctx->base->tp_basicsize; in type_new_descriptors() 3005 type->tp_basicsize = slotoffset; in type_new_descriptors() 3523 type->tp_basicsize = spec->basicsize; in PyType_FromModuleAndSpec() 4685 child->tp_basicsize == parent->tp_basicsize && in compatible_with_tp_base() 4703 size = base->tp_basicsize; in same_slots_added() 4721 return size == a->tp_basicsize && size == b->tp_basicsize; in same_slots_added() [all …]
|
D | classobject.c | 327 .tp_basicsize = sizeof(PyMethodObject), 531 .tp_basicsize = sizeof(PyInstanceMethodObject),
|
D | picklebufobject.c | 210 .tp_basicsize = sizeof(PyPickleBufferObject),
|
/aosp_15_r20/external/python/cpython3/Doc/includes/ |
D | custom.c | 13 .tp_basicsize = sizeof(CustomObject),
|
D | sublist.c | 35 .tp_basicsize = sizeof(SubListObject),
|
D | typestruct.h | 4 Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ member
|
D | custom2.c | 102 .tp_basicsize = sizeof(CustomObject),
|
D | custom3.c | 152 .tp_basicsize = sizeof(CustomObject),
|
D | custom4.c | 164 .tp_basicsize = sizeof(CustomObject),
|
/aosp_15_r20/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 4 int tp_basicsize, tp_itemsize; /* For allocation */ member
|
/aosp_15_r20/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 131 .. c:member:: Py_ssize_t PyTypeObject.tp_basicsize 139 instances have the same size, given in :c:member:`~PyTypeObject.tp_basicsize`. 142 :attr:`ob_size` field, and the instance size is :c:member:`~PyTypeObject.tp_basicsize` plus N 156 way to get an initializer for the :c:member:`~PyTypeObject.tp_basicsize` is to use the 159 in 2.1 and 2.0, the GC header size was included in :c:member:`~PyTypeObject.tp_basicsize`). 167 this should be taken care of by the value of :c:member:`~PyTypeObject.tp_basicsize`. Example: 170 :c:member:`~PyTypeObject.tp_basicsize` is a multiple of ``sizeof(double)`` (assuming this is the 898 that the :c:member:`~PyTypeObject.tp_basicsize` field should account for the dictionary added to 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 …]
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 46 …| :c:member:`~PyTypeObject.tp_basicsize` | :c:type:`Py_ssize_t` | … 609 .. c:member:: Py_ssize_t PyTypeObject.tp_basicsize 617 instances have the same size, given in :c:member:`~PyTypeObject.tp_basicsize`. 620 :attr:`ob_size` field, and the instance size is :c:member:`~PyTypeObject.tp_basicsize` plus N 634 way to get an initializer for the :c:member:`~PyTypeObject.tp_basicsize` is to use the 639 this should be taken care of by the value of :c:member:`~PyTypeObject.tp_basicsize`. Example: 642 :c:member:`~PyTypeObject.tp_basicsize` is a multiple of ``sizeof(double)`` (assuming this is the 1724 that the :c:member:`~PyTypeObject.tp_basicsize` field should account for the dictionary added to 2504 should be ``tp_basicsize + nitems*tp_itemsize``, rounded up to a multiple of 2506 should be :c:member:`~PyTypeObject.tp_basicsize`. [all …]
|
D | allocation.rst | 35 the memory allocation is determined from the :c:member:`~PyTypeObject.tp_basicsize` field of
|
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/ |
H A D | eval_frame.c | 140 .tp_basicsize = sizeof(THPPyInterpreterFrame), 733 .tp_basicsize = sizeof(THPPyInterpreterFrame),
|