Searched defs:imp (Results 1 - 25 of 88) sorted by last modified time

1234

/external/v8/tools/release/
H A Dcommon_includes.py33 import imp namespace
/external/v8/tools/testrunner/local/
H A Dtestsuite.py29 import imp namespace
73 (f, pathname, description) = imp.find_module("testcfg", [root])
74 module = imp.load_module("testcfg", f, pathname, description)
/external/robolectric/v3/runtime/
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
/external/robolectric/v3/
H A Drobolectric-processor-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/robolectric/ org/robolectric/annotation/ ...
/external/r8/tools/benchmarks/
H A Dmain_utils.py5 import imp namespace
13 return imp.load_source('utils', os.path.join(TOOLS_DIR, 'utils.py'))
/external/python/cpython2/Lib/
H A Dcompileall.py17 import imp namespace
88 expect = struct.pack('<4sl', imp.get_magic(), mtime)
H A Dihooks.py6 While the built-in module imp exports interfaces to the built-in
29 the imp module's find_module interface, while HookableModuleLoader
31 use the imp module's load_* interfaces to actually load the module.
57 import imp namespace
67 from imp import C_EXTENSION, PY_SOURCE, PY_COMPILED
68 from imp import C_BUILTIN, PY_FROZEN, PKG_DIRECTORY
108 The interface is a little more convenient than imp's:
130 return imp.find_module(name, [dir])
136 if imp.is_builtin(name):
138 if imp
[all...]
H A Dimputil.py17 import imp ### not available in Jython? namespace
80 for desc in imp.get_suffixes():
81 if desc[2] == imp.C_EXTENSION:
293 module = imp.new_module(fqname)
441 f.write(imp.get_magic())
511 if imp.is_builtin(modname):
512 type = imp.C_BUILTIN
513 elif imp.is_frozen(modname):
514 type = imp.PY_FROZEN
520 module = imp
[all...]
H A Dinspect.py38 import imp namespace
428 imp.get_suffixes())
446 for suffix, mode, kind in imp.get_suffixes():
H A Dmodulefinder.py5 import imp namespace
132 stuff = ("", "r", imp.PY_SOURCE)
139 stuff = (ext, "r", imp.PY_SOURCE)
252 for triple in imp.get_suffixes():
304 if type == imp.PKG_DIRECTORY:
308 if type == imp.PY_SOURCE:
310 elif type == imp.PY_COMPILED:
311 if fp.read(4) != imp.get_magic():
492 return (None, None, ("", "", imp.C_BUILTIN))
495 return imp
[all...]
H A Dpkgutil.py8 import imp namespace
24 if magic != imp.get_magic():
186 file, filename, etc = imp.find_module(subname, path)
246 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
260 if mod_type==imp.PY_SOURCE:
262 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
275 return self.etc[2]==imp.PKG_DIRECTORY
281 if mod_type==imp.PY_SOURCE:
284 elif mod_type==imp
[all...]
H A Dpy_compile.py7 import imp namespace
13 MAGIC = imp.get_magic()
H A Dpyclbr.py43 import imp namespace
138 f, fname, (_s, _m, ty) = imp.find_module(module, path)
140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path)
141 if ty == imp.PKG_DIRECTORY:
144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname])
146 if ty != imp.PY_SOURCE:
H A Dpydoc.py49 # - imp.load_module() cannot be prevented from clobbering existing
56 import sys, imp, os, re, types, inspect, __builtin__, pkgutil, warnings namespace
256 try: module = imp.load_module('__temp__', file, filename, info[1:])
283 magic = imp.get_magic()
286 kind = imp.PY_COMPILED
288 kind = imp.PY_SOURCE
294 module = imp.load_module(name, file, path, (ext, 'r', kind))
391 (object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
H A Drexec.py28 import imp namespace
156 ok_file_types = (imp.C_EXTENSION, imp.PY_SOURCE)
220 src = imp.load_dynamic(name, filename, file)
232 for item in imp.get_suffixes()
H A Drunpy.py13 import imp namespace
16 from imp import get_loader
28 self.module = imp.new_module(mod_name)
196 # as imp.get_importer instead of reimplementing it in Python?
219 importer = imp.NullImporter(path_name)
248 if isinstance(importer, imp.NullImporter):
/external/python/cpython2/Lib/compiler/
H A Dpycodegen.py1 import imp namespace
123 MAGIC = imp.get_magic()
/external/python/cpython2/Lib/ctypes/
H A Dutil.py43 import imp namespace
44 if imp.get_suffixes()[0][0] == '_d.pyd':
/external/python/cpython2/Lib/idlelib/
H A DEditorWindow.py5 import imp namespace
40 """Version of imp.find_module() that handles hierarchical module names"""
46 (file, filename, descr) = imp.find_module(tgt, path)
47 if descr[2] == imp.PY_SOURCE:
49 module = imp.load_module(tgt, file, filename, descr)
54 if descr[2] != imp.PY_SOURCE:
68 descr = filename, None, imp.PY_SOURCE
673 if mtype != imp.PY_SOURCE:
H A DPathBrowser.py3 import imp namespace
80 suffixes = imp.get_suffixes()
H A DTreeWidget.py19 import imp namespace
/external/python/cpython2/Lib/multiprocessing/
H A Dforking.py493 import imp namespace
503 file, path_name, etc = imp.find_module(main_name, dirs)
505 # We would like to do "imp.load_module('__main__', ...)"
508 main_module = imp.load_module(
/external/python/cpython2/Lib/plat-mac/
H A Dbuildtools.py10 import imp namespace
28 MAGIC = imp.get_magic()
H A Dbundlebuilder.py36 import imp, marshal namespace
237 MAGIC = imp.get_magic()
263 import imp, sys, os
270 mod = imp.load_dynamic("%(name)s", path)
730 SUFFIXES = [_suf for _suf, _mode, _tp in imp.get_suffixes()]
738 fp, path, (ext, mode, tp) = imp.find_module(head, searchpath)
742 if tp == imp.PKG_DIRECTORY and path:

Completed in 303 milliseconds

1234