Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c1052 Py_ssize_t dictoffset; in _PyObject_GetDictPtr() local
1055 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1056 if (dictoffset == 0) in _PyObject_GetDictPtr()
1058 if (dictoffset < 0) { in _PyObject_GetDictPtr()
1067 dictoffset += (long)size; in _PyObject_GetDictPtr()
1068 assert(dictoffset > 0); in _PyObject_GetDictPtr()
1069 assert(dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GetDictPtr()
1071 return (PyObject **) ((char *)obj + dictoffset); in _PyObject_GetDictPtr()
1212 Py_ssize_t dictoffset; in _PyObject_GenericGetAttrWithDict() local
1246 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
[all …]
/external/python/cpython2/Objects/
Dobject.c1284 Py_ssize_t dictoffset; in _PyObject_GetDictPtr() local
1289 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1290 if (dictoffset == 0) in _PyObject_GetDictPtr()
1292 if (dictoffset < 0) { in _PyObject_GetDictPtr()
1301 dictoffset += (long)size; in _PyObject_GetDictPtr()
1302 assert(dictoffset > 0); in _PyObject_GetDictPtr()
1303 assert(dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GetDictPtr()
1305 return (PyObject **) ((char *)obj + dictoffset); in _PyObject_GetDictPtr()
1338 Py_ssize_t dictoffset; in _PyObject_GenericGetAttrWithDict() local
1412 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
[all …]
/external/python/cpython2/Tools/gdb/
Dlibpython.py469 dictoffset = int_from_int(typeobj.field('tp_dictoffset'))
470 if dictoffset != 0:
471 if dictoffset < 0:
477 dictoffset += size
478 assert dictoffset > 0
479 assert dictoffset % _sizeof_void_p() == 0
481 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset
/external/python/cpython3/Tools/gdb/
Dlibpython.py497 dictoffset = int_from_int(typeobj.field('tp_dictoffset'))
498 if dictoffset != 0:
499 if dictoffset < 0:
505 dictoffset += size
506 assert dictoffset > 0
507 assert dictoffset % _sizeof_void_p() == 0
509 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst822 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
823 if dictoffset is not aligned on sizeof(void*):
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst907 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
908 if dictoffset is not aligned on sizeof(void*):