Home
last modified time | relevance | path

Searched refs:tp_dictoffset (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h64 long tp_dictoffset; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h62 Py_ssize_t tp_dictoffset; member
/external/python/cpython3/Objects/
Dtypeobject.c371 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 …]
Dobject.c1055 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1246 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
/external/python/cpython2/Objects/
Dtypeobject.c218 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 …]
Dobject.c1289 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1412 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst515 …: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/
Dtypeobj.rst797 .. 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/
Dobject.h409 Py_ssize_t tp_dictoffset; member
/external/python/cpython2/Include/
Dobject.h387 Py_ssize_t tp_dictoffset; member
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc950 EagerTensorType->tp_dictoffset = offsetof(EagerTensor, dict); in TFE_Py_InitEagerTensor()
/external/python/cpython3/Modules/
D_asynciomodule.c1452 .tp_dictoffset = offsetof(FutureObj, dict),
2426 .tp_dictoffset = offsetof(TaskObj, dict),