Home
last modified time | relevance | path

Searched refs:ldict (Results 1 – 14 of 14) 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.c693 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()
[all …]
/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/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/python/pycparser/pycparser/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/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/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/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/cffi/c/
Drealize_c_type.c85 PyObject *ldict = PyDict_New(); in init_builder_c() local
86 if (ldict == NULL) in init_builder_c()
94 builder->types_dict = ldict; in init_builder_c()
/external/selinux/python/semanage/
Dseobject.py762 ldict = self.get_all_logins()
763 lkeys = sorted(ldict.keys())
778 u = ldict[k]