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.c348 offsetof(PyTypeObject, tp_dictoffset), READONLY},
1008 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_traverse()
1064 if (type->tp_dictoffset != base->tp_dictoffset) { in subtype_clear()
1202 if (type->tp_dictoffset && !base->tp_dictoffset) { in subtype_dealloc()
2017 if (type->tp_dictoffset && base->tp_dictoffset == 0 && in extra_ivars()
2018 type->tp_dictoffset + sizeof(PyObject *) == t_size && in extra_ivars()
2056 if (type->tp_dictoffset != 0 && in get_builtin_base_with_dict()
2368 may_add_dict = base->tp_dictoffset == 0; in type_new()
2479 tmptype->tp_dictoffset != 0) in type_new()
2642 type->tp_dictoffset = -(long)sizeof(PyObject *); in type_new()
[all …]
Dobject.c971 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1067 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()
2187 may_add_dict = base->tp_dictoffset == 0; in type_new()
2318 tmptype->tp_dictoffset != 0) in type_new()
2464 type->tp_dictoffset = -(long)sizeof(PyObject *); in type_new()
[all …]
Dobject.c1284 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1407 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…
897 .. c:member:: long PyTypeObject.tp_dictoffset
916 … :c:member:`~PyTypeObject.tp_dictoffset` should be set to ``-4`` to indicate that the dictionary is
920 :c:member:`~PyTypeObject.tp_dictoffset` as follows::
922 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
926 …p_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are
935 always found via :c:member:`~PyTypeObject.tp_dictoffset`, this should not be a problem.
939 slot is added to the instance layout and the :c:member:`~PyTypeObject.tp_dictoffset` is set to
943 the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` from its base type.
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst796 .. c:member:: Py_ssize_t PyTypeObject.tp_dictoffset
815 … :c:member:`~PyTypeObject.tp_dictoffset` should be set to ``-4`` to indicate that the dictionary is
819 :c:member:`~PyTypeObject.tp_dictoffset` as follows::
821 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
825 …p_basicsize`, :c:member:`~PyTypeObject.tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are
834 always found via :c:member:`~PyTypeObject.tp_dictoffset`, this should not be a problem.
838 slot is added to the instance layout and the :c:member:`~PyTypeObject.tp_dictoffset` is set to
842 the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` from its base type.
/external/python/cpython2/Include/
Dobject.h387 Py_ssize_t tp_dictoffset; member
/external/python/cpython3/Include/
Dobject.h409 Py_ssize_t tp_dictoffset; member
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc648 EagerTensorType->tp_dictoffset = 0; in TFE_Py_InitEagerTensor()
/external/python/cpython3/Modules/
D_asynciomodule.c911 .tp_dictoffset = offsetof(FutureObj, dict),
1802 .tp_dictoffset = offsetof(TaskObj, dict),