Lines Matching refs:dictoffset
1052 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()
1247 if (dictoffset != 0) { in _PyObject_GenericGetAttrWithDict()
1248 if (dictoffset < 0) { in _PyObject_GenericGetAttrWithDict()
1258 dictoffset += (Py_ssize_t)size; in _PyObject_GenericGetAttrWithDict()
1259 assert(dictoffset > 0); in _PyObject_GenericGetAttrWithDict()
1260 assert(dictoffset % SIZEOF_VOID_P == 0); in _PyObject_GenericGetAttrWithDict()
1262 dictptr = (PyObject **) ((char *)obj + dictoffset); in _PyObject_GenericGetAttrWithDict()