Lines Matching refs:ldict
724 PyObject *ldict = NULL, *wr = NULL; in _local_create_dummy() local
735 ldict = PyDict_New(); in _local_create_dummy()
736 if (ldict == NULL) { in _local_create_dummy()
743 dummy->localdict = ldict; in _local_create_dummy()
751 int r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
762 Py_DECREF(ldict); in _local_create_dummy()
763 return ldict; in _local_create_dummy()
766 Py_XDECREF(ldict); in _local_create_dummy()
902 PyObject *ldict; in _ldict() local
908 ldict = _local_create_dummy(self, state); in _ldict()
909 if (ldict == NULL) in _ldict()
924 ldict = ((localdummyobject *) dummy)->localdict; in _ldict()
927 return ldict; in _ldict()
936 PyObject *ldict = _ldict(self, state); in local_setattro() local
937 if (ldict == NULL) { in local_setattro()
957 return _PyObject_GenericSetAttrWithDict((PyObject *)self, name, v, ldict); in local_setattro()
993 PyObject *ldict = _ldict(self, state); in local_getattro() local
994 if (ldict == NULL) in local_getattro()
1004 return Py_NewRef(ldict); in local_getattro()
1013 ldict, 0); in local_getattro()
1017 PyObject *value = PyDict_GetItemWithError(ldict, name); in local_getattro()
1027 (PyObject *)self, name, ldict, 0); in local_getattro()
1044 PyObject *ldict; in _localdummy_destroyed() local
1045 ldict = PyDict_GetItemWithError(self->dummies, dummyweakref); in _localdummy_destroyed()
1046 if (ldict != NULL) { in _localdummy_destroyed()