Home
last modified time | relevance | path

Searched refs:ldict (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Modules/
Dthreadmodule.c284 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()
[all …]
/external/python/cpython3/Modules/
D_threadmodule.c654 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()
[all …]
/external/ply/ply/ply/
Dlex.py451 ldict = f.f_globals.copy()
453 ldict.update(f.f_locals)
454 return ldict
493 def _form_master_re(relist, reflags, ldict, toknames): argument
505 handle = ldict.get(f, None)
521 llist, lre, lnames = _form_master_re(relist[:m], reflags, ldict, toknames)
522 rlist, rre, rnames = _form_master_re(relist[m:], reflags, ldict, toknames)
558 def __init__(self, ldict, log=None, reflags=0): argument
559 self.ldict = ldict
584 tokens = self.ldict.get('tokens', None)
[all …]
Dyacc.py2887 ldict = f.f_globals.copy()
2889 ldict.update(f.f_locals)
2890 return ldict
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py451 ldict = f.f_globals.copy()
453 ldict.update(f.f_locals)
454 return ldict
493 def _form_master_re(relist, reflags, ldict, toknames): argument
505 handle = ldict.get(f, None)
521 llist, lre, lnames = _form_master_re(relist[:m], reflags, ldict, toknames)
522 rlist, rre, rnames = _form_master_re(relist[m:], reflags, ldict, toknames)
558 def __init__(self, ldict, log=None, reflags=0): argument
559 self.ldict = ldict
584 tokens = self.ldict.get('tokens', None)
[all …]
Dyacc.py2887 ldict = f.f_globals.copy()
2889 ldict.update(f.f_locals)
2890 return ldict
/external/libchrome/third_party/ply/
Dlex.py436 ldict = f.f_globals.copy()
438 ldict.update(f.f_locals)
440 return ldict
482 def _form_master_re(relist,reflags,ldict,toknames): argument
493 handle = ldict.get(f,None)
508 llist, lre, lnames = _form_master_re(relist[:m],reflags,ldict,toknames)
509 rlist, rre, rnames = _form_master_re(relist[m:],reflags,ldict,toknames)
545 def __init__(self,ldict,log=None,reflags=0): argument
546 self.ldict = ldict
575 tokens = self.ldict.get("tokens",None)
[all …]
Dyacc.py2711 ldict = f.f_globals.copy()
2713 ldict.update(f.f_locals)
2715 return ldict
/external/python/cpython3/Lib/idlelib/
Ddebugger.py345 ldict = gdict = None
347 ldict = frame.f_locals
349 if lv and gv and ldict is gdict:
350 ldict = None
352 lv.load_dict(ldict, force, self.pyshell.interp.rpcclt)
/external/python/cpython2/Lib/idlelib/
DDebugger.py340 ldict = gdict = None
342 ldict = frame.f_locals
344 if lv and gv and ldict is gdict:
345 ldict = None
347 lv.load_dict(ldict, force, self.pyshell.interp.rpcclt)
/external/selinux/python/semanage/
Dseobject.py759 ldict = self.get_all_logins()
760 lkeys = sorted(ldict.keys())
775 u = ldict[k]