Lines Matching refs:ldict
654 PyObject *tdict, *ldict = NULL, *wr = NULL; in _local_create_dummy() local
665 ldict = PyDict_New(); in _local_create_dummy()
666 if (ldict == NULL) in _local_create_dummy()
671 dummy->localdict = ldict; in _local_create_dummy()
678 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
687 Py_DECREF(ldict); in _local_create_dummy()
688 return ldict; in _local_create_dummy()
691 Py_XDECREF(ldict); in _local_create_dummy()
808 PyObject *tdict, *ldict, *dummy; in _ldict() local
819 ldict = _local_create_dummy(self); in _ldict()
820 if (ldict == NULL) in _ldict()
835 ldict = ((localdummyobject *) dummy)->localdict; in _ldict()
838 return ldict; in _ldict()
844 PyObject *ldict; in local_setattro() local
847 ldict = _ldict(self); in local_setattro()
848 if (ldict == NULL) in local_setattro()
861 return _PyObject_GenericSetAttrWithDict((PyObject *)self, name, v, ldict); in local_setattro()
913 PyObject *ldict, *value; in local_getattro() local
916 ldict = _ldict(self); in local_getattro()
917 if (ldict == NULL) in local_getattro()
922 Py_INCREF(ldict); in local_getattro()
923 return ldict; in local_getattro()
931 (PyObject *)self, name, ldict, 0); in local_getattro()
934 value = PyDict_GetItem(ldict, name); in local_getattro()
938 (PyObject *)self, name, ldict, 0); in local_getattro()
960 PyObject *ldict; in _localdummy_destroyed() local
961 ldict = PyDict_GetItem(self->dummies, dummyweakref); in _localdummy_destroyed()
962 if (ldict != NULL) { in _localdummy_destroyed()