• Home
  • Raw
  • Download

Lines Matching refs:ldict

693     PyObject *tdict, *ldict = NULL, *wr = NULL;  in _local_create_dummy()  local
704 ldict = PyDict_New(); in _local_create_dummy()
705 if (ldict == NULL) in _local_create_dummy()
710 dummy->localdict = ldict; in _local_create_dummy()
717 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
726 Py_DECREF(ldict); in _local_create_dummy()
727 return ldict; in _local_create_dummy()
730 Py_XDECREF(ldict); in _local_create_dummy()
847 PyObject *tdict, *ldict, *dummy; in _ldict() local
861 ldict = _local_create_dummy(self); in _ldict()
862 if (ldict == NULL) in _ldict()
877 ldict = ((localdummyobject *) dummy)->localdict; in _ldict()
880 return ldict; in _ldict()
886 PyObject *ldict; in local_setattro() local
889 ldict = _ldict(self); in local_setattro()
890 if (ldict == NULL) in local_setattro()
903 return _PyObject_GenericSetAttrWithDict((PyObject *)self, name, v, ldict); in local_setattro()
955 PyObject *ldict, *value; in local_getattro() local
958 ldict = _ldict(self); in local_getattro()
959 if (ldict == NULL) in local_getattro()
964 Py_INCREF(ldict); in local_getattro()
965 return ldict; in local_getattro()
973 (PyObject *)self, name, ldict, 0); in local_getattro()
976 value = PyDict_GetItemWithError(ldict, name); in local_getattro()
986 (PyObject *)self, name, ldict, 0); in local_getattro()
1005 PyObject *ldict; in _localdummy_destroyed() local
1006 ldict = PyDict_GetItemWithError(self->dummies, dummyweakref); in _localdummy_destroyed()
1007 if (ldict != NULL) { in _localdummy_destroyed()