Home
last modified time | relevance | path

Searched refs:dictoffset (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Objects/
Dobject.c968 Py_ssize_t dictoffset; in _PyObject_GetDictPtr() local
971 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
972 if (dictoffset == 0) in _PyObject_GetDictPtr()
974 if (dictoffset < 0) { in _PyObject_GetDictPtr()
983 dictoffset += (long)size; in _PyObject_GetDictPtr()
984 assert(dictoffset > 0); in _PyObject_GetDictPtr()
985 assert(dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GetDictPtr()
987 return (PyObject **) ((char *)obj + dictoffset); in _PyObject_GetDictPtr()
1037 Py_ssize_t dictoffset; in _PyObject_GenericGetAttrWithDict() local
1067 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
[all …]
/external/python/cpython2/Objects/
Dobject.c1279 Py_ssize_t dictoffset; in _PyObject_GetDictPtr() local
1284 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1285 if (dictoffset == 0) in _PyObject_GetDictPtr()
1287 if (dictoffset < 0) { in _PyObject_GetDictPtr()
1296 dictoffset += (long)size; in _PyObject_GetDictPtr()
1297 assert(dictoffset > 0); in _PyObject_GetDictPtr()
1298 assert(dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GetDictPtr()
1300 return (PyObject **) ((char *)obj + dictoffset); in _PyObject_GetDictPtr()
1333 Py_ssize_t dictoffset; in _PyObject_GenericGetAttrWithDict() local
1407 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
[all …]
/external/python/cpython2/Tools/gdb/
Dlibpython.py465 dictoffset = int_from_int(typeobj.field('tp_dictoffset'))
466 if dictoffset != 0:
467 if dictoffset < 0:
473 dictoffset += size
474 assert dictoffset > 0
475 assert dictoffset % _sizeof_void_p() == 0
477 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset
/external/python/cpython3/Tools/gdb/
Dlibpython.py491 dictoffset = int_from_int(typeobj.field('tp_dictoffset'))
492 if dictoffset != 0:
493 if dictoffset < 0:
499 dictoffset += size
500 assert dictoffset > 0
501 assert dictoffset % _sizeof_void_p() == 0
503 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst821 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
822 if dictoffset is not aligned on sizeof(void*):
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst922 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
923 if dictoffset is not aligned on sizeof(void*):