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.c662 PyObject *tdict, *ldict = NULL, *wr = NULL; in _local_create_dummy() local
673 ldict = PyDict_New(); in _local_create_dummy()
674 if (ldict == NULL) in _local_create_dummy()
679 dummy->localdict = ldict; in _local_create_dummy()
686 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy()
695 Py_DECREF(ldict); in _local_create_dummy()
696 return ldict; in _local_create_dummy()
699 Py_XDECREF(ldict); in _local_create_dummy()
814 PyObject *tdict, *ldict, *dummy; in _ldict() local
825 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)
559 def __init__(self, ldict, log=None, reflags=0): argument
560 self.ldict = ldict
585 tokens = self.ldict.get('tokens', None)
[all …]
Dyacc.py2885 ldict = f.f_globals.copy()
2887 ldict.update(f.f_locals)
2888 return ldict
/external/libmojo/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/selinux/python/sepolgen/src/sepolgen/
Dlex.py428 def _form_master_re(relist,reflags,ldict): argument
437 handle = ldict.get(f,None)
453 llist, lre = _form_master_re(relist[:m],reflags,ldict)
454 rlist, rre = _form_master_re(relist[m:],reflags,ldict)
489 ldict = None
506 ldict = module.__dict__
509 ldict = { }
511 ldict[i] = v
524 ldict = f.f_globals # Grab its globals dictionary
528 lexobj.readtab(lextab,ldict)
[all …]
Dyacc.py1978 ldict = module.__dict__
1981 ldict = { }
1983 ldict[i[0]] = i[1]
1997 ldict = f.f_globals # Grab its globals dictionary
2001 start = ldict.get("start",None)
2020 m.func = ldict[p[2]]
2028 tokens = ldict.get("tokens",None)
2036 requires = ldict.get("require",None)
2067 prec = ldict.get("precedence",None)
2079 ef = ldict.get('p_error',None)
[all …]
/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.py758 ldict = self.get_all_logins()
759 lkeys = sorted(ldict.keys())
774 u = ldict[k]