• Home
  • Raw
  • Download

Lines Matching refs:ldict

284     PyObject *tdict, *ldict = NULL, *wr = NULL;  in _local_create_dummy()  local
295 ldict = PyDict_New(); in _local_create_dummy()
296 if (ldict == NULL) in _local_create_dummy()
301 dummy->localdict = ldict; in _local_create_dummy()
308 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
317 Py_DECREF(ldict); in _local_create_dummy()
318 return ldict; in _local_create_dummy()
321 Py_XDECREF(ldict); in _local_create_dummy()
436 PyObject *tdict, *ldict, *dummy; in _ldict() local
447 ldict = _local_create_dummy(self); in _ldict()
448 if (ldict == NULL) in _ldict()
463 ldict = ((localdummyobject *) dummy)->localdict; in _ldict()
466 return ldict; in _ldict()
472 PyObject *ldict; in local_setattro() local
475 ldict = _ldict(self); in local_setattro()
476 if (ldict == NULL) in local_setattro()
489 return _PyObject_GenericSetAttrWithDict((PyObject *)self, name, v, ldict); in local_setattro()
541 PyObject *ldict, *value; in local_getattro() local
544 ldict = _ldict(self); in local_getattro()
545 if (ldict == NULL) in local_getattro()
550 Py_INCREF(ldict); in local_getattro()
551 return ldict; in local_getattro()
558 return _PyObject_GenericGetAttrWithDict((PyObject *)self, name, ldict); in local_getattro()
561 value = PyDict_GetItem(ldict, name); in local_getattro()
564 return _PyObject_GenericGetAttrWithDict((PyObject *)self, name, ldict); in local_getattro()
586 PyObject *ldict; in _localdummy_destroyed() local
587 ldict = PyDict_GetItem(self->dummies, dummyweakref); in _localdummy_destroyed()
588 if (ldict != NULL) { in _localdummy_destroyed()