Lines Matching refs:ldict
662 PyObject *tdict, *ldict = NULL, *wr = NULL; in _local_create_dummy() local
673 ldict = PyDict_New(); in _local_create_dummy()
674 if (ldict == NULL) in _local_create_dummy()
679 dummy->localdict = ldict; in _local_create_dummy()
686 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
695 Py_DECREF(ldict); in _local_create_dummy()
696 return ldict; in _local_create_dummy()
699 Py_XDECREF(ldict); in _local_create_dummy()
814 PyObject *tdict, *ldict, *dummy; in _ldict() local
825 ldict = _local_create_dummy(self); in _ldict()
826 if (ldict == NULL) in _ldict()
841 ldict = ((localdummyobject *) dummy)->localdict; in _ldict()
844 return ldict; in _ldict()
850 PyObject *ldict; in local_setattro() local
853 ldict = _ldict(self); in local_setattro()
854 if (ldict == NULL) in local_setattro()
867 return _PyObject_GenericSetAttrWithDict((PyObject *)self, name, v, ldict); in local_setattro()
919 PyObject *ldict, *value; in local_getattro() local
922 ldict = _ldict(self); in local_getattro()
923 if (ldict == NULL) in local_getattro()
928 Py_INCREF(ldict); in local_getattro()
929 return ldict; in local_getattro()
936 return _PyObject_GenericGetAttrWithDict((PyObject *)self, name, ldict); in local_getattro()
939 value = PyDict_GetItem(ldict, name); in local_getattro()
942 return _PyObject_GenericGetAttrWithDict((PyObject *)self, name, ldict); in local_getattro()
964 PyObject *ldict; in _localdummy_destroyed() local
965 ldict = PyDict_GetItem(self->dummies, dummyweakref); in _localdummy_destroyed()
966 if (ldict != NULL) { in _localdummy_destroyed()