Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dobject.c1032 Py_ssize_t dictoffset; in _PyObject_GetDictPtr() local
1035 dictoffset = tp->tp_dictoffset; in _PyObject_GetDictPtr()
1036 if (dictoffset == 0) in _PyObject_GetDictPtr()
1038 if (dictoffset < 0) { in _PyObject_GetDictPtr()
1045 dictoffset += (long)size; in _PyObject_GetDictPtr()
1046 _PyObject_ASSERT(obj, dictoffset > 0); in _PyObject_GetDictPtr()
1047 _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GetDictPtr()
1049 return (PyObject **) ((char *)obj + dictoffset); in _PyObject_GetDictPtr()
1178 Py_ssize_t dictoffset; in _PyObject_GenericGetAttrWithDict() local
1212 dictoffset = tp->tp_dictoffset; in _PyObject_GenericGetAttrWithDict()
[all …]
Dtypeobject.c2883 Py_ssize_t nmembers, weaklistoffset, dictoffset, vectorcalloffset; in PyType_FromModuleAndSpec() local
2886 nmembers = weaklistoffset = dictoffset = vectorcalloffset = 0; in PyType_FromModuleAndSpec()
2902 dictoffset = memb->offset; in PyType_FromModuleAndSpec()
3063 if (dictoffset) { in PyType_FromModuleAndSpec()
3064 type->tp_dictoffset = dictoffset; in PyType_FromModuleAndSpec()
/third_party/python/Tools/gdb/
Dlibpython.py499 dictoffset = int_from_int(typeobj.field('tp_dictoffset'))
500 if dictoffset != 0:
501 if dictoffset < 0:
507 dictoffset += size
508 assert dictoffset > 0
509 assert dictoffset % _sizeof_void_p() == 0
511 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset
/third_party/python/Doc/c-api/
Dtypeobj.rst1616 dictoffset = tp_basicsize + abs(ob_size)*tp_itemsize + tp_dictoffset
1617 if dictoffset is not aligned on sizeof(void*):