Searched refs:globals (Results 1 - 25 of 141) sorted by relevance

123456

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A D__init__.py22 __import__("",globals(),locals(),[t],level=1)
23 mod = globals()[t]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A D__init__.py22 __import__("",globals(),locals(),[t],level=1)
23 mod = globals()[t]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
H A Dicopen.py45 _builtin_open = globals().get('_builtin_open', __builtin__.open)
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/
H A Deval.h13 PyObject *globals,
H A Dimport.h19 PyObject *globals, PyObject *locals, PyObject *fromlist, int level);
/prebuilts/python/linux-x86/2.7.5/include/python2.7/
H A Deval.h13 PyObject *globals,
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_execfile.py19 power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
27 globals = results.get("globals")
48 if globals is not None:
49 args.extend([Comma(), globals.clone()])
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_execfile.py19 power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
27 globals = results.get("globals")
48 if globals is not None:
49 args.extend([Comma(), globals.clone()])
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/hotshot/
H A D__init__.py53 The globals from the __main__ module are used as both the
54 globals and locals for the script.
60 def runctx(self, cmd, globals, locals):
67 self._prof.runcode(code, globals, locals)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/hotshot/
H A D__init__.py53 The globals from the __main__ module are used as both the
54 globals and locals for the script.
60 def runctx(self, cmd, globals, locals):
67 self._prof.runcode(code, globals, locals)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A DcProfile.py39 def runctx(statement, globals, locals, filename=None, sort=-1):
40 """Run statement under profiler, supplying your own globals and locals,
49 prof = prof.runctx(statement, globals, locals)
137 def runctx(self, cmd, globals, locals):
140 exec cmd in globals, locals
H A Dwarnings.py188 globals = sys.__dict__
191 globals = caller.f_globals
193 if '__name__' in globals:
194 module = globals['__name__']
197 filename = globals.get('__file__')
211 registry = globals.setdefault("__warningregistry__", {})
213 globals)
H A Dbdb.py389 def run(self, cmd, globals=None, locals=None):
390 if globals is None:
392 globals = __main__.__dict__
394 locals = globals
400 exec cmd in globals, locals
407 def runeval(self, expr, globals=None, locals=None):
408 if globals is None:
410 globals = __main__.__dict__
412 locals = globals
418 return eval(expr, globals, local
[all...]
H A Dimputil.py86 def _import_hook(self, fqname, globals=None, locals=None, fromlist=None):
92 parent = self._determine_import_context(globals)
149 def _determine_import_context(self, globals):
158 if not globals or not globals.get('__importer__'):
159 # globals does not refer to one of our modules or packages. That
164 # The globals refer to a module or package of ours. It will define
166 parent_fqname = globals['__name__']
170 if globals['__ispkg__']:
172 assert globals i
[all...]
H A Dhashlib.py139 globals()[__func_name] = __get_hash(__func_name)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
H A Dtoken.py70 for _name, _value in globals().items():
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dinspect_fodder2.py54 globals()["anonymous"] = func
H A Dtest_profile.py25 prof.runctx("testfunc()", globals(), locals())
55 prof.runctx(stmt, globals(), locals())
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A DcProfile.py39 def runctx(statement, globals, locals, filename=None, sort=-1):
40 """Run statement under profiler, supplying your own globals and locals,
49 prof = prof.runctx(statement, globals, locals)
137 def runctx(self, cmd, globals, locals):
140 exec cmd in globals, locals
H A Dwarnings.py188 globals = sys.__dict__
191 globals = caller.f_globals
193 if '__name__' in globals:
194 module = globals['__name__']
197 filename = globals.get('__file__')
211 registry = globals.setdefault("__warningregistry__", {})
213 globals)
H A Dbdb.py389 def run(self, cmd, globals=None, locals=None):
390 if globals is None:
392 globals = __main__.__dict__
394 locals = globals
400 exec cmd in globals, locals
407 def runeval(self, expr, globals=None, locals=None):
408 if globals is None:
410 globals = __main__.__dict__
412 locals = globals
418 return eval(expr, globals, local
[all...]
H A Dimputil.py86 def _import_hook(self, fqname, globals=None, locals=None, fromlist=None):
92 parent = self._determine_import_context(globals)
149 def _determine_import_context(self, globals):
158 if not globals or not globals.get('__importer__'):
159 # globals does not refer to one of our modules or packages. That
164 # The globals refer to a module or package of ours. It will define
166 parent_fqname = globals['__name__']
170 if globals['__ispkg__']:
172 assert globals i
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
H A Dtoken.py70 for _name, _value in globals().items():
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dinspect_fodder2.py54 globals()["anonymous"] = func
H A Dtest_profile.py25 prof.runctx("testfunc()", globals(), locals())
55 prof.runctx(stmt, globals(), locals())

Completed in 461 milliseconds

123456