Searched refs:tp_dictoffset (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 64 long tp_dictoffset; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 62 Py_ssize_t tp_dictoffset; member
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 371 offsetof(PyTypeObject, tp_dictoffset), READONLY}, 1042 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_traverse() 1098 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_clear() 1236 if (type->tp_dictoffset && !base->tp_dictoffset) { in subtype_dealloc() 2077 if (type->tp_dictoffset && base->tp_dictoffset == 0 && in extra_ivars() 2078 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars() 2116 if (type->tp_dictoffset != 0 && in get_builtin_base_with_dict() 2452 may_add_dict = base->tp_dictoffset == 0; in type_new() 2569 tmptype->tp_dictoffset != 0) in type_new() 2744 type->tp_dictoffset = -(long)sizeof(PyObject *); in type_new() [all …]
|
D | object.c | 1055 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr() 1246 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 218 offsetof(PyTypeObject, tp_dictoffset), READONLY}, 853 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_traverse() 909 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_clear() 1030 if (type->tp_dictoffset && !base->tp_dictoffset) { in subtype_dealloc() 1798 if (type->tp_dictoffset && base->tp_dictoffset == 0 && in extra_ivars() 1799 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars() 1835 if (type->tp_dictoffset != 0 && in get_builtin_base_with_dict() 2190 may_add_dict = base->tp_dictoffset == 0; in type_new() 2321 tmptype->tp_dictoffset != 0) in type_new() 2467 type->tp_dictoffset = -(long)sizeof(PyObject *); in type_new() [all …]
|
D | object.c | 1289 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr() 1412 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 515 …:c:member:`~PyTypeObject.tp_dictoffset`, :c:member:`~PyTypeObject.tp_init`, :c:member:`~PyTypeObje… 882 .. c:member:: long PyTypeObject.tp_dictoffset 901 … :c:member:`~PyTypeObject.tp_dictoffset` should be set to ``-4`` to indicate that the dictionary is 905 :c:member:`~PyTypeObject.tp_dictoffset` as follows:: 907 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset 911 …p_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are 920 always found via :c:member:`~PyTypeObject.tp_dictoffset`, this should not be a problem. 924 slot is added to the instance layout and the :c:member:`~PyTypeObject.tp_dictoffset` is set to 928 the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` from its base type.
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 797 .. c:member:: Py_ssize_t PyTypeObject.tp_dictoffset 816 … :c:member:`~PyTypeObject.tp_dictoffset` should be set to ``-4`` to indicate that the dictionary is 820 :c:member:`~PyTypeObject.tp_dictoffset` as follows:: 822 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset 826 …p_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are 835 always found via :c:member:`~PyTypeObject.tp_dictoffset`, this should not be a problem. 839 slot is added to the instance layout and the :c:member:`~PyTypeObject.tp_dictoffset` is set to 843 the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` from its base type.
|
/external/python/cpython3/Include/ |
D | object.h | 409 Py_ssize_t tp_dictoffset; member
|
/external/python/cpython2/Include/ |
D | object.h | 387 Py_ssize_t tp_dictoffset; member
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 950 EagerTensorType->tp_dictoffset = offsetof(EagerTensor, dict); in TFE_Py_InitEagerTensor()
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1452 .tp_dictoffset = offsetof(FutureObj, dict), 2426 .tp_dictoffset = offsetof(TaskObj, dict),
|